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 703046 - Volume slider moves into the wrong direction when scrolling
Volume slider moves into the wrong direction when scrolling
Status: RESOLVED OBSOLETE
Product: gnome-control-center
Classification: Core
Component: Sound
3.18.x
Other Linux
: Normal normal
: ---
Assigned To: Control center sound maintainer(s)
Control-Center Maintainers
triaged
: 773507 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-06-25 11:11 UTC by Titus
Modified: 2021-06-09 16:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Invert scroll direction of GvcChannelBar (1.58 KB, patch)
2014-05-08 15:27 UTC, Chris Johns (ter0)
none Details | Review
Invert scroll direction of GvcChannelBar (2.40 KB, patch)
2014-05-08 15:32 UTC, Chris Johns (ter0)
reviewed Details | Review
sound: Invert scroll direction of GvcChannelBar (2.46 KB, patch)
2018-04-04 09:16 UTC, Felipe Borges
none Details | Review

Description Titus 2013-06-25 11:11:31 UTC
Hovering the volume slider in Control Center (Gnome version 3.8.2) and scrolling with mouse/touchpad moves the slider into the opposite direction compared to the volume slider in the gnome-shell-panel.

The slider should be adapted to scroll like the one in gnome-shell.
Comment 1 Chris Johns (ter0) 2014-05-08 15:27:59 UTC
Created attachment 276170 [details] [review]
Invert scroll direction of GvcChannelBar

This patch only inverts the GvcChannelBar, not the balance bar. The patch may apply oddly, as there was a mix of tabs and spaces for indentation in that part of the file, and I wasn't sure whether to fix that in the same patch.
Comment 2 Chris Johns (ter0) 2014-05-08 15:32:22 UTC
Created attachment 276171 [details] [review]
Invert scroll direction of GvcChannelBar

Whoops, attached a completely unrelated patch!
Comment 3 Mario Wenzel 2014-10-03 10:51:39 UTC
I can confirm this issue for master.
Comment 4 F Wolff 2016-01-25 13:06:47 UTC
Just discovered this as well on GNOME 3.14.2 - quite a surprise that the same action has opposite effect in two places of the GNOME desktop.
Comment 5 Mario Wenzel 2016-01-25 13:13:15 UTC
This is still in issue in 3.18
Comment 6 Lapo Calamandrei 2016-04-30 21:31:56 UTC
It's shell doing things wrong actually. The concept of natural scrolling is about scrolling the content as if you are using a touchscreen, so moving the fingers down makes the scroll indicator going up. But while operating scale widgets (as the volume slider) moving the fingers down should move the slider down (since that is what you're virtually grabbing). To me the gtk+ behaviour is the correct one.
Comment 7 Mario Wenzel 2016-04-30 21:36:48 UTC
It should then be depending on the natural scrolling settings, which would be disabled on a non touch device, like using a scroll wheel.

It should he persistent across widgets anyway. No matter which way around.
Comment 8 Lapo Calamandrei 2016-05-01 20:08:55 UTC
Can't parse that sorry, would you rephrase?
Comment 9 Mario Wenzel 2016-05-01 20:22:00 UTC
My use case is a mouse with a scroll wheel. So no natural scrolling there. As expected, gnome-shell decreases volume on mouse down. This is correct behaviour.

Let me say it this way:
in vlc, scrolling down with the mouse wheel decrases volume/takes you back in the video
in gnome-shell scrolling down on the speaker icon decreases volume
in totem, scrolling down takes you back in the video and decreases volume
only in volume control scrolling down increases volume

For the mouse-wheel case, the Volume should surely in any decrease on scrolling down. Every other behaviour is wrong.

If any application doesn't reverse this on an input device that has natural scrolling, then that's surely a different problem.
Comment 10 Bastien Nocera 2016-10-26 10:14:40 UTC
*** Bug 773507 has been marked as a duplicate of this bug. ***
Comment 11 Georges Basile Stavracas Neto 2018-01-26 02:06:04 UTC
Review of attachment 276171 [details] [review]:

Hi Cris, thanks for your patch and sorry for the delay in reviewing it. I agree we should maintain consistency accross the desktop, so I believe this patch is a step in the right direction. However, it does not apply on top of master anymore; would you be so kind to rebase it?
Comment 12 Strangiato 2018-03-24 02:42:26 UTC
This issue is valid for Gnome 3.28 on Arch Linux.
Comment 13 Felipe Borges 2018-04-04 09:16:19 UTC
Created attachment 370521 [details] [review]
sound: Invert scroll direction of GvcChannelBar

The scrolling mechanism was opposite to that of most other scroll bars.
This inverts the scrolling, so scrolling up/right is considered an
increasing scroll, and scrolling down/left is considered a decreasing
scroll.

https://bugzilla.gnome.org/show_bug.cgi?id=703046

Rebased-by: Felipe Borges <felipeborges@gnome.org>
Comment 14 Felipe Borges 2018-04-04 09:17:42 UTC
I took the liberty to rebase this patch on top of git master so we can get these changes in. This bug quite annoys me too in my daily interactions with the sound settings.
Comment 15 Georges Basile Stavracas Neto 2018-07-18 00:05:17 UTC
(In reply to Felipe Borges from comment #14)
> I took the liberty to rebase this patch on top of git master so we can get
> these changes in. This bug quite annoys me too in my daily interactions with
> the sound settings.

Could you please move this patch to GitLab, in the form of a MR?
Comment 16 Strangiato 2018-08-22 21:53:33 UTC
Still valid for Gnome 3.29.91.
Comment 17 André Klapper 2021-06-09 16:29:30 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new bug report at
  https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/

Thank you for your understanding and your help.