Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-17726

Multiple keyboard layouts confuses qtcreator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 4.2.1
    • Editors
    • None
    • linux xfce

    Description

      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.

      Actual Results:

      QtCreator records the shortcut as Ctrl+Shift+H instead of Ctrl+Shift+/. On the bépo layout, H corresponds to the / key on azerty.

      Expected Results:

      QtCreator should record the shortcut as Ctrl+Shift+/.

      Additional Information:

      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.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              davschul David Schulz
              baudouin.roullier Baudouin Roullier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes