Skip to content

Reserve titlebar space for right-side window controls#10178

Open
gabrimatic wants to merge 1 commit intowarpdotdev:masterfrom
gabrimatic:gabrimatic/resource-center-titlebar-spacing
Open

Reserve titlebar space for right-side window controls#10178
gabrimatic wants to merge 1 commit intowarpdotdev:masterfrom
gabrimatic:gabrimatic/resource-center-titlebar-spacing

Conversation

@gabrimatic
Copy link
Copy Markdown

Description

  • Always reserve right-side titlebar control space in the tab bar when custom window controls are on the right.
  • Keeps the Resource Center / What's New toolbar controls out from underneath Windows/Linux close, minimize, and maximize controls while preserving left-side macOS behavior.

Linked Issue

Screenshots / Videos

Not included; this is a Windows titlebar spacing fix validated with layout regression coverage and a Windows-target check.

Testing

  • cargo test -p warp traffic_lights
  • cargo fmt -- --check
  • git diff --check
  • cargo check -p warp --lib --target x86_64-pc-windows-gnu --tests
  • cargo clippy -p warp --lib --all-features -- -D warnings

@cla-bot cla-bot Bot added the cla-signed label May 5, 2026
@github-actions github-actions Bot added the external-contributor Indicates that a PR has been opened by someone outside the Warp team. label May 5, 2026
@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented May 5, 2026

@gabrimatic

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview

This PR reserves right-side titlebar control space whenever window controls are on the right, and adds unit coverage for the helper that decides whether tab-bar space should be reserved.

Concerns

  • This is a user-visible titlebar layout change, but the PR does not include screenshots or a video showing the Windows/Linux titlebar spacing. For faster review, please upload screenshots or a video of the feature working end to end.

Verdict

Found: 0 critical, 1 important, 0 suggestions

Request changes

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

@gabrimatic gabrimatic closed this May 6, 2026
@gabrimatic gabrimatic reopened this May 6, 2026
@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented May 6, 2026

@gabrimatic

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview

This PR changes tab-bar layout so right-side custom window controls always reserve space while left-side controls retain the existing behavior, with direct unit coverage for the new helper.

Concerns

  • This is a user-visible titlebar layout change, but the PR does not include screenshots or a short video. For faster review, please upload screenshots or a video showing the Windows/Linux titlebar controls and toolbar controls no longer overlap end to end.

Verdict

Found: 0 critical, 1 important, 0 suggestions

Request changes

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed external-contributor Indicates that a PR has been opened by someone outside the Warp team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UI Overlap When Checking the "What's New" Page

1 participant