Windows-up does not maximize window when using Focus and Hide title bar #23344

Closed
opened 2026-01-31 08:39:29 +00:00 by claunia · 17 comments
Owner

Originally created by @chipbite on GitHub (Jun 5, 2025).

Windows Terminal version

1.22.11141.0

Windows build number

10.0.26100.4061]

Other Software

NA

Steps to reproduce

Pre-requisite, TLDR: set Launch parameters to Focus and Hide the title bar. I e:

  1. Start windows terminal
  2. Open settings and configure these two settings:
  3. Startup tab, Launch parameters: Set to Focus (Focus, let windows decide) and
  4. Appearance tab, Hide the title bar, toggle to on.

Start and try win-up:

  1. start windows terminal, e g with win-r, wt (press enter)
    Situation: window starts in a free/"undocked" mode - i e not "docked"/aligned to any side of the screen.
  2. Press win-left (or right) to position window aligned with a side.
    Situation: window is now (a) "docked"/aligned to the side of the screen and (b) expanded to use all of the screen height
  3. press windows-up (arrow) once, to make window half height
    Situation: window is now (a) aligned to the side and top of the screen and (b) vertically it is now half the screen height.
  4. press windows-up (arrow) again, a second time - to maximize the window

Please see attached screencapture.

Image

Expected Behavior

window maximizes

Actual Behavior

window remains in place, no change to position, alignment or size.

Workarounds

  • Alt-space, x chord works fine (legacy way of maximizing a window)
  • Full-screen mode works (E g f11)
  • Ensure to not use both settings, only use e g Focus as launch parameter, as it also hides the title bar. So, i e, turn 'Hide the title bar` off, and it works as expected.

Off topic: Thanks for frameless!

I really love how the windows terminal enables me to run frameless windows via focus mode.
Thanks alot for that!!

Example setup pic:
Image

https://github.com/microsoft/vscode/issues/174903#issuecomment-2920655729

Originally created by @chipbite on GitHub (Jun 5, 2025). ### Windows Terminal version 1.22.11141.0 ### Windows build number 10.0.26100.4061] ### Other Software NA ### Steps to reproduce #### Pre-requisite, TLDR: set `Launch parameters` to `Focus` and `Hide the title bar`. I e: 1. Start windows terminal 2. Open settings and configure these two settings: 3. `Startup` tab, `Launch parameters`: Set to `Focus` (`Focus, let windows decide`) _and_ 4. `Appearance` tab, `Hide the title bar`, toggle to `on`. #### Start and try win-up: 1. start windows terminal, e g with `win-r`, `wt` (press enter) _Situation:_ window starts in a free/"undocked" mode - i e not "docked"/aligned to any side of the screen. 3. Press `win-left` (or right) to position window aligned with a side. _Situation:_ window is now **(a)** "docked"/aligned to the side of the screen and **(b)** expanded to use all of the screen height 4. press `windows-up` (arrow) once, to make window half height _Situation:_ window is now **(a)** aligned to the side and top of the screen and **(b)** vertically it is now half the screen height. 5. press `windows-up` (arrow) again, a second time - to maximize the window Please see attached screencapture. ![Image](https://github.com/user-attachments/assets/d8127d35-4a2c-4165-b4a8-f6ec42c05fc1) ### Expected Behavior window maximizes ### Actual Behavior window remains in place, no change to position, alignment or size. ## Workarounds * `Alt-space, x` chord works fine (legacy way of maximizing a window) * Full-screen mode works (E g `f11`) * Ensure to not use both settings, only use e g `Focus` as launch parameter, as it also hides the title bar. So, i e, turn 'Hide the title bar` **off**, and it works as expected. ---- # Off topic: Thanks for frameless! I really love how the windows terminal enables me to run frameless windows via focus mode. Thanks alot for that!! Example setup pic: ![Image](https://github.com/user-attachments/assets/a4ce4083-5654-4922-a8a8-06c677a43bdf) https://github.com/microsoft/vscode/issues/174903#issuecomment-2920655729
claunia added the Help WantedIssue-BugPriority-3Product-TerminalArea-Windowing labels 2026-01-31 08:39:30 +00:00
Author
Owner

@jamespack commented on GitHub (Jun 7, 2025):

This works on windows 11. I noticed you're not passing any args. Did you try passing --focus to it?

We have nearly the same build number.

@jamespack commented on GitHub (Jun 7, 2025): This works on windows 11. I noticed you're not passing any args. Did you try passing --focus to it? We have nearly the same build number.
Author
Owner

