Created attachment 139063 [details] screenshot SUMMARY When Plasma language is pt-br, translation does not fit to a spinbox in "Configure special window settings" window opened via context menu of a window decoration. Please see the attached screenshot. STEPS TO REPRODUCE 1. set Plasma language to pt-br 2. open "Configure special window settings" window via context menu of a window decoration 3. EXPECTED RESULT translation fits to the spinbox SOFTWARE/OS VERSIONS Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.22.80 KDE Frameworks Version: 5.83.0 Qt Version: 5.15.3 Graphics Platform: Wayland
LOL
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/1086
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/1092
Git commit 40d708f9c5614d37e638c2dd2e4ae67cd7b53f66 by Ismael Asensio. Committed on 10/06/2021 at 21:16. Pushed by iasensio into branch 'master'. kcm/kwinrules: Adapt spinbox width to actual text Use FontMetrics to calculate the expected max text width so it doesn't overflow with wider fonts, specially in some languages like pt_BR FIXED-IN: 5.22.1 M +12 -1 src/kcmkwin/kwinrules/package/contents/ui/RulesEditor.qml https://invent.kde.org/plasma/kwin/commit/40d708f9c5614d37e638c2dd2e4ae67cd7b53f66
Git commit 79ff49f4927d0d3fbecfeabc5962c51b82c3254b by Ismael Asensio. Committed on 10/06/2021 at 21:18. Pushed by iasensio into branch 'Plasma/5.22'. kcm/kwinrules: Adapt spinbox width to actual text Use FontMetrics to calculate the expected max text width so it doesn't overflow with wider fonts, specially in some languages like pt_BR FIXED-IN: 5.22.1 (cherry picked from commit 40d708f9c5614d37e638c2dd2e4ae67cd7b53f66) M +12 -1 src/kcmkwin/kwinrules/package/contents/ui/RulesEditor.qml https://invent.kde.org/plasma/kwin/commit/79ff49f4927d0d3fbecfeabc5962c51b82c3254b