1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-02 18:19:59 +08:00
Files
osu-lazer/osu.Game
T
Bartłomiej Dach 3d5dc60cfe Fix selection being changed on re-entering song select when a converted beatmap is selected
Closes https://github.com/ppy/osu/issues/34062.

The root cause of the issue is that `OnEntering()` calls
`onArrivingAtScreen()`, which calls `ensureGlobalBeatmapValid()`, which
would call `checkBeatmapValidForSelection()` with a `FilterCriteria`
instance retrieved from the `FilterControl`.

The problem with that is at the time that this call chain is happening,
`FilterControl` is not yet loaded, which means in particular that it has
not bound itself to the config bindable, as that happens on
`LoadComplete()`:

	https://github.com/ppy/osu/blob/bff07010d1f9874125baf2918f02c5cf61a5ea60/osu.Game/Screens/SelectV2/FilterControl.cs#L198

To resolve this, retrieve the bindable in `SongSelect` itself, which
ensures it is valid for reading at the time the above call chain
happens.
3d5dc60cfe · 2025-10-02 13:27:43 +02:00
History
..
2025-07-29 13:19:43 +09:00
2025-04-28 15:52:31 +09:00
2025-09-30 18:38:30 +09:00