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

Disabled TreeWidget scrollbar still reacts on mouse scroll wheel

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Duplicate
    • Affects Version/s: 4.7.4
    • Fix Version/s: 4.8.x, 5.0.0
    • Component/s: Widgets: Itemviews
    • Labels:
      None
    • Environment:
      openSuse 11.3
    • Commits:
      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

              Assignee:
              mmutz Marc Mutz
              Reporter:
              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