diff options
author | Thorbjørn Lund Martsum <tmartsum@gmail.com> | 2022-06-14 08:52:47 +0200 |
---|---|---|
committer | Thorbjørn Lund Martsum <tmartsum@gmail.com> | 2022-06-29 19:33:29 +0200 |
commit | 54f328f0e8205480749a6d8d2ebe0e58cb1cdb67 (patch) | |
tree | 7e092a26a24fc5389271465478010fddc1a12a64 /tests/auto/bic/data/qt.6.0.0.linux-gcc-amd64.txt | |
parent | c7231177df71879b6d3ebc48288a6d3d8fdab6d0 (diff) |
Fix QDockWidget move between screens with different dpr
When partly moved back and forth between screens
with different dprs (device pixel ratios)
unexpected jumps and size changes could occur.
(See the linked issue for details)
This patch maps global coordinates to native ones
and vice versa (in QDockWidgetPrivate::mouseMoveEvent()),
so that the calculated position is the right coordinate
on the right screen.
Pick-to: 6.4 6.3 6.2 5.15
Fixes: QTBUG-104205
Change-Id: I0e59792a946e0444fed2e2b857f2f8b140afc9b7
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'tests/auto/bic/data/qt.6.0.0.linux-gcc-amd64.txt')
0 files changed, 0 insertions, 0 deletions