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

David Redondo <k...@david-redondo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |NOT A BUG
                 CC|                            |k...@david-redondo.de
             Status|REPORTED                    |RESOLVED

--- Comment #6 from David Redondo <k...@david-redondo.de> ---
So Fedora ships 
/usr/share/kde-settings/kde-profile/default/share/config/kdeglobals 
 in
https://pagure.io/fedora-kde/kde-settings/c/3cd46daaf3a2fcfb8266364eed37ab7744760eb7
that sets

LookAndFeelPackage=org.fedoraproject.fedora.desktop

I assume  /usr/share/kde-settings/kde-profile/default/share/config/ is not in 
$XDG_CONFIG _DIRS.

Fedora also ships an /etc/kderc which reads 

[Directories]
profileDirsPrefix=/usr/share/kde-settings/kde-profile/
[Directories-default]
prefixes=/usr/share/kde-settings/kde-profile/default/

This seems to  to be an kde4 era mechanism to do some things
https://lxr.kde.org/search?%21v=kf5-qt5&_filestring=&_string=profileDirsPrefix
That aside /etc/kderc is not used by frameworks5 kconfig, I assume that's also
a kde 4 era file.
The correct file would be /etc/kde5rc
https://invent.kde.org/frameworks/kconfig/-/blob/master/src/core/kconfig.cpp#L98

Fedora needs to actually set the setting in  a file that is respected .
Typically this would be  /etc/xdg/kdeglobals or some other kdeglobals in  
$XDG_CONFIG_DIRS (If one really wants it even /etc/kde5rc).

The patch from comment #3 i.e.
https://src.fedoraproject.org/rpms/plasma-workspace/c/1857efd5370f81b74025578a9fbc0250bde7abf8?branch=1857efd5370f81b74025578a9fbc0250bde7abf8
is only half correct since it only changes the code default when reading the
setting. 
When global theme is changed in KCM to the one it thinks is the default one
(Breeze Light,) it doesn't write it down to any config file because the current
default matches the code default. So when startplasma reads that setting it
uses the code provided default and thinks the Fedora global theme is active but
not correctly applied and acivates it.

Tl;dr: Fedora is using a weird file/a file that does not have any effect.

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

Reply via email to