Skip to content

fix(receiver): draw the idle screen right way up - #215

Merged
swellweb merged 1 commit into
swellweb:maint-3.6from
kenshinice-ai:receiver-idle-screen-orientation
Oct 16, 2026
Merged

swellweb merged 1 commit into
swellweb:maint-3.6from
kenshinice-ai:receiver-idle-screen-orientation

Conversation

@kenshinice-ai

Copy link
Copy Markdown

The Receiver's idle screen draws upside down. tb_disp_rebuild_status_texture flips the canvas to a top-left origin (CGContextScaleCTM(ctx, 1, -1)), and the connecting screen is laid out for that, but the idle layout was written for a bottom-left origin. The result is visible in images/receiver-dashboard.png in this repo: the title and version sit at the bottom, the help lines at the top, and every caption (STATUS, SENDER, DISPLAY, …) is under its value instead of above it.

This keeps the same layout and measures it from the top: every text baseline y becomes H - y, and every rect's top becomes H - y - height. Fonts, sizes, colours, spacing and content are unchanged.

Checks: builds with make; I rendered the screen to a PNG in English and Chinese and confirmed title and version at the top, captions above values, and the three help lines at the bottom. Updating images/receiver-dashboard.png afterwards would be worthwhile.

🤖 Generated with Claude Code

The status canvas is flipped to a top-left origin, but the idle layout was
written for a bottom-left one, so it drew upside down: title and version
at the bottom, help lines at the top, each caption under its value. Same
layout, measured from the top: every baseline y becomes H - y and every
rect top becomes H - y - height.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@swellweb
swellweb changed the base branch from main to maint-3.6 October 16, 2026 14:33
@swellweb

Copy link
Copy Markdown
Owner

Thanks for correcting the waiting-screen orientation. I moved this to maint-3.6 and checked it with the centered splash. Rendering at the default 980x620 size exposed an additional existing layout problem: help text overlaps the cards and the permissions section is clipped. I have a small integration follow-up that scales only the idle dashboard, with geometry regression checks from 640x480 through 5K. The video rendering and input paths remain unchanged.

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.

2 participants