-
Notifications
You must be signed in to change notification settings - Fork 8.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remember last window position and size #5858
Comments
Thanks for the suggestion! This is actually already being tracked by another issue on our repo - please refer to #766 for more discussion. /dup #766 Also, if you like using the same window position every single time, might I interest you in the
|
Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! |
@zadjii-msft I don't see how this is a duplicate of 766. this issue describes wanting to have the window frame restored to it's last known position and size on launch, where 766 describes wanting to have the terminal app restore previously open profile tabs on launch... I'm still only testing MS Terminal, using Hyper as my primary, mostly just because the terminal window opens in unexpected places, which (after using a keyboard shortcut to launch it) I still need to flip to my mouse, move the window, then flip back to my keyboard to continue. This may be a trivial UI point, but it's one crazy UX killer... |
From #766
(emp. added)
alt+space, m, arrow keys can be used to move the window with the keyboard (if you really hate using the mouse). |
Ah, it seems that this goes much deeper than my issue search revealed earlier.. Apologies for jumping to conclusions, but also thank you for the clarification. I do still have some strange behaviour regarding the window positioning that feel like issues to be fixed, so I'll go digging through other issue logs and comments later when I have a bit more time. 👍🏼 |
Search a lot. Just add initialPosition in your settings.json. |
So if all I want is to remember size and position like ever other application but not restore old sessions (tabs, CWD, history, etc.) I just do the following? Go into settings.json, add the missing initialPosition setting, tinker and adjust multiple times, restarting terminal until you finally get the position right. Now change initialCol and initialRow size because top/left position is correct but bottom/left is off the screen. Now since changing initialCol and initialRow actually affected the top/left position instead of expected bottom/right, go back and tinker/adjust the position multiple times again until it is correct. Possibly need to readjust the col and row again. Keep repeating the whole process until the window size and position is where you want it. Then repeat on another PC with a different screen size and resolution. Make a backup copy of settings.json (for each PC) so you don't have to go through this process again. Is that right? Sounds easy enough |
Yup, that's right! |
Description of the new feature/enhancement
You have to drag it and reposition and resize every time on launch.
The text was updated successfully, but these errors were encountered: