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

"Meta +" is prepended to key sequences when pressing "Alt"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 2.8.0-beta
    • All Other Issues
    • None

      Menu: Tools > Options > Environment > Keyboard

      Try to define a shortcut "Alt+G" for any action:

      • Clear the current key sequence
      • Press "Alt+G" - "Meta+Alt+G" will be displayed.
      • Press the windows key - some artifacts are displayed (see attachment).

      Shortcuts with Ctrl and Shift seem to work.

      Digging around lead me to ShortcutSettings::translateModifiers

          // ...
          if (state & Qt::MetaModifier)
              result |= Qt::META;
          if (state & Qt::AltModifier)
              result |= Qt::ALT;
          // ...
      

      ...but that just gets the modifiers from the event. Looks like a Qt Bug, see linked bug.

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

            con Eike Ziller
            kosjar Nikolai Kosjar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes