Bug 447783 - Plasma uses a language that has been removed and is no longer in the installed language list
Summary: Plasma uses a language that has been removed and is no longer in the installe...
Status: RESOLVED DUPLICATE of bug 192019
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_language (show other bugs)
Version: 5.23.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-01 15:43 UTC by Vytautas
Modified: 2022-01-12 19:32 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vytautas 2022-01-01 15:43:35 UTC
SUMMARY
Plasma sometimes uses a language that the user has removed and is no longer in the installed language list. (Not fixed by a restart)

STEPS TO REPRODUCE
1. Add a second language (If only one is installed)
2. Log out and log in
3. Remove The second language
4. Log out and log in

OBSERVED RESULT
Plasma uses a language that has been removed

EXPECTED RESULT
Plasma uses the default language

SOFTWARE/OS VERSIONS
Linux: 5.15.12
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
I was unable to reproduce it in KDE Neon, but was able to reproduce it in Arch twice.
Comment 1 Patrick Silva 2022-01-02 03:00:33 UTC

*** This bug has been marked as a duplicate of bug 420268 ***
Comment 2 Vytautas 2022-01-02 07:05:43 UTC
(In reply to Patrick Silva from comment #1)
> 
> *** This bug has been marked as a duplicate of bug 420268 ***

Nope, although both of our reports say that the problem is the use of a removed language, I was aware of bug#420268 and emphasised the fact that the language dissapeared from the menu while in bug#420268 the language remains
Comment 3 Vytautas 2022-01-02 09:00:08 UTC
Also for some reason it only uses the 2nd language after it has been removed. If I add the 2nd language back, all text returns to english.
Comment 4 Nate Graham 2022-01-12 19:07:54 UTC
Which languages are in your language list, and what order are they in?
Comment 5 Vytautas 2022-01-12 19:14:41 UTC
(In reply to Nate Graham from comment #4)
> Which languages are in your language list, and what order are they in?

For me it was:
- American English (default)
- Lithuanian
Comment 6 Nate Graham 2022-01-12 19:17:38 UTC
And what was your goal? Did you want your System to be in Lithuanian as much as possible, or American English 100% of the time? Or something else?
Comment 7 Vytautas 2022-01-12 19:19:56 UTC
(In reply to Nate Graham from comment #6)
> And what was your goal? Did you want your System to be in Lithuanian as much
> as possible, or American English 100% of the time? Or something else?

Yes, American Englis 100% of the time
Comment 8 Nate Graham 2022-01-12 19:32:36 UTC
OK, in that case you are experiencing Bug 192019, and the solution is to remove Lithuanian from the list entirely. The fact that the UI lets you set up an invalid state by putting any non-English language below an English language is a bug that will be fixed soon with an in-progress redesign that merges this page with the Formats page.

*** This bug has been marked as a duplicate of bug 192019 ***