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

QStyleHints::wheelScrollLines broken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.12.4
    • Other
    • None
    • macOS, Windows

    Description

      Windows

      Changing "Multiple lines at a time" in Mouse Settings, with app running, doesn't make corresponding property (QApplication::wheelScrollLines or QStyleHints::wheelScrollLines) be updated.

      QApplication::wheelScrollLines have no signal
      QStyleHints::wheelScrollLines, signal (wheelScrollLinesChanged) isn't being emited.

      When app is restarted, both properties have the expected value from windows mouse settings.

      Workaround attempt:

      • Installed a nativeEventFilter for SPI_WHEELSCROLLLINES;
      • on event catched, emitted QStyleHints::wheelScrollLinesChanged signal
      • property id updated and can be observed from QML
      • nothing changes

      macOS

      Property values seems to be allways 3.

      Attachments

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

        Activity

          People

            owolff Oliver Wolff
            nuno.figueiredo Nuno Rafael Figueiredo
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes