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

Slow platform menu popup when using a button whose text unset

    XMLWordPrintable

    Details

      Description

      With below QML file, when I click the button, the initial popup of platform menu is slightly delayed.
      If I set the text of button (by uncommenting), the delay is not observed.

      import QtQuick 2.9
      import Qt.labs.platform 1.0 as Platform
      import QtQuick.Controls 2.3
      
      Item {
          Platform.Menu {
              id: menu
              Platform.MenuItem {
                  text: "asd"
              }
          }
      
          Button {
      //        text: "text"
              onClicked: menu.open()
          }
      }
      

        Attachments

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

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            xylosper Byoung-young Lee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes