How to fix QtWebEngine to obey Mac OSX auto-show scrollbar setting



  • On Mac, QtWebEngine does not obey the system setting for auto-show scroll bars:

    0_1515959078872_2018-01-14_11-44-23.png

    Instead of hiding the scrollbars until you use mouse or trackpad scrolling, it always shows the non-interactive scroll-indicators, and changes to scrollbars when you use mouse/trackpad.

    Anyone found a way to change this behavior without needing a Qt code change?

    This is easily repro'd in any Qt example, such as quick nano browser. I saw it with 5.9.2, 5.9.3, and 5.10.0, on macOS High Sierra 10.13.2. Chrome, and other Chromium-based apps such as those running on Electron don't exhibit this problem.

    Here's an example in our product, showing how ugly it is!
    0_1515962039455_2018-01-12_16-01-52.png

    I opened a Qt bug on this, https://bugreports.qt.io/browse/QTBUG-65745.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.