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

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.8.0 Beta
    • Fix Version/s: 5.8.0
    • Component/s: Quick: Controls 1
    • Labels:
    • Environment:
      Windows 10 64bit
      MSVC2015
    • Platform/s:
      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

            Assignee:
            mkalinow Maurice Kalinowski
            Reporter:
            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