Bug 475087

Summary: Set Focus stealing prevention to Extreme temporarily when a graphical password authenticator is in focus
Product: [Plasma] kwin Reporter: Antti Savolainen <antti.savo>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: nate
Priority: NOR    
Version: 5.27.8   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Antti Savolainen 2023-10-01 11:57:08 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
It is annoying to open an application that requires you to open the KDE wallet simultaneously with something that steals focus multiple times like Steam. To remedy this, I propose that graphical password authenticators like the KDE Wallet service and pkexec set focus stealing prevention to extreme when in focus.


STEPS TO REPRODUCE
1. Open something that requires you to input any sort of password in a GUI
2. Open Steam or some other application that steals focus several times
3. Type your password while the focus stealer is booting up

OBSERVED RESULT
You get constantly interrupted

EXPECTED RESULT
Password prompts should always stay in focus

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Comment 1 Nate Graham 2023-10-11 19:44:18 UTC
If we did what you ask, it would have other side effects that would be potentially quite undesirable, so we can't do that, I'm afraid.

If you'd like to continue, please submit a new bug report describing the issue itself, rather than proposing a solution. Thanks!