|
|
Subscribe / Log in / New account

PiP protocol addition...!?

PiP protocol addition...!?

Posted Oct 24, 2025 1:54 UTC (Fri) by mathstuf (subscriber, #69389)
In reply to: PiP protocol addition...!? by Wol
Parent article: KDE Plasma 6.5 released

There are times I *want* forced-on-top or forced-focus windows: password prompts. Windows gets this right where privilege escalation prompts and the like are modal to the entire desktop session. Yes, they are quite disruptive when you're not expecting them, but my Windows usage is so limited that I think all of my cases these days are in response to explicit actions.

Contrast this with macOS where password prompts are nigh useless if some window-popping CI is in progress because new windows are "shiny" and get focus, context be damned. Good luck navigating the damned global menu or, once you do get some progress, elevating privileges to kill that rogue process if your admin password dialog can't accept a keystroke in edgewise (and you better hope that the window-popper isn't keylogging you too). In fact, it is so egregious that on machines where we missed disabling the screen lock, if CI (that you could not see…though who knows with Liquid Glass these days) was running in the background, the *lock screen* password entry would also lose focus to those windows in the background.

So yes, focus-forcing is nasty and I detest it happening (e.g., Firefox was able to force-focus itself in XMonad), but with Wayland, the compositor is in full control of such requests and can grant access to such abilities when it *does* make sense.


to post comments

PiP protocol addition...!?

Posted Oct 24, 2025 8:19 UTC (Fri) by taladar (subscriber, #68407) [Link]

Password prompts are a complex example. Yes, I want them to forcefully keep the focus, but no, I don't want them to steal focus either because I might be typing something into another window and hit the wrong key at just the wrong time when it pops up and waste a password attempt at best or have some auth system cache wrong credentials or lock me out immediately at worst.

Both of those could be solved by just not allowing focus stealing at all and only allowing the user to manually switch focus to a new window.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds