Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QML menu does not close/dismiss
Forum Updated to NodeBB v4.3 + New Features

QML menu does not close/dismiss

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 1.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    CMRO
    wrote on last edited by A Former User
    #1

    Hi,

    I've got a Menu with MenuItems in Qml into my application compiled for WinRT / UWP.

    When I click the menu title, the list of MenuItems shows and I can select one as expected.

    If I want to close the menu, I can dismiss it with ESC key. I also expect this menu to be closed when I click anywhere else or by clicking the main Menu title again. This does no occur and I have no other possibility to close the menu than the ESC key.

    What should be the normal debahior of the menu ?
    Do I have to do anything to enable those actions (close when focus lost) ?

    I'm using Qt 5.7 compiled with MSVC2015.

    Thanks for you help.
    CMR

    1 Reply Last reply
    0
    • G Offline
      G Offline
      Gelldur
      wrote on last edited by
      #2

      Call Menu.popup to dismiss/close

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved