Update passkey message instead of closing and recreating notification#3252
Update passkey message instead of closing and recreating notification#3252coyotebush wants to merge 1 commit into
Conversation
|
|
I don't think we need a dedicated notification for this. Does 447102b work for you? I tested this on plasma and it works fine there. |
|
I tried that first. The only issue would be that if |
|
I see we don't actually check if the notification daemon supports actions in I assume your notification daemon doesn't support actions. Do you advertise you support actions? edit: Although I'm not sure if we can then use a notification for |
|
The Qubes proxy supports actions and advertises such. And Notification.py would fall back to a dialog otherwise, which I suppose would appear even stranger if reused for a passkey. blueman/blueman/gui/Notification.py Lines 296 to 301 in 9cb3c11 |



Closing and recreating the notification was particularly problematic in the context of the Qubes OS notification proxy not supporting CloseNotification, but even with just xfce4-notifyd or the fallback dialog, it causes flickering. By now the notification code now supports
set_messagefor a better approach. But only update a previous passkey notification and not potentially a notification that hasactions.