Bug 243039

Summary: Keyboard layout switching policy works incorrect for Java applications
Product: [Unmaintained] kxkb Reporter: Sergei Kasaurov <sergei.kasaurov>
Component: generalAssignee: Andriy Rysin <arysin>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Sergei Kasaurov 2010-06-28 15:54:27 UTC
Version:           unspecified (using Devel) 
OS:                Linux

When I switch to Java application, it keeps the keyboard layout of the window that was active before.

When I switch from Java application to any other window, the active window keeps the keyboard layout of the Java application.

Keyboard layout switching policy is a window.

Reproducible: Always

Steps to Reproduce:
Start any Java application and watch how keyboard layout switching policy works if it switched and active window changed.
Comment 1 Andriy Rysin 2010-07-02 05:16:20 UTC
Seems like Java app windows have type -1 which keyboard daemon ignores currently. Should be fairly straightforward if it does not overlap with "fake" popup window of tray notification item and/or desktop/plasma applets...
Comment 2 Andriy Rysin 2010-07-04 21:08:16 UTC
SVN commit 1145962 by rysin:

Allow windows of type Unknown for per-window keyboard layouts
BUG: 243039

 M  +8 -8      layout_memory.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1145962
Comment 3 Andriy Rysin 2010-07-04 21:26:04 UTC
SVN commit 1145966 by rysin:

Allow windows of type Unknown for per-window keyboard layouts
BUG: 243039


 M  +8 -8      layout_memory.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1145966