When embedding a QQuickView inside a docked QDockWidget, QML Menu type context menu is misplaced. The misplacement may be greater or smaller depending on the size of the dock widget and size of the window. If the QDockWidget is not docked, there is no misplacement and the context menu is in a proper position.
Steps to reproduce:
- Run attached sample
- Click (mouse left button) on the red area inside the dockwidget
- EXPECTED: Context menu opens at the cursor position
- ACTUAL: Context menu opens with unspecified amount of y-offset