Re: kdelibs4support and KDE colors

Ingo Klöcker <[email protected]> Thu, 13 Mar 2025 13:54:40 +0100
Newsgroups gmane.comp.kde.devel.core
Message-ID <2738223.vuYhMxLoTh@daneel>
On Donnerstag, 13. März 2025 11:58:36 Mitteleuropäische Normalzeit Martin 
Koller wrote:
> I recently got a bug report for kolourpaint saying it's missing the
> KDE colors in the KF6 version, just to find out that these color definition
> files were part of kdelibs4support (don't ask me why) which got removed.
> 
> So how to solve this?
> Are these color files (e.g. /etc/xdg/colors/40.colors,
> /etc/xdg/colors/Web.colors, ...) not used by any other application than
> kolourpaint (then I simply could put them in the kp repo) ?

This code looks for those files
https://lxr.kde.org/source/frameworks/kguiaddons/src/colors/
kcolorcollection.cpp#0103

Only Kolourpaint seems to use this function
https://lxr.kde.org/search?%21v=kf6-qt6&_filestring=&_string=installedCollections&_casesensitive=1

Nothing else seems to look for the "colors" folder:
https://lxr.kde.org/search?%21v=kf6-qt6&_filestring=&_string=%22colors%22&_casesensitive=1

Regards,
Ingo
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQTbjgIOMowwlCBgvyGxb1mVFkdKugUCZ9LVkAAKCRCxb1mVFkdK
uuAPAPkBtLOyPX5lz4DjAwZKWeOC0hANzQdZctcbjwnyu/UO4AEA8R7p+beRqxXS
fimw5Cce+u2tlRM1xgxLDGLXqbm0JwI=
=E9uN
-----END PGP SIGNATURE-----