mirror of
https://github.com/PlayCover/PlayCover.git
synced 2026-04-26 08:15:56 +03:00
[GH-ISSUE #362] [Bug]: Scrolling down in App Library with grid list view crashes the app [16+ apps] #160
Labels
No labels
UI
app-support
bug
bug
documentation
duplicate
enhancement
game-support
good first issue
help wanted / caution
inactive
invalid
macos-beta
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/PlayCover#160
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 @Depal1 on GitHub (Sep 20, 2022).
Original GitHub issue: https://github.com/PlayCover/PlayCover/issues/362
Describe the bug
Scrolling down in App Library with grid list view crashes the app when it has at least 16 apps installed, provided the window has not been resized.
This issue does not seem to happen in IPA Library, list view, or when the window has been resized.
Steps to reproduce
Setup:
Reproduce:
This issue can also present itself if the window is resized, it is unselected, and then selected back.
Expected behaviour
PlayCover shouldn't crash in this scenario.
Crash log
Crash log
What version of PlayCover are you using?
Nightly/beta
What version of macOS are you using?
Monterey (macOS 12)
Issue Language
@IsaacMarovitz commented on GitHub (Sep 26, 2022):
I cannot seem to recreate this issue. Can you provide a full list of all apps you have installed?
@IsaacMarovitz commented on GitHub (Oct 17, 2022):
Okay, I have done some more research into this issue. This seems to be a problem with the current Image logic, and it not working correctly with LazyVGrid. This doesn't just happen with 16+ apps, it happens whenever the grid view extends past the view of the display. SwiftUI will crash when you scroll down. This doesn't happen if you switch to List View first, and then switch back to Grid View, which seems to imply that it's related to the 'Lazy' nature of LazyVGrid