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

QScroller doesn't work in QStackedWidget with multiple widgets

    XMLWordPrintable

Details

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

    Description

      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. 

       

      Attachments

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

        Activity

          People

            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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes