Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mouse wheel behaves inconsistently wrt volume change in notification area and popup #914

Closed
karltk opened this issue Jan 24, 2019 · 4 comments

Comments

@karltk
Copy link

karltk commented Jan 24, 2019

Expected behaviour

I can scroll the mouse over the volume icon in the notification area, and the volume changes: When I scroll downwards, the volume increases; when I scroll upwards, the volume decreases. I would expect this scrolling behaviour to be same if I click on the notification area and use the mouse wheel to adjust the volume slider in the resulting popup.

Actual behaviour

The slider and the volume icon behave exactly opposite of each other!

The direction of scrolling resulting in a volume increase when hovering over the icon in the notification area will decease the volume when hovering + scrolling over the volume slider in the popup.

Steps to reproduce the behaviour

  1. Move mouse cursor over the sound icon in the notification area.
  2. Scroll up, and notice change in volume.
  3. Click the sound icon in the notification area.
  4. Move the mouse cursor over the volume slider in the resulting popup.
  5. Scroll up, and notice the change in volume.

On my machine, the volume changes in (2) and (5) are opposite, despite scrolling in the same direction.

MATE general version

Package version

mate-panel 1.20.3-1 amd64

Linux Distribution

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.10
DISTRIB_CODENAME=cosmic
DISTRIB_DESCRIPTION="Ubuntu 18.10"

Link to downstream report of your Distribution

N/A

@lukefromdc
Copy link
Member

The package involved here is actually mate-media, which contains the volume control applet. Please resubmit this issue against mate-media, as we cannot move an issue report between packages. Closing as this is the wrong package, waiting for a new issue against mate-media.

I tested this, and on my machine with Debian Unstable and locally compiled GTL 3.24.3 the scroll direction was the same for the icon and the slider. I know there were some changes in GTK3 concerning slider directions not too long ago, wondering if that is the difference? What exactly is the GTK3 version you have?

@vkareh
Copy link
Member

vkareh commented Jan 26, 2019

Actually, just testing this and it seems like the issue is with the mate-indicator-applet. I've re-posted the issue there: mate-desktop/mate-indicator-applet#36

@karltk
Copy link
Author

karltk commented Jan 26, 2019

FWIW, my gtk3 version is 3.24.1-1ubuntu2 (amd64).

@lukefromdc
Copy link
Member

Ahh that explains why I did not get the same result. I assume you are using the sound indicator applet whose volume control is a HORIZONTAL slider? A vertical slider would create a huge box in an indicator as the only thing it can pop up is a menu, and a vertical slider in a menuitem would turn it into a box as high as the slider and as wide as the rest of the menu. Though I suppose it might be possible to make the menu as narrow as the slider, Ubuntu's indicator-sound applet packed the slider horizontally into the menuitem when I last saw it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants