bug(debug-ui): panels are off-screen and the mobile toggle can become unreachable on small displays #1082
Labels
No labels
Context: Bug
Context: Enhancements
Platform: Android
Platform: Linux
Platform: Web
Platform: Windows
Platform: iOS
Platform: macOS
Release
Target: CI
Target: CLI
Target: Dependency
Target: Engine
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
SakulFlee/Orbital#1082
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
On the phone, the four debug panels use fixed initial positions and sizes:
That requires roughly a 1260 x 880 logical-pixel viewport. On the phone:
The tablet cannot run iced at all because it lacks
SHADER_F16(#1074), so it cannot be used to test the layout.Mobile toggle trap
mobile_debug_toggle_visibleonly shows the on-screen "Debug" button when:ShowDebugUithen sets every panel visible again. If one panel is off-screen but still marked visible, the button stays hidden. The off-screen panel's close button is also off-screen, so the user cannot close it to make the button return. On a phone with no keyboard, this can make the debug UI unreachable.Proposed direction
ShowDebugUishould clamp or reset panel positions to the current viewport, including after resize or orientation changes.Acceptance criteria