Skip to content
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

Problems with Aero snap #80

Closed
erantapaa opened this issue Dec 27, 2017 · 6 comments
Closed

Problems with Aero snap #80

erantapaa opened this issue Dec 27, 2017 · 6 comments

Comments

@erantapaa
Copy link

erantapaa commented Dec 27, 2017

Steps to reproduce:

  1. Launch a new medium sized WSL terminal - e.g. 80 cols by 24 rows
  2. Use Windows Aero snap to have the window occupy the left half of the screen (drag title bar to left edge)
  3. Use Ctrl-Shift right click and select the current session

Effect: The window is resized to its original size and the text is a lot smaller.

FWIW, I'm using the Ubuntu Monospace font, 14pt.

@mintty
Copy link
Owner

mintty commented Jan 3, 2018

The font size is only scaled down if you hold the Shift key when you click-select the session.
It's a consequence of "Shift-coupled font-with-window zooming" (see the manual page) and that's a feature, not a bug. If you don't want that, release Shift before the click.

@mintty
Copy link
Owner

mintty commented Jan 3, 2018

Another question is whether the window should be restored to previous size if selected. I'll check whether that can easily be changed. On the other hand, why would you reselect the active session at all?

@mintty
Copy link
Owner

mintty commented Jan 3, 2018

In fact, the target window is set to "RESTORE" on purpose, in case it was minimized (iconic).
A guard can be added to check whether it was actually iconic.

@erantapaa
Copy link
Author

On the other hand, why would you reselect the active session at all?

I was just simplifying the test procedure.

I see that releasing the SHIFT key before selecting a session does not change the font size.

However it would be nice if the session did not get resized when you selected it through the CRTL-SHIFT-RIGHT click menu. It seems that the mintty window doesn't remember that it was resized by Aero.

mintty doesn't have tabs, but it almost has that capability with multiple sessions. It would be really nice to be able to quickly flip between the multiple sessions. Hot keys would be the preferable way to do this, e.g. move to the next/prev session.

@mintty
Copy link
Owner

mintty commented Jan 4, 2018

Yes, the window does not get resized anymore; fixed in the mintty repository.
Hot keys are available: Ctrl+TAB, Ctrl+Shift+TAB.

@mintty
Copy link
Owner

mintty commented Jan 8, 2018

Released 1.8.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants