73b41fa86b7da59e11cada7acb452baf852e50be
The review screen gave the clip a framed stage with the header, the details column and the status bar around it, so a clip watched there filled a fraction of the display. Full screen, the button beside the volume or F, hands the window to the display with no frame of ours and draws the picture alone, letterboxed at 16:9. The controls keep to a band at the bottom: a gradient no taller than they are, the scrubber with its event marks, the transport and an Exit full screen button. The band is its own hover group, so the pointer comes to it for the controls to draw in over 200 ms, and they are gone 400 ms after it leaves. Escape, the button or a double press on the picture leaves, and the double press enters from the windowed stage. Being full screen belongs to the window, not to the review, so App keeps the state it last asked of the window and poll reconciles the two: a way out of the review, a jump to another screen, or a window closed and reopened brings the title bar, the status bar and the frame back.
Languages
Rust
100%