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 555231 - GtkStatusIcon docs unclear about space allocation for set_visible(false)
GtkStatusIcon docs unclear about space allocation for set_visible(false)
Status: RESOLVED WONTFIX
Product: gtk+
Classification: Platform
Component: Widget: GtkStatusIcon
2.14.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2008-10-06 13:47 UTC by André Klapper
Modified: 2014-08-30 05:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description André Klapper 2008-10-06 13:47:21 UTC
API documentation doesn't state whether an icon should just became invisible or whether its space allocation in the systray should also disappear:
http://library.gnome.org/devel/gtk/2.14/GtkStatusIcon.html#gtk-status-icon-set-visible

See https://bugs.maemo.org/show_bug.cgi?id=3769 for more background.
Comment 1 Matthias Clasen 2008-10-06 19:05:49 UTC
Why do you think the api docs should go into that detail ? 
They are api docs, not specifications for systray behaviour details... 
Comment 2 Christian Dywan 2008-10-06 19:30:23 UTC
I think the point here is the difference of behaviour between a GtkStatusIcon and a GtkWidget. It is only intuitive to expect the same semantics, even if that is practically not the case.

Especially since tray icons depend on platform implementations to some extend I would fine it useful to give a hint about how it works.

Something like "Note that the status icon might not clear its allocation unlike a GtkWidget when hidden" should be sufficient.
Comment 3 Christian Dywan 2008-10-13 11:50:49 UTC
I actually looked a bit around and if my research was any good you actually *can* expect status icons to behave like widgets with regard to size.

If somebody can confirm this I figure the bug can be closed.
Comment 4 Matthias Clasen 2014-08-30 05:20:43 UTC
GtkStatusIcon has been deprecated