SUMMARY I Can’t save preferences in kcm_sddm. STEPS TO REPRODUCE 1. kcmshell5 kcm_sddm 2. Modify preferences and try to save them, per https://imgur.com/nPH2SMX OBSERVED RESULT They don't save, per https://imgur.com/nPH2SMX EXPECTED RESULT The preferences should save. SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20230612 KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.107.0 Qt Version: 5.15.9 Kernel Version: 6.3.6-1-default (64-bit) Graphics Platform: X11 Processors: 12 × AMD Ryzen 5 3600 6-Core Processor Memory: 31.2 GiB of RAM Graphics Processor: AMD Radeon RX 5700 ADDITIONAL INFORMATION https://discuss.kde.org/t/cant-save-preferences-in-kcm-sddm/2104?u=rokejulianlockhart
Created attachment 159664 [details] kcmshell5 launch log. https://discuss-cdn.kde.org/uploads/default/original/2X/0/066dd2d17781ad725b29d47f6276dd875e3c9c3d.png
Created attachment 159665 [details] Replication of the issue https://imgur.com/nPH2SMX
Created attachment 159666 [details] sddm_kcm's main.qml file https://discuss.kde.org/t/cant-save-preferences-in-kcm-sddm/2104/4?u=rokejulianlockhart
Ok, so two things are going on here. 1. The KCM is failing to save, for an unknown reason 2. The code to show an error message in this circumstance is broken, since https://invent.kde.org/plasma/sddm-kcm/-/commit/d6d13d382b4b7d4b452c890004f639b6eea20670 where a variable was renamed in only 2 out of 3 places. I'll fix #2 right now. You can fix it yourself on your system by changing "message" to "untranslatedMessage" in line 31 of main.qml. Then you can try saving again and it will show you the actual error message. Let's use this bug report to track the broken error message code. Then you can post about the reason why it's failing in https://discuss.kde.org/t/cant-save-preferences-in-kcm-sddm/2104
A possibly relevant merge request was started @ https://invent.kde.org/plasma/sddm-kcm/-/merge_requests/53
Git commit 7be4a80ee2745134108188891241c401bada5cfe by Nate Graham. Committed on 14/06/2023 at 23:40. Pushed by ngraham into branch 'master'. Fix showing error messages In main.qml,`message` was renamed to `untranslatedMessage` with d6d13d382b4b7d4b452c890004f639b6eea20670, but only in 2 out of the 3 places where it's used. FIXED-IN: 5.27.6 M +1 -1 src/ui/main.qml https://invent.kde.org/plasma/sddm-kcm/-/commit/7be4a80ee2745134108188891241c401bada5cfe
Git commit d8ca15e88a15df26859a79a376056a222f7d63bd by Nate Graham. Committed on 14/06/2023 at 23:45. Pushed by ngraham into branch 'Plasma/5.27'. Fix showing error messages In main.qml,`message` was renamed to `untranslatedMessage` with d6d13d382b4b7d4b452c890004f639b6eea20670, but only in 2 out of the 3 places where it's used. FIXED-IN: 5.27.6 (cherry picked from commit 7be4a80ee2745134108188891241c401bada5cfe) M +1 -1 src/package/contents/ui/main.qml https://invent.kde.org/plasma/sddm-kcm/-/commit/d8ca15e88a15df26859a79a376056a222f7d63bd