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

Disabled TreeWidget scrollbar still reacts on mouse scroll wheel

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • 4.8.x, 5.0.0
    • 4.7.4
    • Widgets: Itemviews
    • None
    • openSuse 11.3
    • aec5b76b51fb1895f275ac4d413cc040cf88d519 9b439161ac7e85d7c54a403907d7b18843454f83

    Description

      I create a QTreeWidget with items in it so that the view also shows the vertical scrollbar.
      I set the widget to disabled and it is shown greyed out, which is OK.
      The scrollbar does not react on clicks (OK), but it still reacts on the mouse scroll wheel so I can still view
      all items, which is not correct.
      The viewport does not react on the wheel events but only the scrollbar.

      See attached example.

      Attachments

        Issue Links

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

          Activity

            People

              mmutz Marc Mutz
              mkoller Martin Koller
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes