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

Keyboard shortcut for menu also opens first sub-menu under Windows 10

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.9.8
    • GUI: Menus
    • None
    • Windows 10 Enterprise v1803
    • Windows

    Description

      Keyboard shortcuts such as Alt, F open menus from the menu bar in many applications.  The first item (action or sub-menu) of the menu is then highlighted.

      However, the behaviour if the first action is a sub-menu has changed under Windows 10.  There, the first sub-menu is also opened without the user pressing its shortcut key.  This means that it is no longer possible to select an item from the first menu, unless the user explicitly closes the sub-menu using the Escape or left arrow keys, or resorts to the mouse.

      This behaviour can be observed in Qt applications including QtCreator 4.3.1, as well as my own Qt application (built using either MSVC 2012 or 2015, x86-pe-64bit).  Opening the Debug menu using shortcut Alt, D also opens sub-menu Start Debugging on Windows 10.  On Windows 7, only the Debug menu is opened.

      A broad range of Qt versions seems to be affected, from 4.8 or earlier to 5.9 or later.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            major_tom3 Tom Boddington
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes