Repository navigation
Closed
Labels
Area-UserInterfaceIssues pertaining to the user interface of the Console or TerminalIssues pertaining to the user interface of the Console or TerminalIssue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Priority-3A description (P3)A description (P3)Product-TerminalThe new Windows Terminal.The new Windows Terminal.Resolution-Fix-AvailableIt's available in an Insiders build or a releaseIt's available in an Insiders build or a release
Milestone
Description
Environment
Windows build number: Microsoft Windows [Version 10.0.19042.630]
Windows Terminal version (if applicable): 1.4.3243.0
Any other software?
Steps to reproduce
initially, the Windows Taskbar is normally at the top, and always showing
- open Windows Terminal
- maximized window
- trigger fullscreen mode with F11
- go to Windows
Taskbar Settingsand trigger onAutomatically hide the taskbar in desktop mode - go back to Terminal and press F11 to exit fullscreen mode
- a strange bar appears up to the title area, see this image:
zoom in and look at the area above Terminal and close button

(note that Windows Taskbar above already hided)
the bar has three tiny buttons: minimize, maximize and close, all are works.
sometimes after moving Terminal window or exit maximized status, that bar will disappear, but sometimes not.
if that bar does not disappear, Terminal cannot maximized to all area while the Windows Taskbar in auto hide mode
Expected behavior
no strange bar appear, and maximize the window properly
Actual behavior
sometimes cannot maximized Terminal with Taskbar autohided
Metadata
Metadata
Assignees
Labels
Area-UserInterfaceIssues pertaining to the user interface of the Console or TerminalIssues pertaining to the user interface of the Console or TerminalIssue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Priority-3A description (P3)A description (P3)Product-TerminalThe new Windows Terminal.The new Windows Terminal.Resolution-Fix-AvailableIt's available in an Insiders build or a releaseIt's available in an Insiders build or a release
Activity
Don-Vito commentedon Nov 24, 2020
Wow.. that is a weird one 😄 . Does not reproduce for me: instead I simply have an used area under the terminal window - where the taskbar used to reside. Few questions:
epiciskandar commentedon Nov 24, 2020
yes, it is 100% reproduce.
yes, no time racing.everything happens flex
two monitor, with same 100% scaling, resolution 1920*1080.
this happens on both monitor, but firstly I found it on the secondary one, then reproduce this on primary one too.
I have another PC with only one monitor, with same Windows version, but the Terminal is preview ver(1.5.3242.0). and same thing can be reproduced.
epiciskandar commentedon Nov 24, 2020
I remembered one step not listed, between step 2 and step 3, or say, before fullscreening Terminal, you need to open "Taskbar Settings" first.
after Terminal go to fullscreen, switch to that setting window by clicking
Alt + Tabepiciskandar commentedon Nov 24, 2020
for me, the taskbar is on the top of desktop
Don-Vito commentedon Nov 24, 2020
I missed that "tiny" part. Was able to reproduce it with debugger attached.
Will try to take a look, unless the team has a direction.
IIRC there is some underlying window that is used for dragging - so my guess it is somehow not aligned with the island anymore.
Don-Vito commentedon Nov 24, 2020
Mike Griese (@zadjii-msft) - I see it is not the first issue with full screen and auto-hide taskbar that caused the windows to be not aligned:
DHowett commentedon Nov 24, 2020
Don-Vito probably won’t be our last, either 😄 something about DwmExtendFrameIntoClientArea and WM_NCCALCSIZE occasionally make weird things like this happen :| and we haven’t quite nailed down all of them it seems!
zadjii-msft commentedon Nov 30, 2020
What the dickens, that definitely repros for me. I have no idea why, but it's a real bug.
I'll throw it in with the rest of the window shenanigans tracked in #1625. Thanks!
Don-Vito commentedon Nov 30, 2020
Mike Griese (@zadjii-msft) - This definitely repros.. I tried to look at it and got a headache.. 😄 I will probably try to look at it again later on...
zadjii-msft commentedon Dec 9, 2021
Good news everyone! Looks like this is resolved in recent Terminal builds. Not sure which exactly, but likely one of #11653 or #9737 fixed it. Thanks all!
MarcoBuess commentedon Jun 5, 2024
Mike Griese (@zadjii-msft) its still happening for me on
1.20.11381.0. On fullscreen the bar gets smaller but is still there. It will only disappear when windowed. Padding is set to0in mysettings.json.zadjii-msft commentedon Jun 5, 2024
Marco Bueß (@MarcoBuess) And to confirm, you're using an auto-hiding, top taskbar as well? Windows version 19045?
This was closed out some 3 years ago now, it might be a recent regression, but I doubt that. We haven't done too much to mess with the windowing code over the last few releases. I also don't have a non-VM win10 machine handy with which to test easily 😕
MarcoBuess commentedon Jun 5, 2024
Mike Griese (@zadjii-msft) Actually I did recently before upgrading to Windows 11 (10.0.22631), where I have the issue even without the hiding taskbar situation.