Bug 243039 - Keyboard layout switching policy works incorrect for Java applications
Summary: Keyboard layout switching policy works incorrect for Java applications
Status: RESOLVED FIXED
Alias: None
Product: kxkb
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Andriy Rysin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-28 15:54 UTC by Sergei Kasaurov
Modified: 2010-07-04 21:26 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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