[plasmashell] [Bug 433297] Locale-aware alphabetic index/category in kickoff for non-English applications

2021-02-22 Thread Gary Wang
https://bugs.kde.org/show_bug.cgi?id=433297

--- Comment #6 from Gary Wang  ---
(In reply to Shawn Rutledge from comment #5)
> I'm a bit surprised that Chinese people consider the first character of
> modern pinyin a better index character than the ancient symbols that are
> actually seen on the screen. 

Since there are a lot of Chinese characters than just 26 characters in English,
if you have a bunch of Chinese apps on the screen with a different name, they
could be very little chance to have a common first character, as the demo case
mentioned in SUMMARY.

> If a file clerk is organizing folders in a
> paper file cabinet, is there an implicit order that they always use?  Why
> should digital apps be different?  What's the convention in non-Qt contexts,
> e.g. in native contacts apps on phones?

No different, in Microsoft Windows start menu, Microsoft Launcher Android
app, and LineageOS default contact app, they both sort and category in the
first symbol in pinyin. And also, Chinese dictionaries also use the same way
to sort and category characters.

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

[plasmashell] [Bug 433297] Locale-aware alphabetic index/category in kickoff for non-English applications

2021-02-21 Thread Shawn Rutledge
https://bugs.kde.org/show_bug.cgi?id=433297

Shawn Rutledge  changed:

   What|Removed |Added

 CC||s...@ecloud.org

--- Comment #5 from Shawn Rutledge  ---
I'm a bit surprised that Chinese people consider the first character of modern
pinyin a better index character than the ancient symbols that are actually seen
on the screen.  If a file clerk is organizing folders in a paper file cabinet,
is there an implicit order that they always use?  Why should digital apps be
different?  What's the convention in non-Qt contexts, e.g. in native contacts
apps on phones?

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

[plasmashell] [Bug 433297] Locale-aware alphabetic index/category in kickoff for non-English applications

2021-02-20 Thread Gary Wang
https://bugs.kde.org/show_bug.cgi?id=433297

--- Comment #4 from Gary Wang  ---
> be sure to post the link here once you do

Here you go https://bugreports.qt.io/browse/QTBUG-91258 :)

btw since I don't know much about QML, so if you found anything that needs to
be added to that bug report, please consider comment there :)

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

[plasmashell] [Bug 433297] Locale-aware alphabetic index/category in kickoff for non-English applications

2021-02-20 Thread Mikel Johnson
https://bugs.kde.org/show_bug.cgi?id=433297

Mikel Johnson  changed:

   What|Removed |Added

   Assignee|k...@davidedmundson.co.uk|h...@kde.org
  Component|Application Launcher|Application Menu (Kicker)
   |(Kickoff)   |

--- Comment #3 from Mikel Johnson  ---
> Oh, seems I found the wrong one, but it seems both Kickoff, Kicker, and 
> Application Dashboard are behave the same, is Application Dashboard also use 
> the ListView's section group?

Application Dashboard uses the code from the plugin because there's no section
group for GridView, so that can be fixed on our side

> Agree. I'll try to report a bug to upstream later if no one already reported 
> it :)

Thanks :D be sure to post the link here once you do

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

[plasmashell] [Bug 433297] Locale-aware alphabetic index/category in kickoff for non-English applications

2021-02-20 Thread Gary Wang
https://bugs.kde.org/show_bug.cgi?id=433297

--- Comment #2 from Gary Wang  ---
(In reply to Mikel Johnson from comment #1)
> Actually kickoff uses ListView's section group
> (https://doc.qt.io/qt-5/qml-qtquick-listview.html#section.criteria-prop)

Oh, seems I found the wrong one, but it seems both Kickoff, Kicker, and
Application Dashboard are behave the same, is Application Dashboard also use
the ListView's section group? And do I need to open two other bugs to report
the Kicker and Application Dashboard behavior?

By the way, where can I found the source code of the Application Dashboard
applet? And is there a place to look up which applets are in which source repo?
Thanks a lot!

> Would be nice to get that fixed upstream, so everyone could enjoy the
> benefits
> 
> section.criteria: ViewSection.FirstCharacterRomanized or something like that

Agree. I'll try to report a bug to upstream later if no one already reported it
:)

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

[plasmashell] [Bug 433297] Locale-aware alphabetic index/category in kickoff for non-English applications

2021-02-20 Thread Mikel Johnson
https://bugs.kde.org/show_bug.cgi?id=433297

Mikel Johnson  changed:

   What|Removed |Added

 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1

--- Comment #1 from Mikel Johnson  ---
Actually kickoff uses ListView's section group
(https://doc.qt.io/qt-5/qml-qtquick-listview.html#section.criteria-prop)

Would be nice to get that fixed upstream, so everyone could enjoy the benefits

section.criteria: ViewSection.FirstCharacterRomanized or something like that

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