microsoft/Terminal

Maximized Terminal's tab bar jumps up 1pix after switching to Terminal via Windows task bar

Open

#16,386 opened on 2023年11月27日

GitHub で見る
 (4 comments) (0 reactions) (0 assignees)C++ (3,212 forks)batch import
Area-WindowingHelp WantedIssue-BugNeeds-ReproProduct-Terminal

Repository metrics

Stars
 (35,764 stars)
PR merge metrics
 (平均マージ 27d 19h) (30d で 24 merged PRs)

説明

Windows Terminal version

1.18.2822.0

Windows build number

10.0.22621.2715

Other Software

No response

Steps to reproduce

  • Switch to an existing Terminal by clicking on in task bar
  • Its top bar (which holds the tab switcher) noticeably jumps up 1 pixel or so

It seems that WinUI first draws some horizontal border on top of the Window, but then Terminal takes over and the top bar jumps up to take over that viewport space.

This jumping up is very strange.

Unfortunately, I could not record this problem via Win+G or Win+Alt+R because I could not figure out how to capture just the full screen instead of a single app.

Notepad.exe also has a tab bar but has no such jumping behavior. It's also worth noting, that the app minimize/maximize/cross of Notepad and Terminal are not perfectly aligned when switching between this app. There seems some minor 1pix difference, and also the app-exit cross icon of Terminal is bolder compared to Notepad

Expected Behavior

No response

Actual Behavior

N/A

コントリビューターガイド