mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 16:25:58 +03:00
[GH-ISSUE #2260] [APP BUG]: Sorting order broken when game title is in ALL CAPS #770
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#770
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MuntKaicho on GitHub (Jan 28, 2025).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/2260
Checklist
Describe the Bug
It looks like there's an issue when sorting by title name and the game title is in all caps. Check attached screenshot for ordering issue with Gravity Rush 2
Reproduction Steps
Have Gravity Rush Remastered and Gravity Rush 2 in your library. Possibly same issue with other franchises where only one of the entries has an all caps title.
Expected Behavior
No response
Specify OS Version
Windows 11
@zaid-ismail031 commented on GitHub (Jan 29, 2025):
I'll take care of this. It looks like a minor issue with case-sensitive string comparisons in the
CompareStringsAscendingandCompareStringsDescendingfunctions of theGameListFrameclass.@DanielSvoboda commented on GitHub (Feb 3, 2025):
This has been fixed for
list view, butgrid viewstill needs adjustments on startup.If you use the
refreshbutton ingrid viewit isfixed@zaid-ismail031 commented on GitHub (Feb 4, 2025):
Yes, I see. The exact same case-sensitive string string comparison bug is also present in the
CompareStringsfunction inGameInfoClass, which results inQVector<GameInfo> m_gamesbeing incorrectly sorted after it is initially populated@DanielSvoboda commented on GitHub (Feb 4, 2025):
That was exactly it @zaid-ismail031 , I opened a https://github.com/shadps4-emu/shadPS4/pull/2341 to fix it, thanks
@Hermiten commented on GitHub (Feb 4, 2025):
Fixed in #2341