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

Access/Mnemonic key in Qt Control does not work for top level menu

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.2.0
    • 5.1.0 , 5.1.1
    • Quick: Controls 1
    • None
    • qtbase:e30bad8b244f935d8a025f94f7d20ee495bc43e1, qtquickcontrols:4eb3400843cafcedffa47fb8a272704bca4e9473

    Description

       menuBar: MenuBar {
              Menu {
                  title: "&File"
                  MenuItem { action: fileOpenAction }
                  MenuItem { text: "Qui&t"; onTriggered: Qt.quit() }
              }
      
      

      In above code snippet on windows hitting Alt+F does not pulls down the File menu but hitting Alt+t quits the application.

      Accesskey/Accelerator for menu bar item does not work. Run the following example to reproduce. Non of access key in menu bar works (Alt+F,Alt+E etc), It is not even underlined.
      QTDIR\examples\quick\controls\text

      Attachments

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

        Activity

          People

            dedietri Gabriel de Dietrich (drgvond)
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes