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

            Bug ID: 467684
           Summary: .gtkrc-2.0 still gets re-created in spite of
                    GTK2_RC_FILES
    Classification: Applications
           Product: systemsettings
           Version: 5.27.3
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: kcm_style
          Assignee: plasma-b...@kde.org
          Reporter: 103020202...@gmail.com
                CC: m...@gikari.com
  Target Milestone: ---

SUMMARY
When using the "GNOME/GTK Settings Synchronisation Service" within KDE Plasma
5.27.3, the service continues to re-create a config file at `~/.gtkrc-2.0`
despite the fact that the `GTK2_RC_FILES` environment variable is set and
points to `$XDG_CONFIG_HOME/gtk-2.0/gtkrc`.

This also means that applications that use GTK2 will show up with an
improperly-configured style due to GTK2_RC_FILES not being acknowledged.

STEPS TO REPRODUCE
1. Set `GTK2_RC_FILES` to `$XDG_CONFIG_HOME/gtk-2.0/gtkrc`
2. Delete `~/.gtkrc-2.0`.
3. Open a GTK2 application (e.g. GIMP)

OBSERVED RESULT
- `~/.gtkrc-2.0` gets re-created upon new login session
- Application (e.g. GIMP) style doesn't get configured properly

EXPECTED RESULT
- No new `~/.gtkrc-2.0` (or `~/.gtkrc-2.0-kde4`) gets created
- GIMP gets configured based on the style configured at
`$XDG_CONFIG_HOME/gtk-2.0/gtkrc`

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Artix Linux (kernel 6.2.5-zen1-1-zen)
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8

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

Reply via email to