Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
4.3.3
-
None
Description
When using a QMouseButtonPress in an application that for example adds items to a scene with QMouseButtonPress,
it is impossible to know when the QMouseButtonPress/QMouseButtonReleased is happening if a QEvent::ContextMenu event will follow.
When the context menu is shown it is not desired to have the same behaviour as a regular mouse button press.
The QMouseEvent does not have any notion of primary and secondary button, and will only given left or right mouse button, but not if they
are the primary button or secondary button which will cause a context menu event.
The QEvent::ContextMenu is correctly switched according to what button is currently set in the system preferences.
Attachments
Issue Links
- resulted from
-
QTBUG-1620 Mac: Suggestion for getting functionality in Qt to read which button is the primary mouse button
-
- Closed
-