Bug 422477

Summary: With focus follows mouse the behavior of plasma popup widgets, including side popups like "add object" is problematic
Product: [Plasma] plasmashell Reporter: Stefano <gisk+kdebugs>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate, plasma-bugs
Priority: NOR    
Version: 5.18.5   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Popup closing with focus follows mouse

Description Stefano 2020-06-05 10:00:32 UTC
Created attachment 129065 [details]
Popup closing with focus follows mouse

SUMMARY
When the window focus policy is set to follow the mouse, every plasma popup widget closes every time you pass on a window. This is particularly problematic when you want to add a new widget on a panel and you have to cross the whole screen full of windows to access the "add object" side panel.
See screencap.

STEPS TO REPRODUCE
1. Enable mouse follows mouse
2. Put some window on screen
3. Right click on a panel and choose to add an object
4. Move the mouse over a window without clicking it

OBSERVED RESULT
The "add object" side panel or every other popup widget will close as soon as you hover a window with your mouse. If you have a panel on the right side, you have to do a gymkhana avoiding every window to access the "add object" side panel.

EXPECTED RESULT
The same behavior that occurs on the click to focus policy: the popup widget should remain open even when crossing a window with your mouse.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 20.04
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Kernel Version: 5.4.0-33-generic
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-4790 CPU @ 3.60GHz
Memory: 15,6 GiB
Comment 1 Nate Graham 2021-03-11 18:38:10 UTC

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