Conversation
F on the canvas steps through Standard, Full Screen with Menu Bar (the window fills the screen, the tab bar hides) and Full Screen (macOS full screen, tools and panels kept), and back to the window's own size. Shift-Tab hides and shows the tool bar, options bar, Layers panel and status bar in any mode; Tab keeps its current meaning. View › Screen Mode and View › Show Panels do the same, and both keys are listed in Keyboard Shortcuts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Best reviewed after #186: its one-at-a-time loader keeps people's custom shortcuts when new keys like F are added.
The problem today
There's no quick way to give the picture the whole screen. The only option is macOS full screen from the green button, which keeps every panel, and nothing hides the panels to look at an image uncluttered. Photoshop users reach for F and Tab without thinking.
What changes for the user
F (on the canvas) steps through three modes, as Photoshop does:
A fourth F returns to the window's exact previous size. Leaving full screen with the green button, ⌃⌘F or Esc also returns to Standard.
Shift-Tab hides and shows the tool bar, options bar, Layers panel and status bar, in any mode. Plain Tab keeps its current meaning in Compositor (cycle the tool's mode), unlike Photoshop's.
Both keys are listed in Keyboard Shortcuts and can be changed there. F is ignored while typing text.
How to try it
In the code
ScreenMode.swift: the modes and a small controller that remembers the window's frame and follows macOS full-screen notifications.EditorCanvashandles F and Shift-Tab;ContentViewhides the panels.ScreenModeTests(9 tests), including a real window going in and out of the modes and keeping its size through the green button.Can be trimmed
View › Screen Mode and View › Show Panels do the same as the keys. If you'd rather keep View short, they can go and the keys still work.
Tested on macOS 26.6 (Apple silicon): the full test suite passes. Not yet tried on macOS 27.
🤖 Generated with Claude Code