on screen keyboard weird bug (kwin?)

Marco Martin notmart at gmail.com
Thu Jul 21 11:41:39 CEST 2011


Hi all,
in plasma-mobile we have right now a little on screen keyboard application 
that works in the following way:
it's a dock window, that always refuses focus, and when clicking on the keys, 
it sends the corresponding keystroke on the current focused window...
and where Qt doesn't support multitouch it works just fine..
however in Meego, when a touchevent arrives, that dock window takes the focus 
anyways, breaking the keyboard...

another weird thing, is that this happens only if the first input event after 
the window appeared is a touch one, if is a normal mouse event, subsequent 
events from the touch screen won't give the window active focus

now, i'm not sure if it's a problem in X, in Qt or in KWin (or due to some 
patches that there are just in MeeGo)

i know it is a tough question, but there is something that comes to mind in 
KWin that could treat touch events different from mouse events regarding 
focus?

Cheers,
Marco Martin


More information about the Active mailing list