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

QtWebEngine always shows scrollbars on Mac despite system setting

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.15.1
    • 5.9.2, 5.9.3, 5.10.0
    • WebEngine
    • None
    • macOS (I'm using High Sierra 10.13.2), iMac 5K

       
    • macOS
    • daf822dc41ce7c8acb7225cf17bbb269d6cc77ee

      Can be seen with the Quick Nano Browser example on macOS. Build and run, and show a page that is long enough to scroll.

      On a Mac, with "Show scroll bars" set to "Automatically", the scrollbar shouldn't be visible unless you initiate scrolling with mouse or trackpad.

      However, the scrollbar is always visible. This is not the case in other Chromium-based surfaces such as Electron (e.g. Slack) or Chrome. This is a significant problem in our actual QtWebEngine-based product, which has numerous scrolling areas and looks terrible with all these scrollbars (screenshot also attached).

        1. 2018-01-12_15-56-00.png
          2018-01-12_15-56-00.png
          382 kB
        2. 2018-01-12_16-01-52.png
          2018-01-12_16-01-52.png
          259 kB
        3. 2020-06-30_16-19-46.png
          2020-06-30_16-19-46.png
          2.13 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt_webengine_team Qt WebEngine Team
            garagorn Gary Ritchie
            Votes:
            4 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes