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

ScrollBar fails to respond to clicks inside a ScrollView

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.10.0, 5.11.0
    • Quick: Controls 2
    • None
    • Mac running 10.13, using Quick Controls 2 5.10 or 5.11

       

       
    • macOS

    Description

      Creating a custom ScrollBar inside a ScrollView renders the ScrollBar unable to handle clicks, although it still responds to gestures. Sample app code attached. 

      Code sample can also be found at 

      https://forum.qt.io/topic/91447/scroll-bar-not-responding-to-clicks

      A forum poster points out that changing the ScrollView to a Flickable enables the ScrollBar to work normally. In addition, moving the ScrollBar in from the right side of the ScrollView enables the thumb to be clicked on. 

      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
            igor1882 david ralley
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes