From kde-bugs-dist Mon Jul 29 12:16:24 2013 From: =?UTF-8?Q?Thomas=20L=C3=BCbking=20?= Date: Mon, 29 Jul 2013 12:16:24 +0000 To: kde-bugs-dist Subject: [dolphin] [Bug 221107] External konsole window opened without focus Message-Id: X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=137510019828255 https://bugs.kde.org/show_bug.cgi?id=3D221107 --- Comment #24 from Thomas L=C3=BCbking --- (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 t= he 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 inst= ead 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. --=20 You are receiving this mail because: You are watching all bug changes.=