Hello,
When right clicking my widget, popup menu appears.
When right clicking another time, it appears but is hidden as soon as we release mouse button.
The 3rd time, it's well, the 4th it's bad (hidden), etc...
To be noticed : the menu is hidden only when the menu appears on bottom-right of the mouse position.
(if I right click on the bottom-right of the screen/widget, the menu is forced to appears on top-left of the cursor end it's fine (never disappear).
I remember Konqueror was having the same problem.
But how to solve it ?
I use QWidget::contextMenuEvent(...) to trigger the menu.
Thank you.