Bug 372812 - Changing the volume with the wheel switches open windows
Summary: Changing the volume with the wheel switches open windows
Status: RESOLVED DUPLICATE of bug 372957
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray (show other bugs)
Version: 5.8.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-22 21:33 UTC by Carlos
Modified: 2016-12-07 18:37 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos 2016-11-22 21:33:51 UTC
After the update to 5.8.4, using the mouse wheel over the sound applet in the tray to change the volume also switches open windows (I'm using the icon-only task manager).
Comment 1 Anthony Vital 2016-11-23 11:24:11 UTC
This affects the whole system tray, a wheel event switches to another virtual desktop.
Comment 2 Iris Morelle 2016-11-24 06:21:14 UTC
I'm using Plasma 5.8.4 on Debian sid as it landed there yesterday and I also getdthis issue when using the scroll wheel on the KMix icon, which makes it actually quite unusable.

I also notice that accidentally using the scroll wheel on certain native Plasma 5 widgets that do not handle it (the Networks and Clipboard icons) triggers the same behavior. Plasma's own PulseAudio-based audio volume icon (which I don't normally use) seems unaffected -- perhaps it's because it handles its own wheel events?

In previous 5.8.x versions, using the wheel on the Show Hidden Icons arrow or the tiny empty space between tray icons also triggered a desktop switch, which I personally found a bit annoying and counterintuitive as there's a separate Pager widget for this kind of thing.
Comment 3 sparhawk 2016-11-24 21:09:30 UTC
As per the comments, scrolling switches virtual desktops, not open windows. FWIW scrolling on the sound icon still changes volume, but it simultaneously changes virtual desktop. Changing the volume with the mouse is basically unusable now.

Other icons also trigger this bug, e.g. Kalu, NetworkManager, caffeine, and the integrated triangle that opens the pop-up menu.
Comment 4 Christoph Feck 2016-11-24 23:43:55 UTC
Could be caused by https://commits.kde.org/plasma-workspace/95a8a620248d96ca089c222689605042e27e8fb5
Comment 5 Anthony Vital 2016-11-24 23:52:22 UTC
(In reply to Christoph Feck from comment #4)
> Could be caused by
> https://commits.kde.org/plasma-workspace/
> 95a8a620248d96ca089c222689605042e27e8fb5

Reverting that commit indeed makes the issue disappear.
Comment 6 sparhawk 2016-11-24 23:55:47 UTC
I can confirm that reverting those patches fixes scrolling on icons (I tested the volume icon, NetworkManager, caffeine). However, scrolling over the triangle that opens the menu still scrolls the virtual desktops. I'm not sure if that is the intended behaviour. (It's not a big deal anyway, because unlike the volume icon, there's no other intended behaviour on scroll for it.)
Comment 7 vpiotr 2016-11-26 10:21:49 UTC
Plasma 5.8.4 on Gentoo. I can confirm that reverting the commit mentioned in comment #4 fixes the issue (with the exception of "menu triangle" behavior).
Comment 8 sparhawk 2016-11-26 11:28:25 UTC
Actually, perhaps related to the "menu triangle" issue, if I slightly miss the icon for (e.g.) the volume control and scroll, I still get this bug. For example, if I place the mouse cursor around the red arrows in the following screenshot.

https://i.imgur.com/9uQ04Z6.png
Comment 9 Christoph Feck 2016-12-07 18:37:30 UTC

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