Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not pad tabs from the top when maximized or fullscreen #2541

Closed
trajano opened this issue Aug 26, 2019 · 9 comments · Fixed by #5881
Closed

Do not pad tabs from the top when maximized or fullscreen #2541

trajano opened this issue Aug 26, 2019 · 9 comments · Fixed by #5881
Assignees
Labels
Area-User Interface Issues pertaining to the user interface of the Console or Terminal Help Wanted We encourage anyone to jump in on these. Issue-Bug It either shouldn't be doing this or needs an investigation. Priority-3 A description (P3) Product-Terminal The new Windows Terminal. Resolution-Fix-Committed Fix is checked in, but it might be 3-4 weeks until a release.
Milestone

Comments

@trajano
Copy link

trajano commented Aug 26, 2019

Description of the new feature/enhancement

Edge and most other programs that use tabs where a menu bar is not present keep the tabs flush to the top of the screen rather than padding it down.

Proposed technical implementation details (optional)

Make Terminal consistent with Edge Dev (ideally use the same code if possible) to render the tabs on top.

@trajano trajano added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label Aug 26, 2019
@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Aug 26, 2019
@imjasonmiller
Copy link

They are aware of it, as it has been mentioned in #1375, under “Things related to tabs”

@WSLUser
Copy link
Contributor

WSLUser commented Aug 27, 2019

where a menu bar is not present

Edge (or Chrome for that matter) aren't responsible for it. Chromium is. Since Terminal isn't Chromium based, re-use can't happen. Incidentally, I (along with many others) would prefer a menu bar like IE in Edge. I actually opened a ticket for it on the Chromium bug tracker but will probably need more input on the bug tracker to get any type of action on it. Honestly a menu bar in Terminal would be great as well and I'm sure it will be addressed in #1375.

@zadjii-msft zadjii-msft added Area-User Interface Issues pertaining to the user interface of the Console or Terminal Issue-Task It's a feature request, but it doesn't really need a major design. Product-Terminal The new Windows Terminal. and removed Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. labels Sep 3, 2019
@zadjii-msft zadjii-msft added this to the Terminal v1.0 milestone Sep 3, 2019
@ghost ghost removed the Needs-Tag-Fix Doesn't match tag requirements label Sep 3, 2019
@DHowett-MSFT DHowett-MSFT removed the Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting label Sep 5, 2019
@zadjii-msft zadjii-msft added Issue-Bug It either shouldn't be doing this or needs an investigation. and removed Issue-Task It's a feature request, but it doesn't really need a major design. labels Nov 18, 2019
@DHowett-MSFT DHowett-MSFT added the Help Wanted We encourage anyone to jump in on these. label Jan 14, 2020
@zadjii-msft zadjii-msft added Priority-3 A description (P3) v1-Scrubbed labels Jan 22, 2020
@vadimkantorov
Copy link

To not lose context: in
#4479 (comment) @DHowett-MSFT mentioned that the complain of #4479 would be copied here, but it was somehow forgotten

@DHowett-MSFT
Copy link
Contributor

Thanks!

@zadjii-msft zadjii-msft changed the title Do not pad tabs from the top when maximized Do not pad tabs from the top when maximized or fullscreen Mar 12, 2020
@zadjii-msft zadjii-msft removed this from the Terminal v1.x milestone May 8, 2020
@zadjii-msft zadjii-msft added this to the Terminal v1.1 milestone May 8, 2020
@zadjii-msft zadjii-msft self-assigned this May 8, 2020
@ghost ghost added the In-PR This issue has a related PR label May 13, 2020
@ghost ghost closed this as completed in #5881 May 21, 2020
ghost pushed a commit that referenced this issue May 21, 2020
## Summary of the Pull Request

When we maximize the window, shrink the caption buttons (the min, max, close buttons) down to 32px tall, to be the same height as the `TabRowControl`. This way, the tabs will be flush with the top of the display.

## PR Checklist
* [x] Closes #2541
* [x] I work here
* [ ] Tests added/passed
* [n/a] Requires documentation to be updated

## Detailed Description of the Pull Request / Additional comments

