-
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
Allow the user to set the minimum window size #6820
Comments
... Why though? Since resizing is a user-initiated event, couldn't you just not resize the window? |
For aesthetic and comercial reasons. If I create a console app and compose it with a background image, like my company logo, resizing the window, in this case making it smaller, will make the composition less interesting, since the backgroung image is static. For this reason it would be better if I could keep the user from doing that. |
I think the solution is make the background image dynamic instead. If I want to resize then I'm going to regardless if a background image is static. Attempting to force your users to do things your way is how you lose users. It's all about choice and Windows Terminal is great about doing that and is adding even more for that. |
It would be nice to make the background image dynamic, but I think bitmap formats like png are not the best choice for this. If introducing an option to prevent resizing is such a big problem, an option for a fixed minimum size would do the job. I'm proposing something based on my needs and maybe somebody else's needs. My users are from an IT niche and Windows Terminal is giving me the oportunity improve apps that we already have and create even better ones. But, a "disable window resizing" option or a "fixed minimum window size" option would really be helpful for what I pretend to do. |
There's already a minimum window size set you can't go any smaller with though it could use a bit more work (I can make it so everything but the tab is visible, there should at least be one visible line you can type into). I would be in favor of allowing a setting to be added for this instead of removing the ability to resize and defaulting it to true, something that would break more users than your niche crowd consists of. |
A fixed minimum window size would be great. It would be really helpful. |
Some mice have issues triggering excessive events after a scroll. Windows resizing gets triggered without the user meaning to. I prefer terminal resizing to be bound to keyboard shortcuts such as those used in browsers, and the ability to disable mouse-initiated resizing. |
I've opened an issue-feature about that too, but the developers/contributors are aware and already working on it. |
I'm okay with letting the user configure the minimum window size, so I'll re-purpose this thread accordingly. Thanks for the discussion all! To add: We'll also need to make sure that it's optional, and it can't be set to smaller than what the value we're currently using is. |
@zadjii-msft - once we merge #8066 this might be quite straightforward. WDYT? |
is this issue open ? |
Why was this never implemented? This is an extremely easy to build feature, and from what I can tell the only reason it was never implemented was because of a few people trying to wrongly claim it's "not necessary", even though there's numerous people saying they want this feature. |
We'd be more than happy to accept a contribution of this extremely easy to build feature! As it stands there are more than 175 issues with more 👍's than this thread, so it's pretty far down our own backlog. But I agree, it would be fairly easy for someone passionate about this to add it ☺ |
Could this hardcoded minimum width value drop to just protecting the essential control buttons I know, it appears odd, but I sometimes use a grid of 260px/320px. |
Description of the new feature/enhancement
Create an option "disable window resizing" or "fixed minimum window size" in global settings.
Proposed technical implementation details (optional)
Window Resizing Settings
Property name: enableWindowResizing
Necessity: Optional
Accepts: true, false
Default value: true
_________________________ OR __________________________________
Fixed Minimum Window Size
Property name: minimumWindowSize
Necessity: Optional
Accepts: Dimensions - rows,columns
Default value: 30,120
The text was updated successfully, but these errors were encountered: