LMMS / LMMS/lmms

Browser - Sort Order

Open
#5,772 8 comments 0 reactions 0 assignees Claimed by @Jinxuan2001 View on GitHub
enhancement good first issue gui
Dominant language
C++
Stars
10.4k
Forks
1.3k
Avg merge
2d 13h
Merged PRs (30d)
7

Description

From what I understand each OS has its own standards of how file lists naturally sort from top to bottom.
All (well I hope) file sorting approaches use A-Z but then other sorting approaches vary.
I am on a Windows machine so I have followed their methods of sorting files, and I have noticed a couple of conflicts between the Windows OS sorting approach and the LMMS Browser sorting approach.
Two main things I have noticed are....

1.) Character Prefixes That Make Files Appear At Top of List
Windows OS
characters such as "_" (as well as others) make files appear at top
LMMS Browser
takes "_" items and puts them at the bottom

2.) Numbering Issues
Windows OS
uses the suffix " (#)" to number its files and sorts by natural counting
LMMS Browser
views this numbering system differently putting all the 1's togther for example

EXAMPLE:
Windows
> snare (1)
> snare (2)
> ....
> snare (9)
> snare (10)
> snare (11)

LMMS Browser
> snare (1)
> snare (10)
> snare (11)
> snare (2)
> snare (3)
> etc.

LMMS Browser confuses down for up, it can't count, what the hell kind of educational system was he exposed to as kid? :)

If others agree would it possible to set the LMMS Browsers coding to use the sorting methods employed by each specific OS it is being installed and used with? Or simply adding a setting to be able to "Use Windows File Sorting Methods"?

Hopefully something like this can be fixed soon, but.... probably not I would imagine.
It is just that all my files are setup this way so can get confusing at times, losing track of things.
Not sure if anyone else has run into any problems with this and would like a solution as well?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the LMMS Browser's file-list sorting entry point and reproduce the underscore-prefix and numbered-filename examples from the issue on Windows. Compare the current ordering with the requested natural, OS-consistent ordering; done means both examples sort as described without breaking other browser sorting behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.