Bug 165543 - Keyboard layout does not work correctly in konsole
Summary: Keyboard layout does not work correctly in konsole
Status: RESOLVED DUPLICATE of bug 154212
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 2.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
: 194728 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-02 00:01 UTC by Tobias Lippert
Modified: 2011-09-28 10:04 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Lippert 2008-07-02 00:01:02 UTC
Version:           2.0 (using 4.0.4 (KDE 4.0.4 >= 20080505) "release 15.1", compiled sources)
Compiler:          gcc
OS:                Linux (i686) release 2.6.25.5-1.1-pae

I am using a German keyboard layout as standard layout and a US layout for programming.
When I open konsole with the US-keyboard enabled, the combination CTRL+], which would be CTRL++ on the German layout, increases the font size. This is really annoying, because CTRL+] is a vim ctags command and I use it a lot.

CTRL+/ which is CTRL+- on the German layout decreases the font.

It seems that the keyboard layout is ignored in Konsole.

(maybe this is a duplicate of but 17760)
Comment 1 Tobias Lippert 2008-07-02 00:07:34 UTC
I am unsing Konsole 2.0 as provided with OpenSuse 11.0
Comment 2 Robert Knight 2008-07-02 01:13:13 UTC
> When I open konsole with the US-keyboard enabled, the combination CTRL+], 
> which would be CTRL++ on the German layout, increases the font size.

What method did you use to enable the US keyboard layout?
Comment 3 Robert Knight 2008-07-02 01:17:31 UTC
> (maybe this is a duplicate of but 17760) 

Probably not, that is a closed bug report from eight years ago.

Comment 4 Tobias Lippert 2008-07-02 18:50:17 UTC
I used the KDE Keyboard Layout Switcher from the taskmenu. (The one that you switch with CTRL+ALT+k )
Comment 5 Robert Knight 2008-07-02 22:08:34 UTC
Does it make any difference whether there are any Konsole instances running prior to changing the keyboard layout?  If you close all of the Konsole instances, change the layout and then start a new one, does that work?
Comment 6 Tobias Lippert 2008-07-02 23:30:42 UTC
I closed all Konsole instances and switched the layout, then started a new one. The error is still there.

If I delete the German layout from the available layouts, and only the US keyboard is left, the keys work correctly.
Same thing, if only the German layout is left.

Also, if the US keymap is the first one in the list of the keyboard layout switcher, the keys work correctly.
However, when switching to the German keymap, the US-layout is used for the shortcuts (increase/decrease font).
Comment 7 Robert Knight 2008-07-03 00:34:15 UTC
What about other KDE applications (Kate, Dolphin, Konqueror etc.)?
Comment 8 Tobias Lippert 2008-07-03 23:25:03 UTC
the same in Konqueror.
CTRL++ works on the german keyboard. If I switch to the US layout, I have to press the same keys (which should be mapped differently however) to achieve the same result.
Comment 9 Achim Herwig 2010-01-03 18:53:13 UTC
I have the same problem on a Lenovo ThinkPad T61 with german keyboard, running openSUSE 11.2 (KDE 4.3.1 with Konsole 2.3.1). 

When I have multiple layouts activated (default german, others brazilian and us-english) all the (german) keys using AltGr (namely bar/pipe, euro-sign and the at-sign) do not work. The dead-tilde works correctly, though.

However, the keys do work in Qt input fields, e.g. when I try to add them to the keyboard in the profile menu.  The keys are correctly transmitted by the X-Server as verified with xev.

Turning off the keyboard alternatives makes the keys work again, as described in #6.
Comment 10 Kurt Hindenburg 2010-01-03 19:28:24 UTC
*** Bug 194728 has been marked as a duplicate of this bug. ***
Comment 11 dag 2010-05-10 16:18:12 UTC
Just upgraded to 4.4.3 here and can now see the same problem even without multiple layouts?? Checking what is sent to the programs from konsole I can see that the right character is prefixed with an escape sign (0x033)
Comment 12 Jekyll Wu 2011-09-28 10:04:33 UTC
After doing some investigation, I think this problem is not konsole specific . It happens to all KDE(or Qt) apps. Open any KDE app and assign Ctrl++ as the shortcut for some action, then pressing Ctrl+] under us layout will trigger that action(default layout is de, of course).

A quick search suggests this report is a duplicate of bug #154212. 

The simple workaround for this Ctrl+] problem is do not assign shortcut for the 'Enlarge Font' action.

*** This bug has been marked as a duplicate of bug 154212 ***