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

            Bug ID: 417461
           Summary: KCM Color shouldn't use generic GTK CSS color classes
           Product: systemsettings
           Version: 5.17.5
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: kcm_colors
          Assignee: plasma-b...@kde.org
          Reporter: ongun.ka...@gmail.com
                CC: jpwhit...@kde.org, mwoehlke.fl...@gmail.com
  Target Milestone: ---

Created attachment 125876
  --> https://bugs.kde.org/attachment.cgi?id=125876&action=edit
Screenshot for Clearlooks Phenix

SUMMARY
While using theme_ for a uniform look between GTK and KDE it leads unintended
results. Not every GTK theme is designed to support colors but some of them
still use theme_* items which causes some GTK themes to break.

My proposed solution is using a completely different naming scheme (if GTK3
allows this) for Breeze-gtk and modifying kcm_color accordingly KDE's
@define-color items can have some prefix like kde_theme_fg_color in
~/.config/colors.css file.

STEPS TO REPRODUCE
1. Choose Breeze dark in kcm_color
2. Install gtk3-widget-factory
3. Download latest release Clearlooks-Phenix (
https://github.com/jpfleury/clearlooks-phenix )
4. Extract contents in a folder under ~/.themes . I will rename the top level
directory that contains index.theme as clearfoo
5. Run GTK_THEME=clearfoo gtk3-widget-factory

OBSERVED RESULT
Breeze-dark colors set in ~/.config/gtk-3.0/colors.css override some of the
colors of Clearlooks Phenix and break the theme.


EXPECTED RESULT
GTK themes other than the ones strive for KDE compatibility shouldn't be
affected by KDE's color settings.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1

ADDITIONAL INFORMATION
GTK version: 3.24.11

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

Reply via email to