[plasmashell] [Bug 469576] In Volume OSD, "100%" volume string is a multi-line string
Ismael Asensio
bugzilla_noreply at kde.org
Sat May 20 21:06:48 BST 2023
https://bugs.kde.org/show_bug.cgi?id=469576
Ismael Asensio <isma.af at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |isma.af at gmail.com
--- Comment #11 from Ismael Asensio <isma.af at gmail.com> ---
(In reply to Nicolas Fella from comment #9)
> This is caused by
> https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2795
>
> With the translations fixed the string now is e.g. "110 %" while before the
> untranslated string was "110%" (note the space between the number and
> percent). Whether you are affected by this therefore depends on your language
In case the translation has both a space in the actual string and the fixed
"maximum string" "100 %" (which is a fair assumption), it might be an issue
with `TextMetrics.width`, which has shown some problems in the past, specially
when measuring whitespaces (example:
https://bugs.kde.org/show_bug.cgi?id=421973 and
https://invent.kde.org/system/dolphin/-/merge_requests/22). Usually
`advanceWidth` provides a better value
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Visual-design
mailing list