[PR #11609] [MERGED] Make sure the infobar is inserted before the tab content, not on top of #28654

Open
opened 2026-01-31 09:29:53 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/11609
Author: @zadjii-msft
Created: 10/25/2021
Status: Merged
Merged: 10/26/2021
Merged by: @undefined

Base: mainHead: dev/migrie/11606-infobars-under-tabs


📝 Commits (2)

  • 753ad54 Make sure the infobar is inserted before the tab content, not on top of
  • 306c0d0 oh yea this is way better

📊 Changes

1 file changed (+44 additions, -43 deletions)

View changed files

📝 src/cascadia/TerminalApp/TerminalPage.xaml (+44 -43)

📄 Description

Fixes #11606

This is weird, but the infobars would appear totally on top of the
TerminalPage when showTabsInTitlebar:false. This would result in the infobar
obscuring the tabs.

Now, the infobars are strictly inserted after the tabs, before the content. So
when they appear, they will reduce the amount of space usable for the control.
That is a little annoying, but preferable to the tabs totally not existing.

Relevant conversation notes from #10798:

If the info bar is not local to the tab, then its location between the tab
bar (when the title bar is hidden) and the terminal panes feels
misleading. Should it instead be above the tab bar or below the terminal
panes?

You're... not wrong here. It's maybe not the best place for it, but on top
of the tabs would look insane, and probably wouldn't even work easily, given
the way we reparent the tab row into the titlebar.

In the pane itself would make more sense, but that runs abreast of all sorts
of things like #9024, #4998, which might make more sense.

I'm just gonna go with this now, because it's better than before, while we
work out what's best.

gh-11606-fix


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/11609 **Author:** [@zadjii-msft](https://github.com/zadjii-msft) **Created:** 10/25/2021 **Status:** ✅ Merged **Merged:** 10/26/2021 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `dev/migrie/11606-infobars-under-tabs` --- ### 📝 Commits (2) - [`753ad54`](https://github.com/microsoft/terminal/commit/753ad542b7a1af883a8f86bd1479dd8106ed05e8) Make sure the infobar is inserted before the tab content, not on top of - [`306c0d0`](https://github.com/microsoft/terminal/commit/306c0d0c7f42a4a5225be5da90cf69cd9677c4e8) oh yea this is way better ### 📊 Changes **1 file changed** (+44 additions, -43 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalApp/TerminalPage.xaml` (+44 -43) </details> ### 📄 Description Fixes #11606 This is weird, but the infobars would appear totally on top of the TerminalPage when `showTabsInTitlebar:false`. This would result in the infobar obscuring the tabs. Now, the infobars are strictly inserted after the tabs, before the content. So when they appear, they will reduce the amount of space usable for the control. That is a little annoying, but preferable to the tabs totally not existing. Relevant conversation notes from #10798: > > If the info bar is not local to the tab, then its location between the tab > > bar (when the title bar is hidden) and the terminal panes feels > > misleading. Should it instead be above the tab bar or below the terminal > > panes? > > You're... not wrong here. It's maybe not the best place for it, but _on top_ > of the tabs would look insane, and probably wouldn't even work easily, given > the way we reparent the tab row into the titlebar. > > In the pane itself would make more sense, but that runs abreast of all sorts > of things like #9024, #4998, which might make more sense. I'm just gonna go with this now, because it's _better_ than before, while we work out what's _best_. ![gh-11606-fix](https://user-images.githubusercontent.com/18356694/138729178-b96b7003-0dd2-4521-8fff-0fd2a5989f22.gif) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:29:53 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#28654