windows-terminal-quake icon indicating copy to clipboard operation
windows-terminal-quake copied to clipboard

Maintain new size when manually resizing a window

Open webbertakken opened this issue 4 years ago • 1 comments

Context

This is the default size of my console:

image

When clicking on the maximize window icon - which can sometimes be helpful when having to fit more on the screen - the console looks like this:

image

This is a pretty great default behaviour that works as expected.

Problem

However when I now hide or re-show the terminal using the quake hotkey the windows size reverts to the one from the initial settings.

Suggested solution

I would suggest the following behaviour:

  • When clicking "Maximise", update the current size in quake console.
  • When clicking "Restore down", restore to the size from the configuration file.

webbertakken avatar Nov 14 '21 16:11 webbertakken

Couple notes:

  • How would we be able to notice the window size having changed due to a user action? Window sizes can change for different reasons (I've used toggling myself exactly to restore the original size)
  • When using multiple monitors with different sizes, the relative sizing we do now handles that pretty neatly. When we want to maintain the user-defined size, what do we do then? Calculate relative size? Only apply when on the same monitor?
  • There is some overlap with the "detach" feature being discussed here: https://github.com/flyingpie/windows-terminal-quake/issues/184

flyingpie avatar Jun 14 '25 06:06 flyingpie