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

Vertically scrolling on a horizontal view should scroll horizontally

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.4.1
    • None
    • Qt 5.4.1 on Kubuntu 15.04

    Description

      It is not possible to scroll through a horizontal-only ListView using a vertical mouse wheel. This is possible in widget-based applications, as long as the view cannot be scrolled vertically.

      ListView {
          id: view
          anchors.fill: parent
          model: 50
          orientation: ListView.Horizontal
          delegate: Rectangle {
              width: height
              height: view.height
              color: index % 2 === 0 ? "#f0f" : "#0f0"
          }
      }
      

      Given the view can only be scrolled horizontally, using a vertical mouse wheel (regular mouse or vertical swipe on a touchpad) should scroll it horizontally, even when not pressing Alt.

      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
            broulik Kai Uwe Broulik
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes