Bug 377016

Summary: mouse-button-events in systemtray changes virtual desktop
Product: [Plasma] plasmashell Reporter: M G Berberich <kde>
Component: System Tray widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kde, kde, materka, notmart
Priority: NOR    
Version First Reported In: 5.8.4   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description M G Berberich 2017-02-28 13:38:28 UTC
There are applications that have icons in the systemtray and can react to mouse button events, p.e. amarok and kmix changing volume. This worked fine in the past. Now the mouse button events change virtual desktop too (they are still passed to the application) resulting in wild virtual desktop whirling if adjusting volumes.
Comment 1 Rolf Eike Beer 2017-02-28 18:31:24 UTC
I see the same on openSUSE Tumbleweed.
Comment 2 David Edmundson 2017-03-03 00:35:49 UTC
If you make a new panel, does it happen there?

I removed "containment actions"  from being default the panel years ago, but as I did it mostly as a memory optimisation, I didn't clean up existing configs.

Please reopen the bug when you reply.
Comment 3 M G Berberich 2017-03-03 09:23:12 UTC
If I create a new panel and add a systemtray or create a new standard-panel that already contains a systemtray it happens there too.
Comment 4 Marco Martin 2017-03-06 15:29:41 UTC
does this happen only with mouse wheel or with any mouse button?
Comment 5 M G Berberich 2017-03-07 10:46:53 UTC
Only with mouse-wheel (button 4 and 5).
Comment 6 David Edmundson 2017-03-07 11:55:21 UTC
@Marco I don't think the real issue is one of mouse events getting to the Containment, but more an issue of why PanelContainment is loading the SwitchDesktop action in the first place.

It's not in my config file. ActionPlugins[1] only lists RightButton. 
Yet if I open Gammaray and search for SwitchDesktop in Objects, I can see I clearly have one per containment.
Comment 7 Konrad Materka 2020-01-03 14:54:14 UTC
Is it still reproducible? It is working correctly for me.
Comment 8 Rolf Eike Beer 2020-01-03 20:26:05 UTC
Have not seen it for a long while. Works at least in 5.12.