From kde-bugs-dist Mon Jul 29 09:16:05 2013 From: Frank Reininghaus Date: Mon, 29 Jul 2013 09:16:05 +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=137508938024539 https://bugs.kde.org/show_bug.cgi?id=221107 --- Comment #22 from Frank Reininghaus --- (In reply to comment #21) > (In reply to comment #20) > > Could it be that it's Konsole's fault? > > There's no "fault" OK, but to the user, it looks like a bug. I run into this issue myself once in a while, and I find it quite annoying that I have to press Shift+F4 and then Alt+Tab to get a Konsole ;-) > ::deferSpawningKonsole() { > m_konsoleSpawnTimer->start(300); // 400? 500? > } Tried something like that, but it has no effect at all (except that it takes a while until the Konsole window is opened): http://paste.kde.org/pfb696234/ > This solves tow issues for one: > 1. The user probably meanwhile released the key "for a while" when the > konsole window finally appears, thus it should be granted the focus. No, it's not granted the focus. So it looks like it does not have anything to do with the "key press"/"key release" issue. Note that you can also open a Konsole by clicking "Open Terminal" in the "Tools" menu. The action is definitely invoked on mouse button *release* then, but the new window is still opened in the background. BTW, I tried running a few more apps from Dolphin, like * Kompare (select two files and then either open it from the "Tools" menu or assign a keyboard shortcut to that action) -> the Kompare window appears in the foreground. * Kate: make sure that Kate is running, and open a text file in Kate -> the Kate window is focused and appears in the foreground. Moreover, as has been noted here before, it works fine with Konsole if no other Konsole window is open yet. Considering all these things, I wonder if Konsole might be doing anything weird. But I'm not sure - some more debugging might be required to find out what is going wrong and if/how it can be fixed. In any case, from the point of view of Dolphin (which this report is assigned to), this is "WONTFIX", or rather "CANNOTFIX" as far as I can say :-( -- You are receiving this mail because: You are watching all bug changes.