On 24 September 2015 at 22:54, Jaroslaw Staniek <stan...@kde.org> wrote: > Dear All, > One more question about the theme setting behaviour or philosophy. In > a Plasma4 session I am using a custom prefix for KF5 libs and > KF5-based apps. > > Then in $XDG_CONFIG_HOME/.config5/kdeglobals editing setting > > [Icons] > Theme=.... > > does not seem to mean anything to these apps. > > Also having all the XDG_* variables set, while using systemsettings > (from Plasma4, I am testing support for non-Plasma5 environments) to > alter the icon theme I naively thought the kdeglobals file would be. > No, the host's "Plasma4's system" kdeglobals is altered instead. > > Why this behaviour? Is there any way to change icon theme in a local > PREFIX I use for KF5 software without altering the host's theme and > without using Plasma5 sessions?
One detail that adds more spice here: KIconTheme::current() naturally returns what we I have in $XDG_CONFIG_HOME/.config5/kdeglobals. So theme set in host's "Plasma4's system" kdeglobals is used for standard icons, and my custom icons depend on KIconTheme::current(). All what I said is tested with PREFIX/lib64/plugins/platformthemes/KDEPlatformTheme.so removed. Given multitude of scenarios I am really afraid of predictability of the result. People can have the old installation aside of new ones, in completely different config dirs, so I guessed it would be fine. Not saying it's the case but expecting users to more or less deeply refresh the OS configuration sounds a bit too Windows-y to me: I'd expect some separation. Well, integration can be harder than coding :) -- regards, Jaroslaw Staniek KDE: : A world-wide network of software engineers, artists, writers, translators : and facilitators committed to Free Software development - http://kde.org Calligra Suite: : A graphic art and office suite - http://calligra.org Kexi: : A visual database apps builder - http://calligra.org/kexi Qt Certified Specialist: : http://www.linkedin.com/in/jstaniek _______________________________________________ calligra-devel mailing list calligra-devel@kde.org https://mail.kde.org/mailman/listinfo/calligra-devel