[Xfce-bugs] [Bug 14552] Missing Notifications during unmount
bugzilla-daemon at xfce.org
bugzilla-daemon at xfce.org
Fri Aug 24 03:44:51 CEST 2018
https://bugzilla.xfce.org/show_bug.cgi?id=14552
--- Comment #2 from ToZ <tony.paulic at gmail.com> ---
Just had a closer look. Here is what I think is happening:
In thunar-notify.c, thunar_notify_show(), the notification timeout is set to
NOTIFY_EXPIRES_NEVER. And then later in thunar_notify_finish(), the
notification is force closed. The problem, I believe, exists when the eject
action in the system happens quickly. The notification is then shown and closed
in rapid succession.
To test this, I set NOTIFY_EXPIRES_DEFAULT and commented out the force close.
Unfortunately, during an eject, the notification stayed on the screen
indefinitely.
I think the solution may be to program in a minimum time to display a
notification (say 1 second) so that it doesn't disappear quickly in situations
such as above. I'm not sure how to do that though.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Xfce-bugs
mailing list