Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
mAmineChniti opened this issue Jan 26, 2025 · 7 comments

Comments

@mAmineChniti
Copy link

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

@roamic
Copy link
Collaborator

roamic commented Jan 26, 2025

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

@mAmineChniti
Copy link
Author

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

@mAmineChniti
Copy link
Author

[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

@red-prig
Copy link
Contributor

red-prig commented Jan 26, 2025

isPS4Pro = true

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

@polybiusproxy
Copy link
Collaborator

polybiusproxy commented Jan 26, 2025

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

@mAmineChniti
Copy link
Author

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

@DanielSvoboda
Copy link
Contributor

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: #2248

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants