Can't drag the window using the pixels on top of the screen over a tab #7584

Open
opened 2026-01-31 01:07:54 +00:00 by claunia · 5 comments
Owner

Originally created by @JK3Farden on GitHub (Apr 23, 2020).

Environment

Windows build number: Microsoft Windows [version 10.0.18363.778]
Windows Terminal version (if applicable): 0.10.781.0

Steps to reproduce

  1. Maximize the terminal window
  2. Open a lot of tabs to fill the title bar
  3. Try to drag the window using the title bar, placing the mouse above one of the tabs (top of the screen)

Expected behavior

The window should un-maximize and begin to move with the mouse, just like every other window.

Actual behavior

The window doesn't move at all.

Originally created by @JK3Farden on GitHub (Apr 23, 2020). # Environment Windows build number: Microsoft Windows [version 10.0.18363.778] Windows Terminal version (if applicable): 0.10.781.0 # Steps to reproduce 1. Maximize the terminal window 2. Open a lot of tabs to fill the title bar 3. Try to drag the window using the title bar, placing the mouse above one of the tabs (top of the screen) # Expected behavior The window should un-maximize and begin to move with the mouse, just like every other window. # Actual behavior The window doesn't move at all.
claunia added the Issue-TaskProduct-TerminalArea-UserInterface labels 2026-01-31 01:07:54 +00:00
Author
Owner

@Zenexer commented on GitHub (Apr 23, 2020):

I'd actually rather that the tabs extend to the very top, just like most web browsers (tested in Chrome, Firefox, Edge). That would allow me to quickly select a tab by quickly moving my mouse to the top of the screen without worrying about overshooting on the vertical axis.

@Zenexer commented on GitHub (Apr 23, 2020): I'd actually rather that the tabs extend to the very top, just like most web browsers (tested in Chrome, Firefox, Edge). That would allow me to quickly select a tab by quickly moving my mouse to the top of the screen without worrying about overshooting on the vertical axis.
Author
Owner

@JK3Farden commented on GitHub (Apr 23, 2020):

Maybe we could have an option to get an actual title bar, therefore allowing both options.

@JK3Farden commented on GitHub (Apr 23, 2020): Maybe we could have an option to get an actual title bar, therefore allowing both options.
Author
Owner

@zadjii-msft commented on GitHub (Apr 23, 2020):

You know, I could have sworn we had a dupe for this one....

  • There's #2541, but that's specific to the "when maximized" scenario
  • In general, this is a hard problem because of the way we're architected with XAML Islands - we basically have to manually cut out the region around the tabs that should accept clicks. This might be more possible with #5485, but we'd basically need another HWND for the area above the tabs.
    • We'd probably also need to more carefully coordinate with where the tabs actually are in XAML - with #3327, we wouldn't be able to always know exactly how tall the tabs will be, we'd have to ask XAML for that.
  • @JK3Farden

    Maybe we could have an option to get an actual title bar

    We actually already have this option, try putting "showTabsInTitlebar": false in your global settings
@zadjii-msft commented on GitHub (Apr 23, 2020): You know, I could have sworn we had a dupe for this one.... * There's #2541, but that's specific to the "when maximized" scenario * In _general_, this is a hard problem because of the way we're architected with XAML Islands - we basically have to manually cut out the region around the tabs that should accept clicks. This might be more possible with #5485, but we'd basically need another HWND for the area above the tabs. - We'd probably also need to more carefully coordinate with where the tabs actually are in XAML - with #3327, we wouldn't be able to always know exactly how tall the tabs will be, we'd have to ask XAML for that. * @JK3Farden > Maybe we could have an option to get an actual title bar > We actually already have this option, try putting `"showTabsInTitlebar": false` in your global settings
Author
Owner

@JK3Farden commented on GitHub (Apr 23, 2020):

Well thank you for the "showTabsInTitlebar": false option, I didn't know about it. It solves my use case, but I think this issue might still be interesting to properly solve, one way or another. Having a dead row of pixels in the title bar doesn't seem like an intended behavior.

@JK3Farden commented on GitHub (Apr 23, 2020): Well thank you for the "showTabsInTitlebar": false option, I didn't know about it. It solves my use case, but I think this issue might still be interesting to properly solve, one way or another. Having a dead row of pixels in the title bar doesn't seem like an intended behavior.
Author
Owner

@morganwdavis commented on GitHub (Jul 18, 2022):

This Windows Terminal window is partially visible.

image

The frame area above the tabs is useless except for a tiny area, but only if you can move the window into view so you can access it.

image

Dragging on that area above the tabs to move the window would solve this. I had to use keyboard shortcuts to fully zoom the window to get control of it. I understand this is a challenge, but consider this a vote for it.

@morganwdavis commented on GitHub (Jul 18, 2022): This Windows Terminal window is partially visible. ![image](https://user-images.githubusercontent.com/4434533/179433813-3697ee73-66b5-4bc3-9964-43825520858f.png) The frame area above the tabs is useless except for a tiny area, but only if you can move the window into view so you can access it. ![image](https://user-images.githubusercontent.com/4434533/179434000-74798344-7cef-4ac1-af2c-2a5c38b52d29.png) Dragging on that area above the tabs to move the window would solve this. I had to use keyboard shortcuts to fully zoom the window to get control of it. I understand this is a challenge, but consider this a vote for it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#7584