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

Thomas Lübking thomas.luebking at gmail.com
Mon Jul 29 12:16:24 UTC 2013


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

--- Comment #24 from Thomas Lübking <thomas.luebking at gmail.com> ---
(In reply to comment #22)
> Considering all these things, I wonder if Konsole might be doing anything
> weird.

Yesno.
The new window clones the usertime of the present konsole window (none if the
other konsole window had not been touched so far) what is usually far back
compared to the usertime of dolphin ("just")

The assumption here is:
some client spawns a dialog out of the void (no interaction with that client
caused this)

For "regular" application calls, they've either no timestamp at all (if it's
the first window of the application, _KDE_NET_WM_USER_CREATION_TIME is used
instead) or just set "currentTime" to raise odds to get the focus.

--> What needs to happen is that if konsole main() spawns a new window instead
a new process (and only in this case) it either has to "unlink" the windows
(different pid or class - what's of course less great either) or sets the
usertime to what what usually would become (and actually does)
_KDE_NET_WM_USER_CREATION_TIME, faking that activity in the present client
caused the new window.

This might be an issue for similar acting clients (including dolphin ;-),
though.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the konsole-devel mailing list