https://bugs.kde.org/show_bug.cgi?id=448877

            Bug ID: 448877
           Summary: kde-gtk-config doesn't work as expected when switching
                    preferred color scheme.
           Product: systemsettings
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: kcm_desktoptheme
          Assignee: plasma-b...@kde.org
          Reporter: emi...@crisal.io
  Target Milestone: ---

SUMMARY

See the discussion in https://bugzilla.mozilla.org/show_bug.cgi?id=1734934#c17
and following. STR are just having Firefox or other GTK apps with the breeze
theme and switching color-scheme.

I think there are various issues in the kde-gtk-module:

 * I _think_ `ConfigEditor::addImportStatementsToGtkCssUserFile` is
unnecessary, since the colorreload module will also load the colors.css file.
Worse, it prevents colorreload from actually doing its job, since the `gtk.css`
loaded statements won't be removed. This causes Firefox and other GTK apps need
a full restart to see theme changes.

 * `GtkConfig::setDarkThemePreference` is not harmful, but seems redundant with
the newer portal-based settings.

 * The default Breeze theme doesn't react to the
`gtk-application-prefer-dark-theme` setting, since it will use the colors from
`colors.css` unconditionally.

All these issues cause GTK apps seem less polished than they should, even
though there's nothing those apps can realistically do to avoid it.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 36
KDE Plasma Version: 5.23.90
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.17.0-0.rc0.20220112gitdaadb3bd0e8d.63.fc36.x86_64 (64-bit)
Graphics Platform: Wayland

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to