Bug 286527

Summary: using ctrl+alt+k to change the keyboard layout works only once and adds a new bogus language: -- - (three minus symbols)
Product: [Plasma] Keyboard status applet Reporter: Joachim Schiele <js>
Component: generalAssignee: Gunnar Schmidt <gunnar>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: showing the '-- -' language which should not be there

Description Joachim Schiele 2011-11-13 20:13:50 UTC
Created attachment 65622 [details]
showing the '-- -' language which should not be there

Version:           unspecified (using KDE 4.7.3) 
OS:                Linux

i have added two keyboard layouts: 
 * us - USA
 * de - Germany
i'm used to change the layout using the global shortcut (standard shortcut) ctrl+alt+k and this worked in older kde 4.x revisions. but on the 4.7.3 system it works only once and it then adds a new language layout called '-- -' (note: without the quotes). once one uses the RMB (right mouse button) to select a different language (like de {if the previous layout was us}) resets the condition and one is free to use ctrl+alt+k once again.

additional issues:
once the bug condition is triggered (indicated by the '-- -' entry) one can also not use LMB on the flag indicator (which would normally toggle the keyboard layout selection). only a RMB will make it work again.

selecting the '-- -' entry seems to not have any effect. it does also not reset the error condition. it does not affect the previous layout.

in my case the 'us' layout is the default layout. if i use ctrl+alt+k from the default keyboard layout (if it is active) it does not have any effect on the layout, it does not change from 'us' to 'de' but it triggers the error condition.

Reproducible: Didn't try

Steps to Reproduce:
add two layouts:
- en
- de
and simply press ctrl+alt+k

Actual Results:  
- using ctrl+alt+k works once (with 'en') depending on the selected layout
- once the error condition is triggerd an additional layout is added labeld '-- -'
- the error condition can only be reset using a RMB on the icon

Expected Results:  
pressing: ctrl+alt+k should toggle through the list of available keyboard layouts. in my case it should change from 'en' to 'de' and using ctrl+alt+k again, it should switch back. this should go on forever

on #kde-devel@irc.freenode.net

20:11 < andris> qknight--: I can confirm it in master as well, please report it as a bug
Comment 1 Christoph Feck 2011-11-14 02:38:08 UTC

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