https://bugs.kde.org/show_bug.cgi?id=492261
Bug ID: 492261
Summary: Some applications with the same name are sorted
differently depending on locale
Classification: Plasma
Product: plasmashell
Version: 5.27.11
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Application Menu (Kicker)
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: 1.0
Created attachment 172997
--> https://bugs.kde.org/attachment.cgi?id=172997&action=edit
en-us
SUMMARY
Some applications with the same name across languages are sorted differently
depending on locale.
STEPS TO REPRODUCE
1. Have KDE Connect or LibreOffice installed.
2. Open the KDE application menu (any of the alternatives with categories) and
open the Network/Office category.
OBSERVED RESULT
Depending on the configured KDE interface language, applications are sorted
differently.
- In English (US) or German, "KDE Connect" is first, "KDE Connect SMS" is
second; "LibreOffice" is first, then come "LibreOffice Base" etc.
- In Japanese or Russian, "KDE Connect" and "LibreOffice" are last; the rest
are sorted in the same order.
EXPECTED RESULT
For these languages and app names, I think they should be sorted in the same
way in Japanese and Russian as they are in English (US) and German.
For example, in Python sorting them using `locale.strxfrm(name).casefold()`
yields the same results as English (US) and German.
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: ALT Workstation K or KDE Neon
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.116.0
Qt Version: 5.15.13
ADDITIONAL INFORMATION
$ cat /usr/share/applications/org.kde.kdeconnect.app.desktop | grep -Ee
'^Name(\[(de|ja|ru)\])?='
Name=KDE Connect
Name[de]=KDE Connect
Name[ja]=KDE Connect
Name[ru]=KDE Connect
$ cat /usr/share/applications/org.kde.kdeconnect.sms.desktop | grep -Ee
'^Name(\[(de|ja|ru)\])?='
Name=KDE Connect SMS
Name[de]=KDE Connect-SMS
Name[ja]=KDE Connect SMS
Name[ru]=KDE Connect SMS
--
You are receiving this mail because:
You are watching all bug changes.