[GH-ISSUE #2242] [APP BUG]: Unknown game entry on grid view that crashes the app, can crash the os if deleted #768

Closed
opened 2026-02-27 21:08:01 +03:00 by kerem · 9 comments
Owner

Originally created by @mAmineChniti on GitHub (Jan 26, 2025).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/2242

Checklist

  • I have searched for a similar issue in this repository and did not find one.
  • I am using an official build obtained from releases or updated one of those builds using its in-app updater.

Describe the Bug

there's an imageless game entry when you select grid view, it crashes the app when you have it selected and change game list icons size, if you delete that game entry it deletes everything in ~/
i'm using the official flatpak

Reproduction Steps

Image

  • Game list mode -> grid view
  • select the imageless nameless game entry
  • change the game list icons size, or delete that game entry

Expected Behavior

No response

Specify OS Version

Debian 12

Originally created by @mAmineChniti on GitHub (Jan 26, 2025). Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/2242 ### Checklist - [x] I have searched for a similar issue in this repository and did not find one. - [x] I am using an official build obtained from [releases](https://github.com/shadps4-emu/shadPS4/releases) or updated one of those builds using its in-app updater. ### Describe the Bug there's an imageless game entry when you select grid view, it crashes the app when you have it selected and change game list icons size, if you delete that game entry it deletes everything in ~/ i'm using the official flatpak ### Reproduction Steps ![Image](https://github.com/user-attachments/assets/acaa8c7b-e6b3-4798-8509-abdd874af374) - Game list mode -> grid view - select the imageless nameless game entry - change the game list icons size, or delete that game entry ### Expected Behavior _No response_ ### Specify OS Version Debian 12
Author
Owner

@roamic commented on GitHub (Jan 26, 2025):

Can you attach config.toml from the shadPS4 user directory? Also, what's the contents of shadPS4 games directory?

<!-- gh-comment-id:2614329280 --> @roamic commented on GitHub (Jan 26, 2025): Can you attach `config.toml` from the shadPS4 user directory? Also, what's the contents of shadPS4 games directory?
Author
Owner

@mAmineChniti commented on GitHub (Jan 26, 2025):

i'm not sure how to access the config.toml, this is the flatpak version btw, and the games dir only has that deadpool game only

<!-- gh-comment-id:2614332226 --> @mAmineChniti commented on GitHub (Jan 26, 2025): i'm not sure how to access the config.toml, this is the flatpak version btw, and the games dir only has that deadpool game only
Author
Owner

@mAmineChniti commented on GitHub (Jan 26, 2025):

[General]
logType = "async"
separateUpdateEnabled = false
showSplash = false
Fullscreen = false
checkCompatibilityOnStartup = false
updateChannel = "Release"
logFilter = ""
enableDiscordRPC = false
compatibilityEnabled = true
autoUpdate = false
userName = "shadPS4"
isTrophyPopupDisabled = false
playBGM = false
isPS4Pro = true
BGMvolume = 50

[Input]
cursorState = 1
cursorHideTimeout = 5
backButtonBehavior = "left"
specialPadClass = 1
useSpecialPad = false

[GPU]
screenWidth = 1280
screenHeight = 720
nullGpu = false
copyGPUBuffers = false
vblankDivider = 1
dumpShaders = false
patchShaders = true

[Vulkan]
gpuId = 1
validation = false
rdocMarkersEnable = false
validation_sync = false
validation_gpu = false
rdocEnable = false
crashDiagnostic = false

[Debug]
DebugDump = false
CollectShader = false

[GUI]
geometry_y = 36
sliderPosGrid = 0
geometry_w = 1920
mw_width = 1920
gameTableMode = 0
theme = 0
recentFiles = []
pkgDirs = []
addonInstallDir = "/home/amine/.var/app/net.shadps4.shadPS4/data/shadPS4/addcont"
geometry_h = 996
mw_height = 996
elfDirs = []
iconSizeGrid = 69
installDirs = ["/home/amine/PS4"]
sliderPos = 0
iconSize = 36
emulatorLanguage = "en"
geometry_x = 0

[Settings]
consoleLanguage = 1
<!-- gh-comment-id:2614364606 --> @mAmineChniti commented on GitHub (Jan 26, 2025): ```toml [General] logType = "async" separateUpdateEnabled = false showSplash = false Fullscreen = false checkCompatibilityOnStartup = false updateChannel = "Release" logFilter = "" enableDiscordRPC = false compatibilityEnabled = true autoUpdate = false userName = "shadPS4" isTrophyPopupDisabled = false playBGM = false isPS4Pro = true BGMvolume = 50 [Input] cursorState = 1 cursorHideTimeout = 5 backButtonBehavior = "left" specialPadClass = 1 useSpecialPad = false [GPU] screenWidth = 1280 screenHeight = 720 nullGpu = false copyGPUBuffers = false vblankDivider = 1 dumpShaders = false patchShaders = true [Vulkan] gpuId = 1 validation = false rdocMarkersEnable = false validation_sync = false validation_gpu = false rdocEnable = false crashDiagnostic = false [Debug] DebugDump = false CollectShader = false [GUI] geometry_y = 36 sliderPosGrid = 0 geometry_w = 1920 mw_width = 1920 gameTableMode = 0 theme = 0 recentFiles = [] pkgDirs = [] addonInstallDir = "/home/amine/.var/app/net.shadps4.shadPS4/data/shadPS4/addcont" geometry_h = 996 mw_height = 996 elfDirs = [] iconSizeGrid = 69 installDirs = ["/home/amine/PS4"] sliderPos = 0 iconSize = 36 emulatorLanguage = "en" geometry_x = 0 [Settings] consoleLanguage = 1 ```
Author
Owner

@red-prig commented on GitHub (Jan 26, 2025):

isPS4Pro = true

Why is this even included inside the flatpak build? This mode is still not finished

<!-- gh-comment-id:2614423558 --> @red-prig commented on GitHub (Jan 26, 2025): > isPS4Pro = true Why is this even included inside the flatpak build? This mode is still not finished
Author
Owner

@polybiusproxy commented on GitHub (Jan 26, 2025):

The user must have enabled it - PS4 Pro mode is disabled by default.

<!-- gh-comment-id:2614429194 --> @polybiusproxy commented on GitHub (Jan 26, 2025): The user must have enabled it - PS4 Pro mode is disabled by default.
Author
Owner

@mAmineChniti commented on GitHub (Jan 26, 2025):

isPS4Pro = true

Why is this even included inside the flatpak build? This mode is still not finished

i enabled that, i think the issue might be from qt, it seems like there's a "game entry" field for each column of the list view in the grid view, those empty game entries might be some kind of artifacts from the list entry, so the switching between those 2 views is broken i guess

<!-- gh-comment-id:2614437866 --> @mAmineChniti commented on GitHub (Jan 26, 2025): > > isPS4Pro = true > > Why is this even included inside the flatpak build? This mode is still not finished i enabled that, i think the issue might be from qt, it seems like there's a "game entry" field for each column of the list view in the grid view, those empty game entries might be some kind of artifacts from the list entry, so the switching between those 2 views is broken i guess
Author
Owner

@DanielSvoboda commented on GitHub (Jan 27, 2025):

This PR was an attempt to fix the problem, but it created more problems, so I closed the PR and will leave it registered here in case someone wants to try to solve it, perhaps in another way: https://github.com/shadps4-emu/shadPS4/pull/2248

<!-- gh-comment-id:2616713425 --> @DanielSvoboda commented on GitHub (Jan 27, 2025): This PR was an attempt to fix the problem, but it created more problems, so I closed the PR and will leave it registered here in case someone wants to try to solve it, perhaps in another way: https://github.com/shadps4-emu/shadPS4/pull/2248
Author
Owner

@Hermiten commented on GitHub (Feb 24, 2025):

Some things have been made on the GUI but I think this is still revelant. Can you try again ?

<!-- gh-comment-id:2678168103 --> @Hermiten commented on GitHub (Feb 24, 2025): Some things have been made on the GUI but I think this is still revelant. Can you try again ?
Author
Owner

@Hermiten commented on GitHub (Apr 25, 2025):

No answer, I close

<!-- gh-comment-id:2830125062 --> @Hermiten commented on GitHub (Apr 25, 2025): No answer, I close
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#768
No description provided.