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

DragHandler broken with QT6 and Wayland

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • None
    • 6.0.0
    • WebEngine
    • None
    • Linux/Wayland

    Description

      On QT6, when using DragHandler, dragging a scrollbar upwards, passing the pointer through a DragHandler and then releasing the button outside the scrollbar, does not cancel the scrollbar press. So when the mouse is returned to the window scrollbar is still active and page contents are dragged around and/or window is moved.

      To replicate add the following to Toolbar in webengineaction

      DragHandler {
                  onActiveChanged: if (active) {
                              window.startSystemMove();
                            }
                  target: null          
                }
      

      This may also happen with plain QML examples, but I didn't find any with a scrollbar in qtdeclarative.

      Attachments

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

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            testmode Test Mode
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes