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

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.12.7, 5.15.2
    • Fix Version/s: None
    • Component/s: Quick: Controls 2
    • Environment:
      Windows 10 19042.685
    • Platform/s:
      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

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            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