Registered Member
|
I am really enjoying using Plasma today, and I would very like to have a new feature for this desktop environment: an intelligent focus behavior.
Most of the time, I am using the konsole in order to do things, but sometimes I need to launch some big applications which takes time to be ready to use. When I launch it, I return immediately on Konsole and I type commands. But while I am typing commands, the big application happens to be ready to use and take the focus so I now type to oneself. I would like that plasma before changing the focus to a new application checks that I am not using another one (by typing for example), and whether it is confirmed (that I am using for example my konsole) then just notify me that the big application is ready to be use. I think that this is a really subtle and light feature but It would be cool to have this one. Is it possible? What do you think? |
KDE Developer
|
Maybe the focus stealing prevention would be helpful to you.
Go to the system settings -> window behaviour -> focus -> focus stealing prevention It will effect all applications. If you want it only for specific applications (for example Konsole), you can set it in application menu (alt+f3) > more actions -> special application settings -> appeareance & fixes -> focus stealing prevention. |
Registered Member
|
@Ivan,
Well, indeed it is something which can be used to solution my issue. However this feature seems to not work as expected. Indeed, until medium, when I launch intellij while typing on the konsole, IntelliJ takes the focus and has a greater z-index than konsole. When I set focus stealing prevention higher than medium, it makes some functionalities of KDE no more available like ALT+F2 (which disappears as soon as it appears). Furthermore, ultimately, this is not what I am looking for. I think it would be better that the OS has knowledge to what the user is doing and to adapt the focus depending on what the user is doing. As a start, it would be: - if the user is typing, do not steal the focus - if the user is currently navigating through menu of an application, do not steal the focus - if the user is doing nothing, steal the focus When an application cannot be set the focus on because of these rules, it would instead trigger a notification in order to inform the user that his application is ready. |
KDE Developer
|
The alt+f2 thing is a bug then.
I agree that would be the sane thing to do - to base the stealing on whether the user is typing or not. As for the menus, an application should not be able to steal the focus if a menu is open. Menus tend to grab the keyboard completely under X11. |
Registered Member
|
Yes, it has been reported as such here: https://bugs.kde.org/show_bug.cgi?id=352647 Thank you otherwise for supporting this feature. |
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]