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

Underline for context menu does not follow windows standard behaviour

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.12.2
    • GUI: Menus
    • None
    • Windows 7 and Windows 10
    • Windows

    Description

      Qt follows the windows system preference to show or not show access keys (the underlined letter in menu items) correctly for basic menu's. However, it seems that 1 small detail of standard windows behaviour is not followed: taking notepad and visual studio as an example, if I bring up a context menu using the mouse, no underlined access keys are visible. However, if I bring up the context menu using the context menu key on my keyboard (or the shift+f10 key combo), access keys are underlined in notepad and visual studio, but not in Qt applications.

      On top of that, I cannot find any way to work around this (I would like to be able to tell my context menu to show the access keys). All I found so are solution to create a style proxy ( https://doc.qt.io/qt-5/qproxystyle.html#details ) which does this globally.

      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
            legolas Arnt Witteveen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes