Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
5.6.1, 5.6.2, 5.7, 5.8, 5.9
-
None
-
Linux/X11
-
c5af04cf8aa7bf2fbeaaf2a40f169fe8c17239f1
Description
QWindow::setMask() transforms Qt logical coordinates to real screen coordinates, but it provides incorrect region when provided region through a bitmap mask is already in physical coordinates (e.g. HiDPI pixmap).
Steps to reproduce:
- run application from
-DndMask.zip,QTBUG-61948 - X11 compositor must be disabled,
- start dragging.
Attached files:
- dragged pixmap from the example software (before-fix.png)
- dragged pixmap from the example software after bugfix (after-fix.png)
- source code (
-DndMask.zip)QTBUG-61948
Attachments
For Gerrit Dashboard: QTBUG-61948 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
200049,6 | HiDPI: Fix calculating window mask from pixmap on drag and drop | 5.11 | qt/qtbase | Status: MERGED | +2 | 0 |