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

QScroller doesn't work in QStackedWidget with multiple widgets

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.10.1, 5.11.1
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      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

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            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