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

Frank Reininghaus frank78ac at googlemail.com
Mon Jul 29 09:16:05 UTC 2013


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

--- Comment #22 from Frank Reininghaus <frank78ac at googlemail.com> ---
(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 on the CC list for the bug.


More information about the konsole-devel mailing list