Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. MenuItem can only be triggered by a second click

MenuItem can only be triggered by a second click

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 132 Views
  • 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.
  • Z Offline
    Z Offline
    Zhongxing Xu
    wrote on last edited by Zhongxing Xu
    #1

    Please take a look at

    https://bugreports.qt.io/browse/QTBUG-107124

    I have traced the problem. The press event is handled by QAbstractButton. Why does TreeView's contentItem's TapHandler still have a chance to handle the press event. It is this handler that sends a bogus focusOutEvent to the menu item, which interferes with the menu item triggering.

    The bug is assigned to the wrong team (graphics).

    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