[systemsettings] [Bug 427746] shortcut names with numbers are not naturally sorted

2020-10-16 Thread Adam Fontenot
https://bugs.kde.org/show_bug.cgi?id=427746

--- Comment #4 from Adam Fontenot  ---
Thanks - it looks like LC_COLLATE=en_US seems to fix the problem without
breaking too many other things.

By the way, the Arch wiki recommends LC_COLLATE=C for better results in sorting
things with terminal commands like ls. For example, "en_US.utf8" will not sort
dotfiles before other files ("en_US" does), which is probably unexpected. I
believe LC_COLLATE=C is or was the default on new Arch Linux installations.

Also, I'm not sure if it makes sense to respect the locale for something like
this. It seems like a user might reasonably enough want to use one setting in
the terminal, and another setting in a GUI program like systemsettings. (Is
there ever a reason a user would *not* want to sort the shortcut names
naturally?) There's no option in systemsettings to change the COLLATE locale,
so it's unexpected behavior (for me anyway) that it affects the sort order. It
didn't occur to me as a possibility.

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

[systemsettings] [Bug 427746] shortcut names with numbers are not naturally sorted

2020-10-16 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=427746

Christoph Feck  changed:

   What|Removed |Added

 Status|NEEDSINFO   |RESOLVED
 Resolution|WORKSFORME  |NOT A BUG

--- Comment #3 from Christoph Feck  ---
> LC_COLLATE=C

C locale sorts strictly by ASCII order.

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

[systemsettings] [Bug 427746] shortcut names with numbers are not naturally sorted

2020-10-16 Thread Adam Fontenot
https://bugs.kde.org/show_bug.cgi?id=427746

--- Comment #2 from Adam Fontenot  ---
Created attachment 132407
  --> https://bugs.kde.org/attachment.cgi?id=132407=edit
screenshot of the problem

Here's all the locale information I can find, along with a screenshot of the
issue.

Let me know if you're looking for something specific I didn't mention here.

LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE=C
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Plasma Locales:
Regional Settings > Language > American English
Regional Settings > Formats > United States - American English (no custom
settings)
Regional Settings > Spell Check > American English

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

[systemsettings] [Bug 427746] shortcut names with numbers are not naturally sorted

2020-10-16 Thread David Redondo
https://bugs.kde.org/show_bug.cgi?id=427746

David Redondo  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 Resolution|--- |WORKSFORME
 CC||k...@david-redondo.de

--- Comment #1 from David Redondo  ---
Which locale are you using? Works for me and should be fixed since this commit:
https://invent.kde.org/plasma/plasma-desktop/-/commit/847d9216e0c1165f98b7a6d1f49fd52864c5abb2

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