Bug 449405

Summary: US keyboard layout still shows in the system tray after deletion.
Product: [Plasma] plasmashell Reporter: taigo5
Component: Keyboard LayoutAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: minor CC: butirsky, fabian, nate
Priority: NOR    
Version: 5.23.5   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=449531
Latest Commit: Version Fixed In: 5.24
Sentry Crash Report:
Attachments: US layout is only shown in the tray but is deleted in the system settings.

Description taigo5 2022-01-31 09:17:36 UTC
Created attachment 146094 [details]
US layout is only shown in the tray but is deleted in the system settings.

SUMMARY
After deleting in my case the US keyboard layout in the system settings the layout still shows and applies in the system tray.


STEPS TO REPRODUCE
1. Go to System Settings >  Input Devices > Keyboard and choose the "Layouts" tab.
2. In the layouts add another layout (in my case UK) if you haven't already and delete the US one that should be there by default.
3. Delete the US keyboard layout so that only one remains.

OBSERVED RESULT
In the system settings the US layout is gone, however if you look at your system tray there should be a little icon that shows the current keyboard layout which is set to US layout. If you click on it it still switches to UK but switching apps defaults it to US.

EXPECTED RESULT
After deleting the US keyboard layout the layout should also not appear in the system tray.

SOFTWARE/OS VERSIONS
OS: Arch Linux
Linux Kernel: 5.16.2-arch1-1
KDE Plasma Version: 5.23.5

ADDITIONAL INFORMATION
Comment 1 Andrey 2022-01-31 11:22:39 UTC
Wayland is the same?
Comment 2 Nate Graham 2022-02-01 22:53:50 UTC
Can confirm on Wayland.
Comment 3 Fabian Vogt 2022-02-02 20:42:48 UTC
I can't reproduce the issue here on either Wayland or X11 using git master from a few days ago.
Comment 4 Nate Graham 2022-02-02 23:00:10 UTC
My mistake, what I'm actually seeing on git master is the reverse of what's described here: when I start from one layout and add a second one, the applet doesn't appear in the System Tray until plasmashell is restarted. However if I remove the second one and go back to one, it hides itself immediately, as you also see.

So I guess this is fixed, and I've filed Bug 449531 for that other issue.
Comment 5 Andrey 2022-02-03 12:03:17 UTC
Thanks guys.
I wonder how many regressions we see in this area which I supposed to be relatively stable..