Mission view can resume to a blank screen #25
Labels
No labels
area/ai
area/build
area/character
area/combat
area/data
area/docs
area/game
area/net
area/ui
area/world
size
l
size
m
size
s
type
bug
type
design
type
feature
type
refactor
type
test
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
icub3d/terra-redux-org#25
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Observed once during the Android spike, cause not determined.
After backgrounding the app and relaunching it, the process was still alive with the
same PID and had not crashed, but the screen showed only
ClearColor— no UI at all.Nothing appeared in logcat.
The trigger was
KEYCODE_BACKfollowed byam start, so this may be a statetransition — Escape-to-leave is currently wired as a placeholder — rather than a
rendering or surface fault. Those are very different bugs and the difference matters:
one is a few lines in a state system, the other is Android's classic surface-destroyed-
on-suspend failure.
Investigate
(possible state change) against a genuine surface destruction.
DespawnOnExit(GameState::Mission)and the menu's own despawn rules are the suspectsif it is state.
bevy_winitrecreated the window. The spike's log shows twowinit::platform_impl::android: TODO:warnings on startup —forward onStart notification to applicationandfind a way to notify application of content rect change— which are places winit knows it is not telling the app something.Done when
The app can be backgrounded and resumed repeatedly and comes back to the screen it left,
with a test or a documented manual procedure that would have caught it.