@chipbite commented on GitHub (Jun 8, 2025):

Hi James! Thanks alot for reading!

This works on windows 11.

No, this is win 11.
I suspect you misunderstand: Windows build number 10.0.26100.4061 is windows 11, 24H2.
(win 11 build nrs are seemingly above 20000, I am guessing, so 10.0.20000+ is no longer win10, it seems. There are many resources on build numbers, example)).

I noticed you're not passing any args. Did you try passing --focus to it?

I am not sure I understand this comment. I have windows terminal configured to focus mode being always on (paragraph 3, here). And that works, it starts in focus mode. Passing the same thing as a parameter seems redundant, not sure if that would give any better view of the problem?

We have nearly the same build number.

Right, see my comment above. I suspect alot of people assume that the major version 10.0 = win 10, which is certainly not unreasonable. In fact several different windows OS products share major version 10.0.

Anyway, the behavior is totally consistent om my machine. I suspect to repro, the key elements are to have focus mode setup, etc. I suspect reproducing should be straightforward, will try on a few other machines later in the next work week.

@chipbite commented on GitHub (Jun 8, 2025): Hi James! Thanks alot for reading! > This works on windows 11. No, this is win 11. I suspect you misunderstand: Windows build number 10.0.26100.4061 _is_ windows 11, 24H2. (win 11 build nrs are seemingly above 20000, I am guessing, so 10.0.20000+ is no longer win10, it seems. There are many resources on build numbers, [example](https://www.gaijin.at/en/infos/windows-version-numbers))). >I noticed you're not passing any args. Did you try passing --focus to it? I am not sure I understand this comment. I have windows terminal configured to focus mode being always on (paragraph 3, [here](https://learn.microsoft.com/en-us/windows/terminal/tips-and-tricks#focus-mode)). And that works, it starts in focus mode. Passing the same thing as a parameter seems redundant, not sure if that would give any better view of the problem? > We have nearly the same build number. Right, see my comment above. I suspect alot of people assume that the major version 10.0 = win 10, which is certainly not unreasonable. In fact several different windows OS products share major version 10.0. Anyway, the behavior is totally consistent om my machine. I suspect to repro, the key elements are to have focus mode setup, etc. I suspect reproducing should be straightforward, will try on a few other machines later in the next work week.
Author
Owner

@jamespack commented on GitHub (Jun 11, 2025):

Thanks for teaching me how to default to Focus mode! Thats pretty dope. Unfortunately, it still works for me :(

Im not confused about build numbers. I was simply stating our build numbers are close and I am on Windows 11 and it works. Sorry for the confusion.

@jamespack commented on GitHub (Jun 11, 2025): Thanks for teaching me how to default to Focus mode! Thats pretty dope. Unfortunately, it still works for me :( Im not confused about build numbers. I was simply stating our build numbers are close and I am on Windows 11 and it works. Sorry for the confusion.
Author
Owner

@jamespack commented on GitHub (Jun 11, 2025):

Working Build

OS: 10.26100.4202
Terminal: 1.22.11141.0
Not sure if these will be helpful for the team but just in case.

https://github.com/user-attachments/assets/a157436c-aa83-49ab-bba9-f61abeb89b67

@jamespack commented on GitHub (Jun 11, 2025): ### Working Build OS: 10.26100.4202 Terminal: 1.22.11141.0 Not sure if these will be helpful for the team but just in case. https://github.com/user-attachments/assets/a157436c-aa83-49ab-bba9-f61abeb89b67
Author
Owner

@mawid6 commented on GitHub (Jun 11, 2025):

Thanks for checking it out! Odd that you cant reproduce, I wonder what the secret ingredient is.

I found a workaround, which is to use the good old alt-space, x chord. It seems to work fine, but win-up does not, for me...

@mawid6 commented on GitHub (Jun 11, 2025): Thanks for checking it out! Odd that you cant reproduce, I wonder what the secret ingredient is. I found a workaround, which is to use the good old `alt-space, x` chord. It seems to work fine, but `win-up` does not, for me...
Author
Owner

@DHowett commented on GitHub (Jun 11, 2025):

Hmm. While we try to figure out what the underlying issue is, I have a few questions:

  • Are you using any shell extensions that change windowing behavior? Replace the taskbar/?
  • Does F11 or Alt+Enter work to kick the window into fullscreen (though I recognize that this is more maximized than you'd like)

FWIW: We can't reproduce this here, even on 10.0.26100 🙂

Though, while trying to reproduce it I did manage to make a window that doesn't respond to Win+Up or Win+Down at all, but still responds to Win+Left/Right. Huh.

@DHowett commented on GitHub (Jun 11, 2025): Hmm. While we try to figure out what the underlying issue is, I have a few questions: - Are you using any shell extensions that change windowing behavior? Replace the taskbar/? - Does <kbd>F11</kbd> or <kbd>Alt+Enter</kbd> work to kick the window into fullscreen (though I recognize that this is more maximized than you'd like) FWIW: We can't reproduce this here, even on 10.0.26100 🙂 Though, while trying to reproduce it I did manage to make a window that doesn't respond to Win+Up or Win+Down at all, but still responds to Win+Left/Right. Huh.
Author
Owner

@chipbite commented on GitHub (Jun 15, 2025):

Hi!

* Are you using any shell extensions that change windowing behavior? Replace the taskbar/?

No, I dont think so. I use powertoys but have disabled all the windowing related tools.

* Does F11 or Alt+Enter work to kick the window into fullscreen (though I recognize that this is more maximized than you'd like)

Yes, they work. As I said above, so does e g alt-space + x chord.

FWIW: We can't reproduce this here, even on 10.0.26100 🙂

I will try and see if I can repro on some colleagues computers tomorrow.

Though, while trying to reproduce it I did manage to make a window that doesn't respond to Win+Up or Win+Down at all, but still responds to Win+Left/Right. Huh.

Odd. For me it is just that win-up consistently moves the half-screen-width window to the top-half, making it quarter screen sized, as the screen-capture above shows.

@chipbite commented on GitHub (Jun 15, 2025): Hi! > * Are you using any shell extensions that change windowing behavior? Replace the taskbar/? No, I dont think so. I use powertoys but have disabled all the windowing related tools. > * Does F11 or Alt+Enter work to kick the window into fullscreen (though I recognize that this is more maximized than you'd like) Yes, they work. As I said above, so does e g `alt-space + x` chord. > FWIW: We can't reproduce this here, even on 10.0.26100 🙂 I will try and see if I can repro on some colleagues computers tomorrow. > Though, while trying to reproduce it I did manage to make a window that doesn't respond to Win+Up or Win+Down at all, but still responds to Win+Left/Right. Huh. Odd. For me it is just that `win-up` consistently moves the half-screen-width window to the top-half, making it quarter screen sized, as the screen-capture above shows.
Author
Owner

@jamespack commented on GitHub (Jun 16, 2025):

Odd. For me it is just that win-up consistently moves the half-screen-width window to the top-half, making it quarter screen sized, as the screen-capture above shows.

Oh.. I think that's the default behavior. At least that's what I see from half size If you hit the key chord again does it maximize?

@jamespack commented on GitHub (Jun 16, 2025): > Odd. For me it is just that `win-up` consistently moves the half-screen-width window to the top-half, making it quarter screen sized, as the screen-capture above shows. Oh.. I think that's the default behavior. At least that's what I see from half size If you hit the key chord again does it maximize?
Author
Owner

@chipbite commented on GitHub (Jun 16, 2025):

Odd. For me it is just that win-up consistently moves the half-screen-width window to the top-half, making it quarter screen sized, as the screen-capture above shows.

Oh.. I think that's the default behavior. At least that's what I see from half size If you hit the key chord again does it maximize?

Yes - I meant subsequent win-up presses, not the initial one.
The initial win-up press moves the window to the top half, which is correct and as expected, as you note.

This can be seen in the screencapture above, i e:
All subsequent win-up presses do nothing.

I will clarify this in the text of the post!

I have clarified the repro in the post, to be clear on this!

Thanks!

@chipbite commented on GitHub (Jun 16, 2025): > > Odd. For me it is just that `win-up` consistently moves the half-screen-width window to the top-half, making it quarter screen sized, as the screen-capture above shows. > > Oh.. I think that's the default behavior. At least that's what I see from half size If you hit the key chord again does it maximize? Yes - I meant _subsequent_ `win-up` presses, not the initial one. The initial `win-up` press moves the window to the top half, which is correct and as expected, as you note. This can be seen in the screencapture above, i e: All subsequent `win-up` presses do nothing. ~~I will clarify this in the text of the post!~~ I have clarified the repro in the post, to be clear on this! Thanks!
Author
Owner

@jamespack commented on GitHub (Jun 16, 2025):

Thx for clarifying.

@jamespack commented on GitHub (Jun 16, 2025): Thx for clarifying.
Author
Owner

@Philipp01105 commented on GitHub (Jul 10, 2025):

Tested it on my Machine (10.0.26100.4349) and is also not reproduceable

@Philipp01105 commented on GitHub (Jul 10, 2025): Tested it on my Machine (10.0.26100.4349) and is also not reproduceable
Author
Owner

@chipbite commented on GitHub (Jul 11, 2025):

OT: Alright, alright, alright! Its FRIIDAYYY! 😁😁

So, after all of this whiiining going on ooh, I cant repro, oooooh, I cant repro.... 😉😂

Sorry, jokes aside - and my apologies for not getting back sooner!

@Philipp01105: Thanks for reading and testing it out, btw!

I finally took the time to look into this to clarify the repro. I was lucky, I think I found the combination of settings that causes this and in so doing, I also found a perfect workaround for me. I will update the report above, but it turns out that:

Configuring windows terminal to use BOTH of these two settings triggers it:

  1. Startup, Launch parameters: Focus (I have Focus, let windows decide on location) and
  2. Appearance tab, Hide the title bar

causes the problem to appear (ie cannot maximize with win-up).

I arrived at these settings through just trying them out. I did not realize that if I have Focus as launch, it seems I don't need Hide the title bar, since Focus hides title bar anyway. And with just Focus set, win-up works fine.

So, there might be a bug wrt win-up when both of these are set. That said, the workaround is easy and solves my problem.

Thanks! Have a nice weekend!

@chipbite commented on GitHub (Jul 11, 2025): OT: Alright, alright, alright! Its FRIIDAYYY! 😁😁 So, after all of this whiiining going on ooh, I cant repro, oooooh, I cant repro.... 😉😂 Sorry, jokes aside - and my apologies for not getting back sooner! @Philipp01105: Thanks for reading and testing it out, btw! I finally took the time to look into this to clarify the repro. I was lucky, I think I found the combination of settings that causes this and in so doing, I also found a perfect workaround for me. I will update the report above, but it turns out that: Configuring windows terminal to use BOTH of these two settings triggers it: 1. `Startup`, `Launch parameters`: `Focus` (I have `Focus, let windows decide` on location) _and_ 2. `Appearance` tab, `Hide the title bar` causes the problem to appear (ie cannot maximize with `win-up`). I arrived at these settings through just trying them out. I did not realize that if I have `Focus` as launch, it seems I don't need `Hide the title bar`, since `Focus` hides title bar anyway. And with _just_ `Focus` set, `win-up` works fine. So, there might be a bug wrt `win-up` when both of these are set. That said, the workaround is easy and solves my problem. Thanks! Have a nice weekend!
Author
Owner

@Philipp01105 commented on GitHub (Jul 11, 2025):

@chipbite
So I just tested it with both of these settings on (hide title bar and also --focus parameter also tested it with the setting) and i still cant reproduce it, just so you know.
Maybe its a local issue with another config or process on your machine? Cant remember if anyone in the issue coudl repro it.

@Philipp01105 commented on GitHub (Jul 11, 2025): @chipbite So I just tested it with both of these settings on (hide title bar and also --focus parameter also tested it with the setting) and i still cant reproduce it, just so you know. Maybe its a local issue with another config or process on your machine? Cant remember if anyone in the issue coudl repro it.
Author
Owner

@chipbite commented on GitHub (Jul 11, 2025):

Gah. I have reproduced this now on 2 machines (company and client, both win 11), so that is odd. I will check again, maybe there is a third setting I must have set.

@chipbite commented on GitHub (Jul 11, 2025): Gah. I have reproduced this now on 2 machines (company and client, both win 11), so that is odd. I will check again, maybe there is a third setting I must have set.
Author
Owner

@Philipp01105 commented on GitHub (Jul 11, 2025):

Tested it on my Machine (10.0.26100.4349) and is also not reproduceable

also no problem on 26100.4652 (home machine)

@Philipp01105 commented on GitHub (Jul 11, 2025): > Tested it on my Machine (10.0.26100.4349) and is also not reproduceable also no problem on 26100.4652 (home machine)
Author
Owner

@Akhila21-6 commented on GitHub (Oct 19, 2025):

Hi, this looks like a great issue to work on. I'd like to investigate and try to provide a fix.

@Akhila21-6 commented on GitHub (Oct 19, 2025): Hi, this looks like a great issue to work on. I'd like to investigate and try to provide a fix.
Author
Owner

@chipbite commented on GitHub (Oct 29, 2025):

Yeah, now it is gone for me, and works well. Cannot repro in new machine.

@chipbite commented on GitHub (Oct 29, 2025): Yeah, now it is gone for me, and works well. Cannot repro in new machine.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#23344