Repository navigation
fix: consistent fade-in and fade-out on start end exit of nextui and apps - #856
Open
nborodikhin wants to merge 2 commits into
Open
nborodikhin wants to merge 2 commits into
nborodikhin wants to merge 2 commits into
Conversation
On a light palette, switching between an app and the launcher flickered: the app cleared the screen to black, the launcher showed its background, then the launcher faded in from black again. GFX_animateBlack() fades the composed frame in from black or out to black. The launcher and the bundled tool apps call it on start and on exit, and GFX_init() keeps the screen black until the app presents its first frame.
nborodikhin
marked this pull request as ready for review
October 5, 2026 02:33
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
SDL apps always show a black frame on start, that's unavoidable -
SDL_CreateWindowalways fills screen buffer with black pixels. On light themes, this leads to a jarring experience with multiple flashes of black.Observations:
This PR extends the ideas and observations and adds (and re-adds) a fade-in animation on start and fade-out animation on exit, both for NextUI and built-in apps. It complements #854 which improves light theme support on built-in apps.
Change
CFG_getAppStartExitAnimationDuration():GFX_init():-
GFX_animateBlack()GFX_quit()stays blacknextui.c:battery.c,clock.c,gametime.c,ledcontrol.c,minput.c,settings.cpp:Testing