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

QScrollBar: unpressed scroll buttons look pressed on QWindowsStyle

    XMLWordPrintable

Details

    • a31dd2e995c91a5e3e429ad76afc90c0a2af3dcf

    Description

      QWindowsStyle considers QStyle::State_On as pressed, whereas QMacStyle uses the same state for transient scrollbars. Perhaps it would be best to avoid this confusions by having a dedicated state for transient scrollbars, but it's a bit late for that in Qt 5.0.0. Thus, to indicate transient scrollbars, QScrollBar::initStyleOption() should set QStyle::State_On only when the current style actually supports transient scrollbars.

      Attachments

        For Gerrit Dashboard: QTBUG-28523
        # Subject Branch Project Status CR V

        Activity

          People

            Unassigned Unassigned
            jpnurmi J-P Nurmi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes