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

Fix beatmap selection being lost during update process #30385

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

peppy
Copy link
Member

@peppy peppy commented Oct 22, 2024

Broke due to something changing in the way we handle realm things in the carousel. The deselection happens in updateBeatmapSet so we need to store / check the original selection before this occurs.

Doesn't seem this had test coverage? Probably implies that the overhead of adding a test was very large, so maybe best to leave it that way. I tested by manually changing the OnlineMd5Hash in the realm file while at song select, then performing an update and ensuring the selection doesn't change.

Closes #30384.

Broke due to something changing in the way we handle realm things in the
carousel. The deselection happens in `updateBeatmapSet` so we need to
store / check the original selection before this occurs.

Doesn't seem this had test coverage? Probably implies that the overhead
of adding a test was very large, so maybe best to leave it that way.
@peppy peppy added the next release Pull requests which are almost there. We'll aim to get them in the next release, but no guarantees! label Oct 22, 2024
@peppy peppy merged commit 7b3376c into ppy:master Oct 22, 2024
13 checks passed
@peppy peppy deleted the fix-selection-lost-during-update branch October 23, 2024 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:song-select next release Pull requests which are almost there. We'll aim to get them in the next release, but no guarantees! size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Updating a beatmap jump to the next song
2 participants