Bug 502498

Summary: If the keyboard layout lacks a country flag upon first boot; auto-identify the keyboard and add a country flag.
Product: [Applications] systemsettings Reporter: Fernando M. Muniz <fernandommuniz>
Component: kcm_keyboardAssignee: Fernando M. Muniz <fernandommuniz>
Status: RESOLVED NOT A BUG    
Severity: wishlist CC: butirsky, duha.bugs, natalie_clarius, nate
Priority: NOR Keywords: accessibility, usability
Version First Reported In: 6.3.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=498377
https://bugs.kde.org/show_bug.cgi?id=502585
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: I had to add this flag manually. I think the system could try to identify even when a distro doesn't.
I've put my language on the installer and Plasma's keyboard layout page didn't had my country flag.
Kubuntu 24.10

Description Fernando M. Muniz 2025-04-06 21:34:43 UTC
Created attachment 180048 [details]
I had to add this flag manually. I think the system could try to identify even when a distro doesn't.

I'm requesting that instead of defaulting to an EN-US keyboard if it's not configured, the system should try to identify the keyboard, and if it succeeds, add its country flag.

Maybe this classifies as https://invent.kde.org/plasma/plasma-workspace/-/issues/64
Comment 1 Nate Graham 2025-04-07 19:28:33 UTC
> If the keyboard layout lacks a country flag upon first boot
Then we should identify and fix that bug. We don't intentionally write code to work around our own bugs.

All the Portuguese keyboard layouts have flags for me, so this is a bug of some sort. Can you open a new bug report about that that details how exactly you manage to reproduce it? Thanks!
Comment 2 Fernando M. Muniz 2025-04-07 19:30:14 UTC
(In reply to Nate Graham from comment #1)
> > If the keyboard layout lacks a country flag upon first boot
> Then we should identify and fix that bug. We don't intentionally write code
> to work around our own bugs.
> 
> All the Portuguese keyboard layouts have flags for me, so this is a bug of
> some sort. Can you open a new bug report about that that details how exactly
> you manage to reproduce it? Thanks!

The flag works fine.
Comment 3 Fernando M. Muniz 2025-04-07 21:21:55 UTC
(In reply to Nate Graham from comment #1)
> > If the keyboard layout lacks a country flag upon first boot
> Then we should identify and fix that bug. We don't intentionally write code
> to work around our own bugs.

So if the installation or the user doesn't set a keyboard layout, Plasma can't identify the keyboard layout and add a country flag, or even recommend changing to it on that section?
Comment 4 Fernando M. Muniz 2025-04-07 22:36:36 UTC
Created attachment 180082 [details]
I've put my language on the installer and Plasma's keyboard layout page didn't had my country flag.

I've just installed Fedora Kinoite 41 on Boxes, and just like Arch Linux's Bug 498377 , Plasma's keyboard layout was empty.

So this can't be an Arch Linux issue like you said on the other bug.
Comment 5 Fernando M. Muniz 2025-04-07 23:18:22 UTC
Created attachment 180083 [details]
Kubuntu 24.10

On Kubuntu 24.10 (Plasma 6.1.5), has the US flag, definitely not what I set in this attachment.
Comment 6 Fernando M. Muniz 2025-04-08 03:50:44 UTC
Nate, are you sure this is actually a bug? Are all of these distros supposed to change the Plasma's keyboard layout for users outside the US?

So far they're either empty (which defaults to EN-US), or has the EN-US flag in Kubuntu's case.
Comment 7 Nate Graham 2025-04-08 15:55:16 UTC
Please stop re-opening bug reports I've closed, and follow instructions. We won't get anywhere otherwise. I asked for a new bug report that describes an actual problem, ideally using Steps To Reproduce so someone can try to make it happen.

Thanks.
Comment 8 Fernando M. Muniz 2025-04-08 23:09:21 UTC
Ok, created Bug 502585