[Konsole-devel] [Bug 221107] External konsole window opened without focus

Dawit Alemayehu adawit at kde.org
Fri Dec 23 15:20:02 UTC 2011


https://bugs.kde.org/show_bug.cgi?id=221107


Dawit Alemayehu <adawit at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW




--- Comment #12 from Dawit Alemayehu <adawit kde org>  2011-12-23 15:20:02 ---
>From comment 6 in bug 186293:

this will not "fix" from kwin side

the reason is the focus stealing policy:
konqueror spawns the konsole window on keypress, the window gets a timestamp
and than you release the key and konqueror gets an update to it's usertime
("last interaction")

since konsole is in another process and there's no other hint that this
"belongs" to konqueror (eg, group leader) this is by most focus stealing
policies (except for "none" which is btw. the plain NETWM way, while "low" is
kwin default)  interpreted as "user interacts on konqueror, don't allow new
client to steal the focus"

The solution would be for konqueror to set a hint on the konsole window "this
belongs to me" or simply spawn it on the key release instead of the press.

-> re-assigning, sorry that it took so long :-(

Changing KWin's focus stealing policy to "None" most definitely resolves this
bug. But the curisous thing is that the focus stealing policy does not work as
intended when no other konsole is already running.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the konsole-devel mailing list