Created attachment 134747 [details] Blank error message With the big new KCM rewrite, I can no longer apply new themes. This worked the first time I tested the KCM, but seems to have broken sometime between then and when it was merged. When I select a different theme and click on the "Apply" button, I get a blank error InlineMessage at the top of the KCM, and the new theme is not applied. See attached screenshot. Nothing particularly relevant is printed to the console.
David, could you have a look? Thanks!
I tested again and it works but testing locally is a bit pelicular. 1. The usual kauth in a prefix things 2. Sddm uses config files in /etc and in /usr/lib but I am not sure what happens if sddm is also installed in a prefix. The kcm uses cmake to set the paths https://invent.kde.org/plasma/sddm-kcm/-/blob/master/src/CMakeLists.txt#L1 which will set them to your prefix if you install it to your prefix. I lack context to why this was done. 3. The blank error message is not good, we should probably fallback to errorText() if errorString() is empty and always print errorText()
1. I copy my prefix kauth stuff to / 2. I don't have a local SDDM build in the prefix path
That's why I am suspecting it is not working. The kcm writes to the prefix (for example ~/kde/usr/etc/sddm.conf.d/) but your sddm reads only from (/etc/sddm.conf.d/)
FWIW I was able to apply new themes with the old KCM even installed to a prefix.
(In reply to Nate Graham from comment #5) > FWIW I was able to apply new themes with the old KCM even installed to a > prefix. Huh? The config file path generation and saving (via the helper) is the same as the old kcm. See the link above it uses CMAKE_INSTALL_FULL_SYSCONFDIR and on my machine this evaluates to a path in my prefix One thing which then could be wrong is that we do not pass the correct arguments to the kauth helper, I will take another look
I can repduce it but do not understand why it broke without touching the files
Ok it worked for me, stopped working consistently (see above) and then I rebuild the kcm and kauth a bunch of times and it works again. I tested in a fresh neon unstable vm and there it works too
Now that Plasma 5.21 is released, this is moot, since it works with released packages.