Priority: P3: Somewhat important
Affects Version/s: 5.15, 6.x
Fix Version/s: None
Component/s: Widgets: GraphicsView
Environment:Arch Linux, tested with both Qt 5.15 and Qt 6 but I guess the same issue would exist on other systems
The problem is :
If I :
- click on item A with the left mouse button,
- while keeping my LMB mouse pressed, move over another item B,
- do a right-click which triggers a context menu from B,
- release my LMB over the context menu
Then item A never gets the "release" for its original LMB press, which breaks the expected state machine.
I tried forcing a mousegrab or focus on itemA but this does not prevent the context menu event in itemB.
Most interestingly, it is still A which gets a right mouse press event even when the cursor is over B and the context menu is B's.
Here's a repro (wanted to attach it but Jira complains about some missing tokens issue ?)