Bug 456286

Summary: When locale-gen support is disabled in the new language KCM, changing languages has no effect
Product: [Applications] systemsettings Reporter: Luca Beltrame <lbeltrame>
Component: kcm_regionandlangAssignee: Eike Hein <hein>
Status: RESOLVED FIXED    
Severity: normal CC: hanyoung, nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.26
Sentry Crash Report:

Description Luca Beltrame 2022-07-03 15:57:00 UTC
SUMMARY

When building the KCM without support for "locale-gen" (not needed in openSUSE;  see bug 456285), adding or removing languages has no effect.

STEPS TO REPRODUCE
1.  Open the KCM
2.  Click on "Change it..." next to language
3.  Add another language in addition to the current one 
4. Save changes
5. Log out
6. Log back in
7. Open the KCM
8. Click on "Change it..." next to language
9. Check the language list

OBSERVED RESULT

The new language added is no longer present.

EXPECTED RESULT

The newly added language should be present.

SOFTWARE/OS VERSIONS
KDE Plasma Version: latest master
KDE Frameworks Version: latest master
Qt Version:  5.15.5 + latest KDE patches

ADDITIONAL INFORMATION
Comment 1 Bug Janitor Service 2022-07-03 16:18:29 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1891
Comment 3 Nate Graham 2022-07-07 16:02:14 UTC
Fixed with the commits in https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1891.