[Development] Changing keyboard layouts in Qt 5.1 apps with GNOME

Paeglis Gatis Gatis.Paeglis at digia.com
Sat Aug 31 21:50:10 CEST 2013


Its probably because of the issue described in:

https://bugreports.qt-project.org/browse/QTBUG-30911
https://bugs.freedesktop.org/show_bug.cgi?id=23202

Switching between layouts should work in all cases, but adding a new layout might not be seen until the application is restarted.
________________________________________
From: development-bounces+gatis.paeglis=digia.com at qt-project.org [development-bounces+gatis.paeglis=digia.com at qt-project.org] on behalf of Thiago Macieira [thiago.macieira at intel.com]
Sent: Saturday, August 31, 2013 6:35 PM
To: development at qt-project.org
Subject: Re: [Development] Changing keyboard layouts in Qt 5.1 apps with        GNOME

On sábado, 31 de agosto de 2013 14:51:58, Petko Ditchev wrote:
>   I need some help troubleshooting a problem I've been having : for a
> week now (I think since some updates to the keyboard layout settings in
> gnome) I can't change the keyboard layout in QtCreator (built with
> Qt5.1) and in my app that is on the same lib . Otherwise everything's ok
> , but Qt5.1 apps stick with the layout they are launched with .
>   I'm sending this to both lists because the bug affects GNOME , but not
> Unity , and it affects Qt5.1 , but not Qt4 .

Can you provide us with the output of setxkbmap -print before and after the
keyboard change? It would be useful to get the xev output for a keystroke that
changed too (before and after).

Finally, can you make the same test by switching keyboard layouts with
setxkbmap?

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center



More information about the Development mailing list