Priority: Not Evaluated
Affects Version/s: Qt Creator 4.2.1
Fix Version/s: None
This might be a bug with XFCE, which I reported there: https://bugzilla.xfce.org/show_bug.cgi?id=13349
On Linux with the XFCE desktop environment, I use two keyboard layouts, french default (azerty) and french bépo. Qtcreator gets confused about which layout to use for keyboard shortcuts and it breaks at least one of them.
Steps to Reproduce:
1) Have two keyboard layouts, one azerty, one bépo, with azerty as the default one
2) Setup QtCreator to toggle comments on Ctrl+Shift+/ with the "record" button.
QtCreator records the shortcut as Ctrl+Shift+H instead of Ctrl+Shift+/. On the bépo layout, H corresponds to the / key on azerty.
QtCreator should record the shortcut as Ctrl+Shift+/.
The fact that it is not recorded properly breaks the usability of the shortcut in the following way. Once the shortcut is set improperly, pressing Ctrl+Shift+/ does toggle comments. But pressing again does not toggle back, unless I save the edited file with Ctrl+S first. Then it will uncomment.
Using Ctrl+/ on the numpad works 100% of the time.
My current workaround is removing all keyboard layouts but french azerty.