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.
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...
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
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