Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-98648

Alt+Left shortcut doesn't work on MenuItem

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.15.2
    • Fix Version/s: None
    • Component/s: GUI: Menus
    • Labels:
      None
    • Environment:
      Windows 10
    • Platform/s:
      Windows

      Description

      The shortcut doesn't work in this simple snippet:

      import Qt.labs.platform 1.1 as Labs
      import QtQuick.Controls 2.15
      import QtQuick 2.15
      
      ApplicationWindow {
          width: 400
          height: 300
      
          Labs.MenuBar {
              Labs.Menu {
                  title: "&Control"
      
                  Labs.MenuItem {
                      text: "Back"
                      shortcut: "Alt+Left"
                      onTriggered: console.log("back")
                  }
              }
          }
      }
      

        Attachments

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

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            martindelille Martin Delille
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes