Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apps are not sorted by ASCII code. #2274

Closed
LyonsDo opened this issue May 9, 2023 · 7 comments
Closed

Apps are not sorted by ASCII code. #2274

LyonsDo opened this issue May 9, 2023 · 7 comments
Assignees
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@LyonsDo
Copy link

LyonsDo commented May 9, 2023

Describe the bug

It's probably better to describe this as a feature request rather than a bug.

Essentially I would like a quite simple custom sort option for items displayed in the app list.

Some people might like the primary sort key to be non-alphabetic but personally I have no need of that.

What I would like is an edible/customizable secondary sort key
within the primary.

Generally TeX has various solutions for this sort of issue - see e.g.
https://latex.net/sorting-glossaries-with-bib2gls/

In the home screen alphabetic list of apps they correctly display under their initial letter. Within that, they display lexicographically but it's not clear how the ordering is done, it's not ASCII.

I have for example a list
ColorNote
COmms
Contacts

The first and last are apps and the centre one deliberately starts with two capital letters. I expected this to move to the top of the list (my first attempt was C_omms but that didn't work).

It's an import of tagged folders that I spent quite a bit of time creating in JINA before I came across Niagara.

As they are multi-app items I want them first in their respective lists.

There's probably a better way to do this in Niagara but they are a legacy item that I need to import. And in any case the sort order should be fixed.

Steps to reproduce

Just create a few folders with different
capitalisations and see how they sort

E.g Note, NOte, NoTe etc

Does the issue also occur with other 3rd-party launchers?

Not applicable

Other 3rd-party launcher(s) tested

Nova 7

Device name

Google Pixel 7 pro

Android version

Android 13

Screenshots / Screen recordings

IMHO not necessary.

@LyonsDo LyonsDo added the bug Something isn't working label May 9, 2023
@Amorphous404
Copy link

Amorphous404 commented May 9, 2023

Hi @LyonsDo, I don't have much technical knowledge, but I wanted to let you know that the apps in the app list by default are sorted based on usage, with the most frequently used apps appearing at the top of their respective letter. However, if you prefer the standard sorting method instead, you can go to:
-> Niagara settings
-> Advanced
-> Turn off "Sort all app list by usage"

Just create a few folders with different
capitalisations and see how they sort
E.g Note, NOte, NoTe etc

Pop-up folders are listed separately at the bottom of the app list, and the sorting looks fine to me.
Screenshot_2023-05-10-03-06-44-58_a4824db61f40c53807964ea8b14c92fe.jpg

Please let me know if my response didn't address your question o. I would be happy to pass it on to our development team so that they can assist you further.

@LyonsDo
Copy link
Author

LyonsDo commented May 9, 2023 via email

@Amorphous404 Amorphous404 removed their assignment May 9, 2023
@marcinsmialek
Copy link

marcinsmialek commented Jun 13, 2023

It's not that simple,
especially with non-Latin alphabets, which shouldn't be sorted by ASCII code. On top of that, some people, including me, might prefer case-insensitive sorting.

I wouldn't call it a bug, unless the sorting is incorrect for some culture.
For example French accent sorting is a common bug in software.

One way to get around this issue might be custom reordering option, or an option to have folders before the regular items. Even then, things get complicated when you have lots of users, most of which don't customize their settings too much, and roll with "it just works". Then you want as few options, toggles, switches as possible. There are "secret commands" in Niagara, and "Advanced" menu pattern, which might allow this feature to be imemented.

I'd recommend submitting a feature request, which clearly states what you want to achieve and why - how it might benefit you and more people without adding confusion to the rest of audience. Then follow it by some suggestions. I think I might like it too.

@LyonsDo
Copy link
Author

LyonsDo commented Jun 13, 2023 via email

@TFackler
Copy link
Collaborator

Hi there 👋

That's a rather interesting way to go about organizing your apps :O

As marcinsmialek has pointed out sorting apps by ASCII code can lead to a very unintuitive sorting order. In addition to that we want to support other alphabets too and simply removing diacritics to convert letters into ASCII could lead to even more confusion. Therefore we do not want to sort apps case sensitive or by their ASCII code.

I also think that your use case is rather specific and I don't think it warrants a toggle of sorts, since the impact would be too little.
Your workaround sounds like a smart solution to the problem though :)

Should there be a lot more people interested in using Niagara alongside JINA folders we might revisit this issue.

@TFackler TFackler added awaiting-response Further information is requested wontfix This will not be worked on labels Jul 18, 2023
@LyonsDo
Copy link
Author

LyonsDo commented Jul 18, 2023 via email

@github-actions github-actions bot removed the awaiting-response Further information is requested label Jul 18, 2023
@TFackler
Copy link
Collaborator

TFackler commented Sep 3, 2023

See also: #455

@TFackler TFackler closed this as not planned Won't fix, can't repro, duplicate, stale Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

4 participants