Bug 168547

Summary: KDE Keyboard Layout Switcher doesn't work for flash games
Product: [Unmaintained] kxkb Reporter: Aardwolf <olifant>
Component: generalAssignee: Andriy Rysin <arysin>
Status: RESOLVED NOT A BUG    
Severity: normal CC: christophe, finex
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Aardwolf 2008-08-06 20:54:55 UTC
Version:            (using KDE 4.1.0)
Installed from:    Unlisted Binary Package
Compiler:          Archlinux binary package 
OS:                Linux

I have an azerty keyboard but Flash games often need aswd controls, so in KDE 3.5 I used the "KDE Keyboard Layout Switcher" for switching to qwerty to make these flash games playable to me.

In KDE 4.1, the KDE Keyboard Layout Switcher switches everything, EXCEPT FLASH APPLICATIONS!

E.G. try this game: http://www.newgrounds.com/portal/view/452230 (just hit "pop up" or "play this game" to load and play the flash game).

In KDE 3.5, the KDE Keyboard Layout Switcher allows playing the game properly for azerty users, in KDE 4.1 not anymore.

The KDE Keyboard Layout Switcher works for everything else though (including changing how I type in this very messagebox here).

Since it worked fine in KDE 3.5, this could be a KDE 4.1 bug.
Comment 1 Christophe Marin 2008-08-06 21:05:57 UTC
Just to be sure, which browser are you using ? Konqueror ?
Comment 2 Aardwolf 2008-08-06 21:08:46 UTC
Update:

Switching policy is set to "Global".

I found a workaround: move US English to the top in the Keyboard Layout options of KDE. Flash games take the top one in that option menu no matter what, while everything else takes the one you selected with the layout switcher. So at least you can change the layout in flash games by putting the layout you need at that moment on top :) This makes the bug less severe to me (since I can play the game now :p)
Comment 3 Aardwolf 2008-08-06 21:11:00 UTC
In reply to Christophe Giboudeaux: I tried in 3 browsers: SeaMonkey, FireFox 3, Konqueror and Opera 9.5, and the behaviour is the same in all 4 browsers.
Comment 4 Andriy Rysin 2008-11-17 05:33:03 UTC
Does not seem to be the kxkb problem, I'd say you need to file a bug aginst Flash Player. There's really not much kxkb can do here so I am closing the bug.

P.S. the old way of switching whole layouts instead of groups as was done in KDE3 was wrong and there's no going back