Bug 504633

Summary: Broken UI elements in "add layout" menu in keyboard settings when using Russian localization and larger-than-average fonts
Product: [Applications] systemsettings Reporter: t.shanin
Component: kcm_keyboardAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: bharadwaj.raju777, butirsky, duha.bugs, evgeniyharchenko.dev, natalie_clarius, nate, yanexbug
Priority: NOR    
Version First Reported In: 6.3.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: How menu looks with russian language enabled

Description t.shanin 2025-05-21 18:41:11 UTC
Created attachment 181624 [details]
How menu looks with russian language enabled

SUMMARY
Some UI elements look out of their places in "add layout" menu in keyboard settings. Seems to be tied to localization since it looks fine with American English or Polish languages enabled. Occures both on X and Wayland.

STEPS TO REPRODUCE
1. Change language to russian in settings

OBSERVED RESULT
Broken UI elements.

EXPECTED RESULT
Normal menu layout.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 42
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.14.6-300.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × 12th Gen Intel® Core™ i5-12450H
Memory: 15.3 ГиБ of RAM
Graphics Processor: Intel® Graphics
Comment 1 Nate Graham 2025-05-22 14:46:40 UTC
Cannot reproduce with `LANGUAGE=ru_RU systemsettings kcm_keyboard` with the default font settings and the Breeze application style.

Does the issue go away for you if you use those default settings?
Comment 2 t.shanin 2025-05-22 17:47:52 UTC
(In reply to Nate Graham from comment #1)
> Cannot reproduce with `LANGUAGE=ru_RU systemsettings kcm_keyboard` with the
> default font settings and the Breeze application style.
> 
> Does the issue go away for you if you use those default settings?

Yes, it seems changing font settings to default helps
Comment 3 t.shanin 2025-05-22 17:51:25 UTC
Sorry, forgot to mention that I had all font sizes increased by one point
Comment 4 Nate Graham 2025-05-28 16:15:37 UTC
Can reproduce now. The problem is the dialog having a hardcoded size rather than expanding to fit the contents when needed.