Skip to content

Comments

Fix hardlock when leaving OuiMapSearch#926

Merged
Wartori54 merged 1 commit intoEverestAPI:devfrom
DashingCat:fix-hardlock-when-leaving-ouimapsearch
Jul 13, 2025
Merged

Fix hardlock when leaving OuiMapSearch#926
Wartori54 merged 1 commit intoEverestAPI:devfrom
DashingCat:fix-hardlock-when-leaving-ouimapsearch

Conversation

@DashingCat
Copy link
Contributor

The game still processes inputs in the OnTextInput handler when leaving the OuiMapSearch.

This can cause a "hardlock" (game not processing any input), because the handler can disable the input engine.

The "hardlock" can be reproduced by entering some input when transitioning from the OuiMapSearch to the OuiChapterSelect.

This PR prevents the "hardlock" by removing the handler (which is done by setting Searching to false) right at the start of the Leave method, instead of waiting for the transition to end.

(originally reported by tobyaaa on Discord)

@maddie480-bot maddie480-bot added the 1: review needed This PR needs 2 approvals to be merged (bot-managed) label Jun 17, 2025
Copy link
Member

@Wartori54 Wartori54 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would not be surprised if there are some other bugs relating to the text input since those are quite messy in Celeste, but this LGTM.

@maddie480-bot
Copy link
Member

The pull request was approved and entered the 3-day last-call window.
If no further reviews happen, it will end on Jul 13, 2025, 12:00 AM UTC, after which the pull request will be able to be merged.

@maddie480-bot maddie480-bot added 3: last call window This PR was approved, and is in the 5-day last-call window before getting merged (bot-managed) and removed 1: review needed This PR needs 2 approvals to be merged (bot-managed) labels Jul 7, 2025
@maddie480-bot
Copy link
Member

The last-call window for this pull request ended. It can now be merged if no blockers were brought up.

@maddie480-bot maddie480-bot added 4: ready to merge This PR was approved and the last-call window is over (bot-managed) and removed 3: last call window This PR was approved, and is in the 5-day last-call window before getting merged (bot-managed) labels Jul 12, 2025
@Wartori54 Wartori54 merged commit c6abb93 into EverestAPI:dev Jul 13, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4: ready to merge This PR was approved and the last-call window is over (bot-managed)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants