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

QScroller gesture blocks mouse clicks

    XMLWordPrintable

Details

    • Linux/Wayland
    • 74f06bc0d (dev), 04b8b61ce (dev), 8e3344778 (6.8), 0dfa96aac (6.7), 84673a284 (tqtc/lts-6.5), 38ce3c67b (6.8), e5e03c588 (6.7)

    Description

      After commit https://codereview.qt-project.org/c/qt/qtwayland/+/554610/4 ("client: implement QWaylandScreen::topLevelAt()") elements in a QScrollArea can't be clicked anymore if a QScroller with grabGesture QScroller::LeftMouseButtonGesture is used.

      To reproduce this issue you can use: https://code.qt.io/cgit/qt/qtbase.git/tree/tests/manual/examples/widgets/itemviews/dirview, you just need to replace in main.cpp line 56:

      QScroller::grabGesture(&tree, QScroller::TouchGesture); 
      with
      QScroller::grabGesture(&tree, QScroller::LeftMouseButtonGesture);
      

       

      Attachments

        Issue Links

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

          Activity

            People

              liaqi Liang Qi
              h4nn35 Johannes Pointner
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: