Bug 463794

Summary: graphic accents for regional configuration in Valencian language
Product: [Applications] systemsettings Reporter: Tàfol <tafol>
Component: kcm_regionandlangAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol, hanyoung, nate
Priority: NOR    
Version: 5.26.5   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In: 5.27
Sentry Crash Report:

Description Tàfol 2023-01-03 19:31:40 UTC
SUMMARY
graphic accents for regional configuration in Valencian
***
In the KDE Neon 5.26 distribution, if you set Valencian as the language in the regional settings [Catalan (ca@valencia)], the accents on the keyboard stop working. If you put the Catalan or Spanish language, it works.

This happens in both X11 and Wayland, but Wayland only happens in certain applications.
Examples:
Accents work in Firefox, Libreoffice, Inkscape under wayland
Accents do not work in Kwrite, Kate, Telegram Desktop, Dolphin under wayland

***


STEPS TO REPRODUCE
1.  Opens sistemsettings5 and go to "language and region"
2.  Modify language to "català (ca@valencia)"
3.  Exit or restart graphic session
4. Try to write at any app characters as è, é, à, á, etc.

OBSERVED RESULT
Characters are not reproduced with accents but without them (e, e, a, a)

EXPECTED RESULT
that come out written with graphic accents

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.26
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Kernel Version: 5.15.0-56-generic (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Processors: 16 × AMD Ryzen 7 4800H with Radeon Graphics
Memory: 30.8 GiB of RAM
Graphics Processor: AMD RENOIR
Manufacturer: SLIMBOOK
Product Name: PROX14-AMD
Comment 1 Aleix Pol 2023-01-04 01:39:02 UTC
Moving to systemsettings but it's likely elsewhere (Qt even?).

This happens after setting the LANG=ca_ES@valencia.UTF-8, I'm not sure why it would affect the keyboard response.
Comment 2 hanyoung 2023-01-04 13:59:04 UTC
The correct locale should be ca_ES.UTF-8@valencia, not sure if this is caused by the incorrect locale.
Comment 3 hanyoung 2023-01-04 14:00:47 UTC
kcm_regionandlang set wrong locale modifiers before, it's already been fixed: https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2472