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

[REG 5.6.1->5.10.0] QDockWidget issue with moving by mouse

    XMLWordPrintable

    Details

    • Commits:
      837c388dd3549c9bbab8916570440342d82fcdb3 (qt/qtbase/5.12)

      Description

      Bug manifests itself by inability to move QDockWidgets with custom titlebar properly by mouse. This occurs if user:

      a) clicks on the edge of the title bar (top, left or right edge) and drags cursor outside of widget or

      b) clicks anywhere on the title bar and moves mouse fast upwards (or sideways)

      This bug can be reproduced with this example: qt5\examples\widgets\mainwindows\mainwindow\mainwindow.pro with "Blue Dock Widget".

      Steps to reproduce:

      • Run the example
      • Undock Blue Dock Widget
      • a) Click on upper edge of the title bar
      • Move mouse upwards (speed doesn't matter)
      • ACTUAL: Blue Dock Widget stays on old position
      • EXPECTED: Blue Dock Widget follows mouse cursor

       

      • b) Click and hold left mouse button over the title bar without moving it
      • Quickly move mouse upwards
      • ACTUAL: Blue Dock Widget stays on old position
      • EXPECTED: Blue Dock Widget follows mouse cursor

       Attached video contains this behaviour.

        Attachments

        1. bug_qdockwidgets.mp4
          443 kB
        2. qtdiag.txt
          11 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              iamsergio Sergio Martins
              Reporter:
              pavol_obuch Pavol Obuch
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes