Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-106064

[REG] Undocking QDockWidget with drag misplaces it (a lot)

    XMLWordPrintable

Details

    • 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

        1. 2022-08-30 14-40-37.mp4
          1.40 MB
        2. dockwidgetIssue.pro
          0.5 kB
        3. main.cpp
          2 kB
        4. qtdiag.txt
          10 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tmartsum Thorbjørn Lund Martsum
            tmartsum Thorbjørn Lund Martsum
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews