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

Qml Menu does not hide on 2nd click or when focus is lost on UWP / WinRT

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.8.0
    • 5.8.0 Beta
    • Quick: Controls 1
    • Windows 10 64bit
      MSVC2015
    • WinRT

    Description

      Add a simple menu to the calendar exemple projet :

      main.qml
          [...]
          menuBar: MenuBar {
              id: m_nMenuBar
      
              Menu {
                  title: "Menu"
      
                  MenuItem {
                      text: "Item"
                  }
              }
          }
          [...]
      

      What is expected :

      • When I click on the menu "Menu", a list with "Item" shoudl be shown.
      • When I click again on "Menu", it should disappear.
      • When I click anywhere else that on the menu, the menu shoud disappear

      What happens :

      • When I click on the menu "Menu", a list with "Item" is shown.
      • When I click again on "Menu", nothing happens.
      • When I click anywhere else that on the menu, nothing happens.

      Checkout Qt 5.8 from git : 10 nov / aba872f2dd1edcba9a850b963acfa9795e2e1aee

      Attachments

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

        Activity

          People

            mkalinow Maurice Kalinowski
            cmr Christian Müller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes