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

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

XMLWordPrintable

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

      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

        1. syscolorbrowser.zip
          4 kB
        2. singleprocess.png
          singleprocess.png
          119 kB
        3. multiprocess.png
          multiprocess.png
          122 kB
        4. color-test.html
          4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes