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 382018 - gtk.StatusIcon features - middle-click, mousewheel, mouseover
gtk.StatusIcon features - middle-click, mousewheel, mouseover
Status: RESOLVED DUPLICATE of bug 409435
Product: gtk+
Classification: Platform
Component: .General
2.10.x
Other All
: Normal enhancement
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2006-12-03 21:28 UTC by Scott Horowitz
Modified: 2007-05-04 19:58 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Scott Horowitz 2006-12-03 21:28:49 UTC
I realize that not all of these features may be possible because of the need for cross-platform compatibility, but these are all things I was using with gnome-python-extra's egg that I would like to be able to retain with the gtk.StatusIcon.

- Ability to connect to a middle-click signal.
- Ability to connect to a mousewheel signal (up or down).
- Ability to connect to a leave/enter signal or a motion signal to detect if the user's mouse is over the icon.

As some example use cases, my media player was using the middle-click to toggle play/pause, the mousewheel to control volume levels, and was displaying a custom window on the icon mouseover that includes things like album art and a progressbar (which obviously can't be put into a tooltip). The latter request can be worked around by frequently polling the user's mouse position and comparing it to the icon's position, but that is hacky and more cpu intensive. The other two requests cannot currently be accommodated even with a workaround, afaik.

Thanks.
Comment 1 James "Doc" Livingston 2006-12-16 13:17:22 UTC
I'd be interesting in having support for 1 and 2 as well.

Regarding the non-portability to some systems (Windows I assume), couldn't it be simply noted in the docs that the signal won't ever be emitted on some platforms?
Comment 2 Ed Catmur 2007-04-29 19:21:47 UTC
This is the same as bug 409435.  This is older, but the other has more state - duplicate?
Comment 3 Murray Cumming 2007-05-04 19:58:29 UTC

*** This bug has been marked as a duplicate of 409435 ***