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

QScroller doesn't work in QStackedWidget with multiple widgets

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.10.1, 5.11.1
    • None
    • Linux/X11, Windows

      The QScroller doesn't work in a QStackedWidget with more than 1 widget that uses the QScroller::grabGesture(this, QScroller::LeftMouseButtonGesture);

      Only the first widget that uses the scrolling will be able to use it, all the other widgets in the QStackedWidget will not. When two QStackedWidgets are stacked on each other, only 1 widget in 1  QStackedwidget  will work and none of the others. 

      I attached a simple program that has 4 widgets, all using the QScroller of which
      2 are in a QStackedWidget,  only 1 of the 2 widgets in the QStackedWidget will work. 

       

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            mino Michel van Noorloos
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes