gnome-shell-notifications-alert icon indicating copy to clipboard operation
gnome-shell-notifications-alert copied to clipboard

Stuck on alert colour

Open jefferyto opened this issue 6 years ago • 3 comments

Hi,

I'm using the latest version from e.g.o. on Ubuntu 17.10 (GNOME Shell 3.26.1) and my clock is frequently stuck on the alert colour. I've set the blink rate to 0 but the issue is still present if the rate is higher (so it actually blinks).

I believe the trigger is, if I receive a notification and the notification is revoked when the screen is locked, then the clock is stuck on the alert colour. Let me know if there is anything more I should add or try.

Thanks!

jefferyto avatar Nov 18 '17 20:11 jefferyto

Hey @jefferyto . Thanks for reporting the issue.

What do you mean by the notification is revoked when the screen is locked? How to you revoke it while the screen is locked?

bellini666 avatar Nov 20 '17 14:11 bellini666

Applications can call g_application_withdraw_notification() to withdraw sent notifications.

There are also notifications with the transient hint set to true, that do not appear in the message tray after it has been shown. (Though transient notifications do seem to be shown after the screen is unlocked instead of disappearing while the screen is locked.)

I've been testing transient notifications (using notify-send) with the screen locked, and it sometimes triggers this issue (but not always). I haven't figured out how to reliably cause notifications to be withdrawn yet.

jefferyto avatar Nov 21 '17 03:11 jefferyto

hrm, didn't know about g_application_withdraw_notification().

One thing to notice is that the gnome-shell disables all extensions on screen lock and re-enables them on unlock.

This shouldn't be an issue for this extension because, when activated, it would check for notifications and "do its thing" correctly. It shouldn't matter whatever happens in the lockscreen. However, since you are having that issue, there may be something happening that I'm not aware of.

bellini666 avatar Nov 21 '17 14:11 bellini666