I tried for a couple hours this morning to do this as a `VisualState`. First I tried doing it as one on the TabRow, which I had very little success with. Then, I eventually realized that the TabRow wasn't even responsible for the padding there, it was being created by the fact that the caption buttons were too tall. Again, I tried to use the existing `VisualState`s they have defined for this, but I couldn't figure out how to do that.

I think the visual state solution would be _cleaner_, so if someone knows how to do that instead, please let me know. 

## Validation Steps Performed

* Maximized/restored the Terminal on my display with the taskbar on the bottom
* Maximized/restored the Terminal on my display with the taskbar on the top
@ghost ghost added Resolution-Fix-Committed Fix is checked in, but it might be 3-4 weeks until a release. and removed In-PR This issue has a related PR labels May 21, 2020
jelster pushed a commit to jelster/terminal that referenced this issue May 28, 2020
## Summary of the Pull Request

When we maximize the window, shrink the caption buttons (the min, max, close buttons) down to 32px tall, to be the same height as the `TabRowControl`. This way, the tabs will be flush with the top of the display.

## PR Checklist
* [x] Closes microsoft#2541
* [x] I work here
* [ ] Tests added/passed
* [n/a] Requires documentation to be updated

## Detailed Description of the Pull Request / Additional comments

I tried for a couple hours this morning to do this as a `VisualState`. First I tried doing it as one on the TabRow, which I had very little success with. Then, I eventually realized that the TabRow wasn't even responsible for the padding there, it was being created by the fact that the caption buttons were too tall. Again, I tried to use the existing `VisualState`s they have defined for this, but I couldn't figure out how to do that.

I think the visual state solution would be _cleaner_, so if someone knows how to do that instead, please let me know. 

## Validation Steps Performed

* Maximized/restored the Terminal on my display with the taskbar on the bottom
* Maximized/restored the Terminal on my display with the taskbar on the top
@ghost
Copy link

ghost commented Jun 18, 2020

🎉This issue was addressed in #5881, which has now been successfully released as Windows Terminal Preview v1.1.1671.0.:tada:

Handy links:

DHowett pushed a commit that referenced this issue Jun 24, 2020
## Summary of the Pull Request

When we maximize the window, shrink the caption buttons (the min, max, close buttons) down to 32px tall, to be the same height as the `TabRowControl`. This way, the tabs will be flush with the top of the display.

## PR Checklist
* [x] Closes #2541
* [x] I work here
* [ ] Tests added/passed
* [n/a] Requires documentation to be updated

## Detailed Description of the Pull Request / Additional comments

I tried for a couple hours this morning to do this as a `VisualState`. First I tried doing it as one on the TabRow, which I had very little success with. Then, I eventually realized that the TabRow wasn't even responsible for the padding there, it was being created by the fact that the caption buttons were too tall. Again, I tried to use the existing `VisualState`s they have defined for this, but I couldn't figure out how to do that.

I think the visual state solution would be _cleaner_, so if someone knows how to do that instead, please let me know.

## Validation Steps Performed

* Maximized/restored the Terminal on my display with the taskbar on the bottom
* Maximized/restored the Terminal on my display with the taskbar on the top

(cherry picked from commit c373ebc)
@ghost
Copy link

ghost commented Jun 30, 2020

🎉This issue was addressed in #5881, which has now been successfully released as Windows Terminal v1.0.1811.0.:tada:

Handy links:

@sjoshid
Copy link

sjoshid commented Mar 11, 2021

Is there a reason why a padding must exists for a floating window?

@DHowett
Copy link
Member

DHowett commented Mar 11, 2021

It's what every other commonly-used tabbed application has padding above the tabs for a drag/resize area, except for perhaps Firefox.

@sjoshid
Copy link

sjoshid commented Mar 11, 2021

Im using Chrome Edge and even in floating window there is enough gap to drag the window no matter how many tabs you add. And yes Firefox does it best.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-User Interface Issues pertaining to the user interface of the Console or Terminal Help Wanted We encourage anyone to jump in on these. Issue-Bug It either shouldn't be doing this or needs an investigation. Priority-3 A description (P3) Product-Terminal The new Windows Terminal. Resolution-Fix-Committed Fix is checked in, but it might be 3-4 weeks until a release.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants