Qt.labs.platform Menu Position Incorrect on HighDPI Displays
Unsolved
QML and Qt Quick
-
On Windows scaling settings other than 100% the Menu shows up in the wrong position, apparently wrongly scaled.
The suspected cause is the QML render window not being a topLevel window, and "QWindow::setTransientParent()" failing, causing a subsequent fail to convert to the proper position depending on that window in the QQuickLabsPlatformMenu implementation:
m_handle->showPopup(window, QHighDpi::toNativePixels(targetRect, window), menuItem ? menuItem->handle() : nullptr);
Is Qt.labs.platform supposed to work in applications rendering QML in a non-topLevel render window?
If yes then this is a bug I have not found a workaround for yet - makes it impractical to use on high resolution displays.