Skip to content

fix(settings): Allow re-editing RetroAchievements username/password#652

Open
clintonium-119 wants to merge 2 commits intoLoveRetro:mainfrom
clintonium-119:ra-fixes
Open

fix(settings): Allow re-editing RetroAchievements username/password#652
clintonium-119 wants to merge 2 commits intoLoveRetro:mainfrom
clintonium-119:ra-fixes

Conversation

@clintonium-119
Copy link

Reset KeyboardPrompt state when opening the input dialog so users can edit username/password multiple times without restarting settings.elf.

Reset KeyboardPrompt state when opening the input dialog so users can
edit username/password multiple times without restarting settings.elf.
TextInputMenuItem::handleInput was not setting dirty flag after
on_confirm, so the keyboard prompt never triggered a redraw on the
frame it opened. Additionally, handleKeyboardInput was clobbering the
pending redraw flag set by setInitialText. Together these caused a 1-3s
delay until the user happened to press another button.
@clintonium-119
Copy link
Author

I also fixed the delay issue when opening RetroAchievements username and password text input

TextInputMenuItem::handleInput was not setting dirty flag after
on_confirm, so the keyboard prompt never triggered a redraw on the
frame it opened.

Additionally, handleKeyboardInput was clobbering the
pending redraw flag set by setInitialText. Together these caused a
1-3s delay until an unrelated system event (e.g. PWR_update) happened
to set the dirty flag.

Or so Claude tells me....

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

Successfully merging this pull request may close these issues.

1 participant