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 671724 - Sliders stopped responding to mouse wheel scroll events
Sliders stopped responding to mouse wheel scroll events
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Sound
3.3.x
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
: 674877 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-03-09 15:21 UTC by Sebastien Bacher
Modified: 2012-06-25 12:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
untested patch (7.16 KB, patch)
2012-03-19 22:11 UTC, Matthias Clasen
committed Details | Review

Description Sebastien Bacher 2012-03-09 15:21:08 UTC
Using g-c-c 3.3.91 and gtk 3.3.18 on ubuntu precise (xserver 1.12 input layer)

The sound capplet sliders stopped responding to mouse wheel scroll events, that's likely because it's handling GDK_SCROLL_UP,DOWN but GTK stopped sending those in favor of _SMOOTH
Comment 1 Matthias Clasen 2012-03-19 22:11:21 UTC
Created attachment 210119 [details] [review]
untested patch

Here is a patch - unfortunately untested, since my control-center build decided to stop talking to pulseaudio :-(
Comment 2 Matthias Clasen 2012-05-16 23:18:38 UTC
We still need this patch. Or actually, we should just make the sound panel use the regular GtkScale again, since they behave the same now, wrt to button events
Comment 3 Matthias Clasen 2012-05-16 23:19:27 UTC
*** Bug 674877 has been marked as a duplicate of this bug. ***
Comment 4 D.S. (Spider) Ljungmark 2012-06-22 07:19:34 UTC
Still an issue on 3.5 branch.
Also, tested the patch and it works for me.
Comment 5 Matthias Clasen 2012-06-22 11:25:55 UTC
the custom sound sliders should just be replaced by straight GtkScale, now that we've changed the interaction there
Comment 6 Bastien Nocera 2012-06-25 12:36:56 UTC
(In reply to comment #5)
> the custom sound sliders should just be replaced by straight GtkScale, now that
> we've changed the interaction there

We're not using any custom widgets, we're doing gtk_scale_new()...
Comment 7 Bastien Nocera 2012-06-25 12:43:49 UTC
Committed after making indentation changes.

commit bb531687ca957072470a5851c499993fe056ea85
Author: Matthias Clasen <mclasen@redhat.com>
Date:   Mon Mar 19 22:11:00 2012 +0000

    sound: Fix mouse scrolls on sliders
    
    Use gdk_event_get_scroll_deltas() to get the scroll direction.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=671724