GammaLauncher icon indicating copy to clipboard operation
GammaLauncher copied to clipboard

Sorting of versions is wrong

Open seltzdesign opened this issue 2 years ago • 3 comments

The sorting of the dropdown of versions is wrong. It is not interpreting the numbers correctly, but doing a pure alphabetical sort. "2021.4.10-138" should come between "2022.5.0-0040" and "2021.4.9-975". But now it is between "2022.4.2" and "2022.4.1".

Thanks for fixing, GammaLauncher rules.

image

seltzdesign avatar Jul 20 '22 07:07 seltzdesign

I just noticed another issue, which you can see in the same screenshot: The dropdown with the versions actually gets cut off. It either needs to be scrollable or extend outside of the frame of the application. Thanks!

seltzdesign avatar Oct 03 '22 08:10 seltzdesign

Wow, for whatever reason I'm only seeing this issue now, sorry for the delay! Yes, that looks fishy indeed. I'm relying on some .NET library to parse semver, and it indeed seems to have issues sorting those. Thanks for the report, cannot promise when but I'll try to have a look these days.

Regarding your second issue, there's no scrollable dropdown in Elementa and I don't see one being added in the near feature. Not ideal but you can already scroll while hovering the (closed) dropdown to scroll through versions. This issue will most likely be solved when rewriting the launcher using ImGUI, see #40

sebescudie avatar Oct 03 '22 16:10 sebescudie

@seltzdesign The sorting issue will be fixed in next release, thanks again for the report.

sebescudie avatar Oct 10 '22 07:10 sebescudie