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

Cannot dock QDockWidget with stylus input after undocking

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.2.12, 6.8.3, 6.9.1
    • None
    • Windows 11 Pro
      Qt 6.9.1 MSVC2022 64bit
      Wacom Pen Tablet model: CLT-4100WL
    • Windows

      When using a stylus pen, after undocking a QDockWidget, it cannot be re-docked by dragging the floating window back into a dock area.

      • This issue occurs only with stylus input.
      • In Qt 5.15, docking with a stylus works correctly.
      • If the widget is dragged into the dock area as part of the same drag operation that caused the undocking, docking still works. The problem occurs only when trying to re-dock after the widget has already been undocked.

      Expected behavior:
      A QDockWidget should be dockable into a dock area even when dragged with a stylus pen after it has been undocked.

      Steps to reproduce:

      1. Extract and build the attached dock_test.zip.
      2. Run the application.
      3. Use a stylus pen to drag the dock widget and undock it.
      4. Try to drag the undocked dock widget with the stylus pen back into the dock area.
      5. Observe that the widget does not dock.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            srutledg Shawn Rutledge
            ayamamoto Atsushi Yamamoto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes