Bug 500057 - Cannot edit the Label of an existing keyboard layout anymore
Summary: Cannot edit the Label of an existing keyboard layout anymore
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_keyboard (show other bugs)
Version: 6.3.0
Platform: Debian unstable Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2025-02-14 12:00 UTC by John
Modified: 2025-02-21 17:22 UTC (History)
6 users (show)

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


Attachments
English + Romanian + Spanish how they are now they are now (247.80 KB, image/png)
2025-02-14 12:00 UTC, John
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John 2025-02-14 12:00:53 UTC
Created attachment 178355 [details]
English + Romanian + Spanish how they are now they are now

SUMMARY
Regression compared to Plasma 5.27: Cannot edit the Label anymore

STEPS TO REPRODUCE
1. Open System Settings.
2. Navigate to Keyboard.
3. Click on the Enable toggle to be able to add a few layouts.
4. Add one or more layouts.
5. Try to find a way to edit the Label as before.

OBSERVED RESULT
The current interface (see the attached print screen)...
Is missing the "Label" column, which was displayed like this:
https://forum.manjaro.org/uploads/default/original/3X/e/4/e4e78293721b938b2308c10c4a13e602601072ce.png
It seems that the labels have been moved in front of each language, which is fine, but they are not editable / customizable anymore.
Because of this we are now stuck with some country codes instead of language codes, which are always 2 letters and always lowercase.

EXPECTED RESULT
I expect to be no regression here.
Meaning to have at least the same functionality as before.
When I first discovered that I could double-click the flags to edit them I thought it was a great feature, at least compared to Windows.
So, I started editing them to be initial letters of the languages like:
En, It, Ro
This improved their visibility in the system tray, but I still thought that it was not enough so I changed them like:
EN, IT, RO
And I have used them like this for years.
Besides the way better visibility on small screen than the lowercase counterparts, they also helped my parents to understand what language layout is the current one and what they have switched to.
For them and not only them, but also some of my friends things like:
us, de, es
country codes doesn't mean anything, but if they are:
en, ge, sp
Or:
eng, ger, spa
Are much easier to understand.
I don't know if before it was possible to also put 3 letters, like Windows 10 and 11 uses, as I never tried it.
But now you just cannot change anything and it's pretty bad for visibility and accessibility.

Please fix it by allowing us to at least be able to edit / customize it like before!
And like before allow us to make them mixed case or upper case if we want to!
The improvement of being able to move entries up and down by dragging them compared to clicking buttons how it was before it's not worth much if such important functionality is lost.

And if you want to improve this a bit too compared to how it was before.
Put the label on a separate column to be more clear that it's editable.
Before, being under the flag it was pretty hard to discover.
Probably this is also the reason why on redesign was lost as I assume even developers didn't know that it was there.

And as a second improvement, allow it to be set as 3 letters too!
Maybe someone would prefer it like Windows displays it or knows that their parents would understand better with 3 letters.

I guess some designers there thought the same things, like upper case letters are easier to read and 3 instead of 2 are also the better to understand.
And that the language initials are more important than country codes in the native language of the country:
This is how Windows 10 has it:
https://www.tenforums.com/attachments/general-support/232307d1556719712t-windows-10-keyboard-language-keeps-changing-languagechoices.jpg

Of course if you want make this (the 2 or 3 upper case language initials) the default it would be great, but I opened this to at least restore the functionality that was lost and that would make me happy.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.10.0
Qt Version: 6.7.2
Kernel Version: 6.12.13-amd64 (64-bit)
Graphics Platform: Wayland

HARDWARE SPECIFICATIONS
Hardware: Laptop Dell Inspiron 5770 (17" 1080p@60Hz screen)
CPU: Intel® Core™ i5-8250U CPU @ 1.60GHz
GPU 1: Mesa Intel® UHD Graphics 620 (main)
GPU 2: AMD Radeon R5 M465 Series
RAM: 8 GiB (7.7 GiB usable)
Comment 1 Nate Graham 2025-02-19 15:04:45 UTC
Can confirm. You can only change the label when adding a layout, but not again after that.
Comment 2 John 2025-02-19 16:01:48 UTC
Oh, I even missed the fact that there's an input field to change the label when the layout is added.
At least there's a workaround until this is fixed, so thanks for that too! :-)

BTW, before, when the label column existed you could've just double-click the flag icon on the Label column to enter edit mode.
On which the already existing two letter code was pre-selected so you could've just typed the new one over it.
I would want it the same, I mean as easy as that to edit it, if you don't have some other design in mind.
Comment 3 John 2025-02-19 16:35:35 UTC
But the ability possibility  of editing a label should be a bit more discoverable, if it's not too hard to do as I remember the first time I discovered by mistake, I'm not sure if there was at least a tooltip when you hovered the flag to let you know that double-clicking allow you to edit it.
Comment 4 Bug Janitor Service 2025-02-21 11:28:19 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2843
Comment 5 Ismael Asensio 2025-02-21 17:22:06 UTC
Git commit 7327baf04bf9917fe11a1ffe407cf321b3d67cbd by Ismael Asensio.
Committed on 21/02/2025 at 17:11.
Pushed by iasensio into branch 'master'.

kcms/keyboard: Allow to edit the layout display name

The display name of the layouts can be customized, but in the UI it
was only possible to set it when adding a new one.

Expose the setting also in the layout list, in a non-intrussive way
by giving the appearance of a label, which can be edited when given
focus either by click or keyboard.
FIXED-IN: 6.4

M  +27   -0    kcms/keyboard/ui/LayoutDelegate.qml
M  +2    -0    kcms/keyboard/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/7327baf04bf9917fe11a1ffe407cf321b3d67cbd