Bug 155388 - Cursor loses focus when konsole returns to foreground
Summary: Cursor loses focus when konsole returns to foreground
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 1.6
Platform: Debian testing Linux
: VLO minor
Target Milestone: ---
Assignee: Konsole Developer
Depends on:
Reported: 2008-01-10 10:56 UTC by Tomer Shalev
Modified: 2009-02-22 19:51 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
Description Tomer Shalev 2008-01-10 10:56:07 UTC
Version:           1.6 (using KDE KDE 3.5.8)
Installed from:    Debian testing/unstable Packages
OS:                Linux

On a Windows machine, I started X server.
I opened shell and started Konsole.

Working on Konsole, I switch to other local application using Alt+Tab.
When I get back to Konsole, the menu bar has the focus, so I can't type, unless I bring the cursor back to focus using my mouse. This is very annoying!


This bug does not occurs on a normal KDE session on the Linux machine itself.

When I bring Konsole back to foreground by pressing the Konsole application button on Windows's Taskbar, the cursor is focused and I can type.

It only happens when I use 'Alt-Tab' to bring it to foreground. Therefore, I believe this bug happends because Konsole traps the 'Alt-Tab' keystroke that brought it back to foreground, and treats the 'Alt' key which focuses the application menu bar.
Comment 1 Robert Knight 2008-03-18 03:29:33 UTC
I have no means to test this myself I'm afraid.  

If the menu bar has focus you can get back to the terminal display by pressing the TAB key a couple of times.  The first TAB focuses the tab bar and the second focuses the display area.  Hopefully this should suffice.
Comment 2 Tomer Shalev 2008-03-18 08:52:24 UTC
I am aware that I can get back to the terminal display by pressing ALT+TAB once.
However, this is quite annoying...

The problem is that Konsole regards the ALT-TAB key-press as a pressing of ALT, then releasing of it, which results in menu bar getting focus (the 'Session' menu item).

Is there any other developer who is willing to fix this?
Comment 3 Kurt Hindenburg 2009-02-22 19:51:56 UTC
KDE 3 is no longer supported.  Reopen if you can duplicate this under KDE 4.  Thanks.