mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 15:56:00 +03:00
[PR #2490] [MERGED] QT: Fix search in Grid mode #2776
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#2776
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?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/2490
Author: @DanielSvoboda
Created: 2/21/2025
Status: ✅ Merged
Merged: 2/21/2025
Merged by: @georgemoralis
Base:
main← Head:main📝 Commits (4)
a6e6067QT: Fix search in Grid modea884629Fix performance?8275878Fix performance List313dbd7+fix📊 Changes
3 files changed (+17 additions, -0 deletions)
View changed files
📝
src/qt_gui/game_info.cpp(+3 -0)📝
src/qt_gui/game_info.h(+1 -0)📝
src/qt_gui/main_window.cpp(+13 -0)📄 Description
The search works correctly in list mode. However, when using search in grid mode, the results are correct, but the itemID values in gui_context_menus.h were not accurate.
What was happening? After searching for a game, it would show up correctly in the list. However, when trying to open or interact with it in any way (such as using cheats/patches, opening or deleting the folder, or in any other context), it was using the ID from the table without the search filter.
Watch the video, it's easier to understand:
https://github.com/user-attachments/assets/1c494e51-f9ad-4ed8-8c8f-1fd7a0ab06b3
This PR fixes this issue, and also when switching from Grid to List or vice versa the search field is reset, as this would cause problems.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.