You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever we use the plug to install/remove languages, the list of installed languages displayed in the sidebar is not updated to reflect the new reality.
Steps to Reproduce
Install or remove a language
See that the change is not reflected in the sidebar
Restarting switchboard causes the state to update
Expected Behavior
Languages that are removed should be removed from the list on successful removal
Languages that are installed should be added to the list on successful installation
OS Version
6.x (Odin)
Software Version
Latest release (I have run all updates)
Log Output
No response
Hardware Info
No response
The text was updated successfully, but these errors were encountered:
Looking at this some more, Gnome.Languages.get_all_locales () has its own internal cache (that you can't clear), so we don't even need our cache here.
However, we'll need to see if we can ask upstream for a way to drop these caches and/or fake this by modifying the visual representation of which languages appear in the list when they're added/removed.
What Happened?
Due to the cached array here:
switchboard-plug-locale/src/Utils.vala
Lines 31 to 35 in a2e2314
Whenever we use the plug to install/remove languages, the list of installed languages displayed in the sidebar is not updated to reflect the new reality.
Steps to Reproduce
Expected Behavior
Languages that are removed should be removed from the list on successful removal
Languages that are installed should be added to the list on successful installation
OS Version
6.x (Odin)
Software Version
Latest release (I have run all updates)
Log Output
No response
Hardware Info
No response
The text was updated successfully, but these errors were encountered: