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

On Windows, Qt.labs.platform Menu onAboutToShow and onAboutToHide signals not working correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.12.7, 5.15.2
    • Quick: Controls 2
    • Windows 10 19042.685
    • Windows

    Description

      When using Qt.labs.platform Menu component there are 2 issues with onAboutToShow and onAboutToHide signals:
      1. If Menu is used in MenuBar - onAboutToHide is never emitted
      2. If Menu is used as a context Menu - onAboutToShow is called multiple times (for me 3).

      Attached minimal project to reproduce issues.++

      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
            headhunter Roman Lazurak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes