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 320123 - Mixer applet hides tooltips on mouse scroll
Mixer applet hides tooltips on mouse scroll
Status: RESOLVED FIXED
Product: gnome-applets
Classification: Other
Component: mixer
2.12.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-applets Maintainers
gnome-applets Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-10-28 20:05 UTC by Michael Hofmann
Modified: 2005-12-17 16:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fixes the tooltip behaviour (1.30 KB, patch)
2005-10-28 20:08 UTC, Michael Hofmann
none Details | Review

Description Michael Hofmann 2005-10-28 20:05:54 UTC
Use the mouse wheel over the mixer applet to change the volume. The tooltip
hides, I'm not able to see the current percentage.

This behaviour comes because GTK tooltips tend to hide on various events (mouse
buttons etc.). It would be a nice feature though to see the currently selected
percentage when using the scroll wheel to adjust the volume.
Comment 1 Michael Hofmann 2005-10-28 20:08:32 UTC
Created attachment 54014 [details] [review]
Fixes the tooltip behaviour

This patch fixes the behaviour mentioned above by blocking the event-after
handler on mouse scroll events (which is used to hide the tooltip).

I'm not sure whether there is a better way to do this.
Comment 2 Ronald Bultje 2005-10-28 20:17:38 UTC
I'm not opposed to this approach... Davyd, you ok with such hacks?
Comment 3 Danielle Madeley 2005-10-29 05:08:28 UTC
Yep. Haven't tested it, but the approach seems ok.
Comment 4 Ronald Bultje 2005-12-17 16:57:39 UTC
2005-12-17  Michael Hofmann  <mh21@piware.de>

        Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>

        * applet.c: (gnome_volume_applet_init), (cb_stop_scroll_events):
          Block removal of tooltip on scroll, so that the tooltip will
          continue to be shown when we mouseover the applet and scroll
          to change volume; this allows to view the percentage as you change
          it (#320123).