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

QtWebEngine: System colors are not rendered with --single-process

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • None
    • 5.13.2
    • WebEngine
    • None
    • macOS 10.14.6
    • macOS

    Description

      On macOS with Qt 5.13.x QtWebEngine does not display system colors when launched with the --single-process command line option.
      It worked with Qt 5.12.x

      I think, that the changes in qtwebengine/src/3rdparty/chromium/content/browser/theme_helper_mac.mm are responsible for the behaviour.

      I attached a simple example, which calls the system colors demo site from above. The results are in singleprocess.png and multiprocess.png

      Chromium Commit:
      https://chromium.googlesource.com/chromium/src/+/0694f7c1f92d46137fe536f1fde23963fccac0b5

      Attachments

        1. color-test.html
          4 kB
        2. multiprocess.png
          multiprocess.png
          122 kB
        3. singleprocess.png
          singleprocess.png
          119 kB
        4. syscolorbrowser.zip
          4 kB

        Issue Links

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

          Activity

            People

              qt_webengine_team Qt WebEngine Team
              salbrecht Samuel Albrecht
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes