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

macOS: MenuBar creates invisible but focusable ghost item

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8.0, 6.9.1, 6.10.0 Beta1
    • Quick: Controls 2
    • None
    • macOS 15.5, "Full Keyboard Access" enabled
    • macOS

    Description

      When using a MenuBar on macOS, the menu bar is shown correctly on top of the screen and not as part of the UI. However, when enabling Full Keyboard Access in the macOS System Settings and iterating through the controls via "Tab", the hidden menu bar item is selected and highlighted.

      I've tried I think all combinations of focus: false, activeFocusOnTab: false, Accessibility.ignored: true without effect.

      If I make the menu text longer, the item gets wider, so this seems to be the menu that would be visible on other platforms, but is hidden on macOS.

      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
            frank.osterfeld Frank Osterfeld
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes