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 604579 - Systray icon starts of visible when it shouldn't
Systray icon starts of visible when it shouldn't
Status: RESOLVED NOTGNOME
Product: gnome-power-manager
Classification: Deprecated
Component: gnome-power-manager
unspecified
Other Linux
: Normal minor
: ---
Assigned To: GNOME Power Manager Maintainer(s)
GNOME Power Manager Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2009-12-14 21:23 UTC by Sam Illingworth
Modified: 2012-03-23 16:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot (92.12 KB, image/png)
2009-12-14 21:24 UTC, Sam Illingworth
Details
The bug can be shown even in gnome-panel (104.78 KB, image/png)
2009-12-23 00:01 UTC, Michal Hruby
Details

Description Sam Illingworth 2009-12-14 21:23:19 UTC
I raised this on AWN's bug tracker:

"gnome-power-manager has options to tell it whether to show up in the system tray or not, such as don't show when the battery is fully charged and not being drained. It seems if it is set not to be displayed when AWN (or at least the system tray applet) starts then instead you get a blank space in the system try, as shown in the screenshot (attached). You can get rid of it by telling gnome-power-manager to always display, and then setting it back to whatever hide conditions you want."

They replied with the following:

"Copied from our forum:

> > drc said:
> > Using gnome-panels, this does not happen, the icon stays disabled, which leads me to believe this could be fixable in the notification area plugin.

> Actually, I think that gnome-panel only hides the issue - on gnome-panel they don't use a grid view like we do, instead, they display all the icons in a row (or column depending on orientation), and therefore the icon is shown only as a 1px wide stripe, which looks as if the icon wasn't there (but I'm sure you will find the 1px stripe if you try to)...

> Therefore, I'd say that this is g-p-m's bug."

Can someone confirm this is a bug in gpm?
Comment 1 Sam Illingworth 2009-12-14 21:24:56 UTC
Created attachment 149728 [details]
Screenshot
Comment 2 Sam Illingworth 2009-12-14 21:26:20 UTC
Link to the bug report for AWN:

https://bugs.launchpad.net/awn/+bug/496684
Comment 3 Richard Hughes 2009-12-15 11:32:40 UTC
GPM is using the standard GtkStatusIcon code, which in turn is using the standard system-tray spec: http://www.freedesktop.org/wiki/Specifications/systemtray-spec

It's likely the AWN code isn't following the spec, as g-p-m works in gnome, kde and XFCE without problems.
Comment 4 Michal Hruby 2009-12-23 00:01:02 UTC
Created attachment 150269 [details]
The bug can be shown even in gnome-panel

Awn follows the spec, and this attachment shows that the g-p-m icon is really there even though it's set to not display. (can be also easily checked with `xwininfo -tree`)
Comment 5 Michal Hruby 2009-12-27 18:58:04 UTC
Can someone remove the "Resolved" state? Or should I open new bug about it?
Comment 6 Sam Illingworth 2009-12-28 12:48:29 UTC
Have set status to unconfirmed, can a gnome person confirm this please?  Michal's screenshot shows the bug in gnome-panel.

Perhaps, if GPM is using the standard GtkStatusIcon code, then the bug is actually in GtkStatusIcon?
Comment 7 Joachim Breitner 2011-11-17 17:23:32 UTC
This is is a duplicate of bug 664019 (or the other way around, actually).
Comment 8 Joachim Breitner 2011-11-17 17:27:02 UTC
And here is an older one reporting this: bug 591560