Skip to content

Hide the display panel's layout for a lone display - #17232

Merged
dhh merged 1 commit into
quattrofrom
monitor-panel-lone-display
Nov 1, 2026
Merged

dhh merged 1 commit into
quattrofrom
monitor-panel-lone-display

Conversation

@dhh

@dhh dhh commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

With a single monitor, the display panel still showed its Layout section: a map of one box with nothing to arrange. It was kept so the display could be rotated by right-clicking it.

The section now shows only when there are displays to arrange or Mirror/Extend is offered (which includes the mirrored stack). r still opens the rotate menu for a lone display, near the top of the panel, since there's no map to open it over.

Tested: monitor-test.sh. Checked live on a single display: the panel ends at Scale, and r opens the rotate menu near the top with the current rotation checked.

🤖 Generated with Claude Code

A map of one box had nothing to arrange; it stayed only so the display
could be rotated with a right click. The section now shows when there
are displays to arrange or one to mirror onto, and r opens the rotate
menu near the top of the panel when there's no map to open it over.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@dhh
dhh merged commit 7eedd17 into quattro Nov 1, 2026
3 checks passed
@dhh
dhh deleted the monitor-panel-lone-display branch November 1, 2026 11:10
@greptile-apps

greptile-apps Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge.

Summary

Hides the display panel’s Layout section when there is nothing to arrange and Mirror/Extend is unavailable.

  • The monitor panel hides Layout for a lone display but keeps rotation available.

Acknowledgment: dhh explicitly describes removing the lone display’s map and right-click target as intentional, with r retained for rotation.

Reviews (1) · Last reviewed commit: "Hide the display panel's layout for a lo..." · Reviewed by Greptile

@emirb emirb added this to the 4.6.0 milestone Nov 5, 2026
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