Bug 462516

Summary: Portuguese (Brazil, Nativo for US keyboards) keyboard layout wrong key placement
Product: [Applications] systemsettings Reporter: leonardopsantos
Component: kcm_keysAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: cwo.kde, kde, kdedev, nate
Priority: NOR    
Version First Reported In: 5.24.6   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Portuguese (Brazil, Nativo for US keyboards) keyboard layout screenshot.

Description leonardopsantos 2022-12-01 19:22:32 UTC
Created attachment 154205 [details]
Portuguese (Brazil, Nativo for US keyboards) keyboard layout screenshot.

The "Portuguese (Brazil, Nativo for US keyboards)"keyboard layout key placement doesn't look at all like a regular US keyboard (ANSI-INCITS 154-1988) (see attachment for the keyboard preview). 

Also, I was expecting is a similar behaviour to the English (US, into., with dead keys), with a few following key differences mostly relating to how dead keys and diacritics are handled:

* Acute followed by c produces ç
    * Typing ' followed by any other consonant should not compose: '+s should not generate ś.
* Acute followed by a vowel produces that vowel with an acute:
    * '+a=á, '+e=é, etc
* Agrave ` followed by "a" produces à (a+agrave)
    * All the other vowels should not compose: typing `+o should produce "`o" and not "ò", as that does not exist in the Portuguese language.
* Typing " (double quote) followed by u produces ü (u+two overdots)
    * Typing " followed by any other letter (including vowels) should not compose: "+a should not generate ä.
* Tilde should only compose with the vowels "a" and "o"
* Circumflex should only compose with the vowels "a", "e", and "o"

I'd be glad to fix this if someone was willing to provide some links to how keyboard layouts are handled in KDE.

Iǘe tried to submit this bug under the 'libkde' component, but I couldn't find it in the list.
Comment 1 leonardopsantos 2022-12-01 19:26:21 UTC
I'm running:

Distributor ID: Ubuntu
Description:    Ubuntu 22.04.1 LTS
Release:        22.04
Codename:       jammy

Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.6
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-53-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i5-8265U CPU @ 1.60GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Comment 2 TraceyC 2025-06-20 20:01:37 UTC
Thanks for the bug report. I'm sorry we weren't able to get to this yet. There have been many fixes and improvements since this was reported, and this issue may have been fixed.

Can you please re-test on your system with Plasma 6.4.0 or later and let us know if you can still reproduce the problem? If you can, please set this report back to REPORTED. Thanks!
Comment 3 Bug Janitor Service 2025-07-05 03:47:27 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2025-07-20 03:47:15 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.