| Summary: | When playing a game (full screen) don't let a dialog steal the focus | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | postix <postix> |
| Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | wishlist | CC: | kde, plasma-bugs-null, postix |
| Priority: | NOR | ||
| Version First Reported In: | 5.17.5 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
postix
2020-03-08 15:50:22 UTC
You can easily test it yourself by (accidentally) pressing "print" while playing, which results in Spectacle popping up. If the game is about reaction speed, you'll lose with a nice screenshot. :) A keyboard grab would prevent this. Most games do this. Changing this for other windows would break many many other things. (In reply to David Edmundson from comment #2) > A keyboard grab would prevent this. > > Most games do this. > > > Changing this for other windows would break many many other things. You did not read carefully enough. This bug report is not about keyboard grabbing, the example above should only serve as a easy demonstration for what happens if another window comes forward, stealing the focus... Reopen it again. Please use a more "extreme" focus stealing prevention policy. Unfortunately, the question whether dialogs should take focus by default depends on personal preferences of the user. (In reply to Vlad Zahorodnii from comment #4) > Please use a more "extreme" focus stealing prevention policy. > I hadn't find this option, thanks! Maybe in Lutris this can be scripted to become activated once game has started? ;) (In reply to Postix from comment #5) > I hadn't find this option, thanks! Maybe in Lutris this can be scripted to > become activated once game has started? ;) Unfortunately, I can't answer your question because I don't know what Lutris is. (In reply to Vlad Zahorodnii from comment #6) > (In reply to Postix from comment #5) > > I hadn't find this option, thanks! Maybe in Lutris this can be scripted to > > become activated once game has started? ;) > > Unfortunately, I can't answer your question because I don't know what Lutris > is. I actually meant gamemode [1,2] and not lutris [3], which however work together. It's fine, I will figure it out myself! Have a nice week! :) [1] https://github.com/FeralInteractive/gamemode [2] https://wiki.archlinux.org/index.php/Gaming#Utilities [3] https://github.com/lutris/lutris |