https://bugs.kde.org/show_bug.cgi?id=433297

            Bug ID: 433297
           Summary: Locale-aware alphabetic index/category in kickoff for
                    non-English applications
           Product: plasmashell
           Version: master
          Platform: Other
                OS: All
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Application Launcher (Kickoff)
          Assignee: k...@davidedmundson.co.uk
          Reporter: wzc782970...@gmail.com
                CC: mikel5...@gmail.com, plasma-b...@kde.org
  Target Milestone: 1.0

SUMMARY

Currently, the kickoff uses the first character in the application entry name
to do the alphabetic indexing [1], makes non-English application also use its
first character as an index/category. For CJK or other non-English users that
have a lot of applications with non-English names, it'll be less useful and
confused.

[1]
https://github.com/KDE/plasma-workspace/blob/a5c7df39460eff7454f992a2307753bfb1eb095f/applets/kicker/plugin/rootmodel.cpp#L374-L390

For example, in a Chinese locale environment, there are some applications
names:

 * System Settings // just showcase what will happen if there are also English
application
 * 音乐播放器 // Audio player in English, Yinyue bofangqi in pinyin.
 * 视频播放器 // Video player in English, Shipin bofangqi in pinyin
 * 游戏中心 // Game center in English, Youxi zhongxin in pinyin
 * 手机助手 // Phone manager in English, Shouji zhushou in pinyin

There will be five indexes/categories in the current implementation, each index
contains only one entry, like:

S --------
 * System Settings
视 --------
 * 视频播放器
手 --------
 * 手机助手
音 --------
 * 音乐播放器
游 --------
 * 游戏中心

If we could do locale-aware alphabetic indexing, it could look like this, with
two indexes/categories:

S --------
 * System Settings
 * 视频播放器
 * 手机助手
Y --------
 * 音乐播放器
 * 游戏中心

ADDITIONAL INFORMATION

In ICU, there is an AlphabeticIndex API [2] that can be used to create
locale-aware alphabetic indexes. I didn't find the exact same alternative in
Qt, not sure if there is in KDE.

[2]: http://site.icu-project.org/design/alphabetic-index

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to