After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 594373 - Calendar notifications are not cleared from system tray
Calendar notifications are not cleared from system tray
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
2.28.x (obsolete)
Other Linux
: Normal major
: ---
Assigned To: Milan Crha
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2009-09-07 13:09 UTC by Ruchir Brahmbhatt
Modified: 2013-09-13 01:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
a test patch (1.68 KB, patch)
2009-09-08 13:30 UTC, Milan Crha
none Details | Review
proposed evo patch (2.69 KB, patch)
2009-09-08 14:54 UTC, Milan Crha
committed Details | Review

Description Ruchir Brahmbhatt 2009-09-07 13:09:59 UTC
I noticed that my system tray keeps growing over time and there are no icons in
blank area. There is no action on left or right click. But when I moved mouse
over blank space, I noticed that the space remained from evolution alarm
notifications because when I mouse over, I could see event details in tooltip.
I'll attach screenshot to clarify. Please let me know if I need to report this
to evolution as well.

Initially I believed that this is kde4 bug but it turned out to be evolution bug as when I do evolution --force-shutdown, notifications are cleared. 

Reference: https://bugs.kde.org/show_bug.cgi?id=188801
Comment 1 Milan Crha 2009-09-08 13:29:12 UTC
I cannot reproduce this myself, not sure why, but I was pointed to bug #340110 , which might be the issue, as Evolution is playing with gtk_status_icon_set_visible too.
Comment 2 Milan Crha 2009-09-08 13:30:38 UTC
Created attachment 142698 [details] [review]
a test patch

for evolution;

I do not know whether this will help or not, thus a test patch
Comment 3 Milan Crha 2009-09-08 14:54:43 UTC
Created attachment 142703 [details] [review]
proposed evo patch

for evolution;

I was finally able to reproduce it, it left about 1 pixel on my notification area, which has the tooltip of the appointment. Even I believe it's bug of GtkStatusIcon, because my tests showed that the icon is properly freed, then I'm able to workaround it in the application, by hiding it first. Note that there had been two places where the tray icon had been freed before, and only one of them had the hide-first function call.
Comment 4 Milan Crha 2009-10-05 11:17:01 UTC
Created commit 2db9eff in evo master (2.29.1+)
Created commit 8a1e1b6 in evo gnome-2-28 (2.28.1+)