Bug 427305

Summary: Focus stealing prevention breaks panels
Product: [Plasma] kwin Reporter: Avamander <Avamander>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.18.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Avamander 2020-10-03 18:36:56 UTC
SUMMARY
Focus stealing prevention breaks panels

STEPS TO REPRODUCE
1. Turn "Focus stealing prevention" to "High"
2. Try to use a panel

OBSERVED RESULT
Panel doesn't display anything, no application launcher, no volume control, nothing

EXPECTED RESULT
Panel is able to launch the application launcher and display things like volume control.

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.6.0-1021-oem
OS Type: 64-bit
Comment 1 Nate Graham 2020-10-05 20:43:04 UTC
Can you clarify "Try to use a panel"? If I set focus stealing to high, interacting with panel items seem to work just fine.
Comment 2 Avamander 2020-10-05 22:26:43 UTC
It's literally that. Nothing that the panel does that requires displaying over an existing window works. Be it volume control, network interfaces, application launcher or even window previews.
Comment 3 Nate Graham 2020-10-06 15:38:13 UTC
How odd. Still can't reproduce.
Comment 4 Avamander 2020-10-06 15:53:18 UTC
You can see how I'm trying to click on the application launcher icon here with Focus stealing prevention set to high: https://youtu.be/ECSNlyhEwG0
Comment 5 Nate Graham 2020-10-06 15:57:15 UTC
Thanks. I believe you, I just don't know how to make it happen for myself so I can figure out what's going wrong. :(
Comment 6 Avamander 2020-10-06 16:01:36 UTC
The window visible is chromium snap, maybe that makes a difference?
Comment 7 Vlad Zahorodnii 2020-10-08 06:14:24 UTC
Kickoff most likely receives an unexpected FocusOut event, which in its turn forces the application launcher to close itself. Similar to Nate, I cannot reproduce the bug myself.
Comment 8 Nate Graham 2021-01-07 19:13:46 UTC

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