Bug 991812 - mail-notification system tray icon is messed up
Summary: mail-notification system tray icon is messed up
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: mail-notification
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dmitry Butskoy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-04 15:41 UTC by Jonathan Kamens
Modified: 2015-02-17 16:34 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-17 16:34:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
desktop screenshot with messed up mail-notification system tray icon (510.19 KB, image/png)
2013-08-04 15:41 UTC, Jonathan Kamens
no flags Details

Description Jonathan Kamens 2013-08-04 15:41:49 UTC
Created attachment 782513 [details]
desktop screenshot with messed up mail-notification system tray icon

See attached screen shot. It appears as either a completely blank spot in the system tree, or a white square as shown in the screenshot. The problem is there whether or not there is unread mail, i.e., whether or not mail-notification is currently alerting.

Comment 1 Erik van Pienbroek 2013-08-04 16:17:57 UTC
I'm aware of the issue and I already spent numerous hours trying to get it properly fixed. The main problem is that mail-notification uses a lot of outdated/deprecated API which lack certain modern features. For example the tray icon is drawn using EggTrayIcon, which was the main method to draw tray icons before it got replaced by GtkStatusIcon in GTK 2.10.0 (which was released in 2006). Unfortunately upstream mail-notification didn't switch to using GtkStatusIcon and still uses the old (and broken on modern environments) EggTrayIcon.

I've already tried to rewrite the mail notification code in question but it turned out to very difficult due to the code architecture of mail-notification. The mail-notification code itself is written in a 'language' called gob. Code written in this 'language' can be translated to C by using the gob2 tool but as you can probably guess..nobody uses gob these days and it's hard to maintain.

There are also various issues in mail-notification regarding reference counts which cause random segfaults, but we still haven't been able to pinpoint the exact causes.

Long story short: in my opinion time can better be invested in a complete rewrite of mail-notification than to make it work properly on modern environments.

Comment 2 Jonathan Kamens 2013-08-04 16:19:12 UTC
Yuck. Is there an alternative tool to use in Fedora 19?

Comment 3 Erik van Pienbroek 2013-08-04 16:23:06 UTC
Not really. In Evolution itself there's a mail-notification plugin, but it only shows notifications for the Inbox and no tray icon.

Comment 4 Fedora End Of Life 2015-01-09 19:16:39 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 19 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 5 Fedora End Of Life 2015-02-17 16:34:05 UTC
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.