video: add a shortcut and menu item to hide the status bar#241
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a user-facing toggle to show/hide the bottom status bar in the video frontend, exposed via both a host shortcut and the hamburger menu, with supporting UI/docs updates.
Changes:
- Add
Cmd+Shift+F/Alt+Shift+Fshortcut and a hamburger-menu item to toggle the status bar. - Make window/texture sizing account for the status bar being hidden, and suppress status-bar drawing while hidden.
- Update shortcuts panel and user guide documentation to list/describe the new toggle.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/video/window.rs | Implements status-bar toggle behavior, including shortcut handling, render sizing, and conditional status-bar drawing. |
| src/video/ui.rs | Adds the new menu item, label state, shortcuts-panel row, and tests for menu labeling. |
| src/video/mod.rs | Introduces a global atomic flag to track whether the status bar is hidden. |
| docs/guide/ui.md | Documents the new shortcut and menu behavior in the UI guide. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Cmd/Alt+Shift+F now shows or hides the status bar, complementing the fullscreen shortcut. Hidden, the emulated display scales up to fill the space the bar occupied, keeping its aspect: the canvas loses the bar's height, the same change as a pixel-aspect switch, so it resizes the texture and window the same way. The status-bar hit-testing self-gates (its cursor region collapses to nothing), and the recorder captures only the display region, so a recording is unaffected. Also available as a Status Bar menu item next to Fullscreen, listed in the keyboard-shortcuts panel and the UI guide. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
hobbo91
force-pushed
the
feature/hide-status-bar
branch
from
July 20, 2026 21:30
3ce2561 to
9a9dd1b
Compare
LinuxJedi
approved these changes
Jul 20, 2026
LinuxJedi
left a comment
Owner
There was a problem hiding this comment.
Good call. I didn’t think of that.
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.
Cmd+Shift+F (Alt+Shift+F on Windows/Linux) now toggles the status bar at the bottom of the window, complementing the existing fullscreen shortcut. When the bar is hidden the emulated display scales up to fill the space it occupied while keeping its aspect ratio — the canvas simply loses the bar's height, the same kind of change as switching pixel aspect, so the texture and window are resized the same way.
It's also available as a Status Bar item in the hamburger menu next to Fullscreen, and it's listed in the keyboard-shortcuts panel and the UI guide. Hiding shows a brief on-screen message ("Status bar hidden (Cmd+Shift+F restores)"), and restoring shows "Status bar restored", so the shortcut is discoverable even if you toggled it by accident.
Status-bar hit-testing self-gates when the bar is hidden (its cursor region collapses to nothing), and the recorder only ever captures the display region, so recordings are unaffected.