MenuItem can only be triggered by a second click
Unsolved
QML and Qt Quick
-
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).