Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.2.4, 6.4.0 Beta3
-
None
-
f082458c46 (qt/qtbase/dev) f082458c46 (qt/tqtc-qtbase/dev) 7e804fb106 (qt/qtbase/6.4) 7e804fb106 (qt/tqtc-qtbase/6.4) fb5e472ad1 (qt/qtbase/6.3) fb5e472ad1 (qt/tqtc-qtbase/6.3) 5d22bfd65d (qt/qtbase/6.3) 42c7bb44f9 (qt/qtbase/6.4)
Description
Have system with two monitors e.g like.
qtdiag.txt
Run the attached example: dockwidgetIssue.pro main.cpp
Notice that the dock widget moves a lot (and to the wrong screen) when dragged out.
2022-08-30 14-40-37.mp4
This appears to happen because the widgets "start" position is stored, but it is a local coordinate when it is
docked and is expected to be a global coordinate when moved as not docked.
Attachments
For Gerrit Dashboard: QTBUG-106064 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
429910,1 | Fix dragging a docked QDockWidget [REG-fix] | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: NEW | 0 | 0 |
429769,4 | Fix dragging a docked QDockWidget [REG-fix] | dev | qt/qtbase | Status: MERGED | +2 | 0 |
429901,2 | Fix dragging a docked QDockWidget [REG-fix] | 6.3 | qt/qtbase | Status: MERGED | +2 | 0 |
429902,2 | Fix dragging a docked QDockWidget [REG-fix] | 6.4 | qt/qtbase | Status: MERGED | +2 | 0 |
429911,1 | Fix dragging a docked QDockWidget [REG-fix] | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: ABANDONED | 0 | 0 |
430829,2 | Refix QDockwidget drag out dockwidget | dev | qt/qtbase | Status: MERGED | +2 | 0 |
430985,2 | Refix QDockwidget drag out dockwidget | 6.3 | qt/qtbase | Status: MERGED | +2 | 0 |
430986,2 | Refix QDockwidget drag out dockwidget | 6.4.0 | qt/qtbase | Status: MERGED | +2 | 0 |
430987,2 | Refix QDockwidget drag out dockwidget | 6.4 | qt/qtbase | Status: MERGED | +2 | 0 |
430988,5 | Refix QDockwidget drag out dockwidget | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
430989,1 | Refix QDockwidget drag out dockwidget | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: ABANDONED | 0 | 0 |