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

Inactive components not correcly rendered in dark-mode environments in Qt 6.5.0

    XMLWordPrintable

Details

    • Linux/X11
    • 4cffb3b5f (dev), 3e971798e (6.6), 937469f06 (6.5)

    Description

      After upgrading to PySide 6.5.0 (the Qt implementation for python), the rendering of inactive components (e.g. an inactive button, as in the screenshot below) does not work properly when the operating system is in dark-mode.

      Specifically, it appears that inactive components are always rendered in "light mode", even if the environment is in "dark mode". If the component is made active, then it gets proper rendering (coloring), the problem only occurs when the component is inactive.

      The application behaves as expected when run with PySide 6.4.x, but updating to PySide 6.5.x breaks it.

      In addition, tooltips are also not properly displayed under PySide 6.5.x anymore (but they work as expected under PySide 6.4.x).

      The issue affects linux machines (tested on Ubuntu 20.04 and above), but does not appear on Mac OS (not tested on Windows).

       

      Additional note: The issue is reproducible with Qt 6.5.3

      Attachments

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

        Activity

          People

            santhoshkumar Santhosh Kumar Selvaraj
            robin.engler Robin Engler
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes