Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
08167 Misc. Minor Always 30 days ago 17 days ago
Tester Augusto View Status Public Platform SDLMAME
Assigned To cuavas Resolution Fixed OS Linux (64-bit)
Status [?] Resolved Driver
Version 0.238 Fixed in Version 0.240GIT Build 64-bit
Fixed in Git Commit e14fec6 Github Pull Request #
Summary 08167: Browsing folders are sorted by date
Description When browsing for config paths the folders path are sorted by date.
The correct is sort by name.
Anyone can test the Windows version if also happen the same issue ?
Have a nice week.
Steps To Reproduce
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems
Attached Files
png file icon Untitled.png (383,996 bytes) 24 days ago Uploaded by Augusto
Augusto
Relationships
There are no relationship linked to this issue.
Notes
10
User avatar
No.19607
Robbbert
Developer
28 days ago
In Windows it's sorted by name, but it's case sensitive, which is incorrect. It should sort the way Windows Explorer does.
User avatar
No.19621
Fujix
Administrator
24 days ago
In the Japanese version of Windows 10, folders are sorted by alphabetically without case.
It's just the same as Explorer.
User avatar
No.19622
Augusto
Tester
24 days ago
The issue is about the Linux version.
Using Ubuntu 20.04.3 and SDLMAME 0.239.
The folders are sorted by date.
User avatar
No.19625
Tafoid
Administrator
23 days ago
edited on: 23 days ago
So, this isn't a MAME issue, but an OS configuration issue - is that correct?
Mine shows alphabetical when searching for folders to add and I don't think it is something MAME controls.
User avatar
No.19633
Augusto
Tester
23 days ago
All other softwares browse folders in sorted by name.
Not look being a OS configuration.
User avatar
No.19647
cuavas
Administrator
21 days ago
I would’ve thought that since AJR put in locale-aware sorting this should be fixed on all operating systems.
User avatar
No.19648
cuavas
Administrator
21 days ago
Actually, that’s not the same menu, it’s a different thing. It’s also a menu hard-coded to use Tab to select an item, no way to use it with a gamepad.
User avatar
No.19649
cuavas
Administrator
21 days ago
Menus for adding or changing folders were not being sorted, so the items were appearing in whatever order the filesystem returned them. Should sort in locale collation order now. Also fixed an issue with “..” only allowing you to move up one directory level after which it wouldn’t change directory at all.
User avatar
No.19651
AJR
Developer
21 days ago
Locale-aware file sorting was not actually added by me, despite GitHub's blame display. It appears to have been originally introduced by mahlemiut in commit 63b7b9d521712404dc35156ef8d7e606440b4156.
User avatar
No.19672
Augusto
Tester
17 days ago
Thanks