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

[REG 6.5.0-6.5.2][macOS] Emoji edit menu items are not visible in a specific case

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.5.4, 6.6.1, 6.7.0 FF
    • 6.5.2, 6.6.0 Beta3
    • QPA
    • None
    • macOS
    • 5994e94fd (dev), c31a90702 (6.6), 63e3d2267 (6.5)

    Description

      Emoji edit menu items are not visible if Platform MenuBar creation is postponed via Loader.
      Regression since Qt 6.5.2.

      Sample code

      import QtQuick
      import Qt.labs.platform as Platform
      
      Window {
          width: 640
          height: 480
          visible: true
      
          Loader {
              id: menuBarLoader
              active: false
              sourceComponent: Platform.MenuBar {
                  Platform.Menu {
                      title: 'Edit'
                      Platform.MenuItem { text: "Search..." }
                  }
              }
          }
      
          Timer {
              running: true
              interval: 500
              onTriggered: menuBarLoader.active = true
          }
      }
      

      Steps to reproduce:
      1. Build and run sample code
      2. Observe macOS menu bar
      3. Try to open system emoji panel (via "control+cmd+space" shortcut)

      Actual results: missing emoji edit items in the menu bar, emoji panel can't be opened via the shortcut
      Expected results: emoji edit items are present in the menu bar, emoji panel can be opened via the shortcut

      Attachments

        Issue Links

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

          Activity

            People

              vestbo Tor Arne Vestbø
              studiosus Vladimir Belyavsky
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: