Open DonQuinleone opened 4 years ago
Oh! Oh no!
I think this is because terminal is receiving Ctrl+Mouse Wheel at the same time. It's doing its own font zooming in response to that, and that change in text size causes the remote application (zsh, micro) to redraw the entire screen.
Either we need a way to disable the zooming shortcuts, detect that Magnifier is running, or don't do the Terminal character zoom when Alt is held down.
Thanks so much for the quick response @DHowett! Really appreciate it.
Would love a patch for this, but I totally appreciate there are more important issues. Whenever you get a chance :-)
Other than this, awesome job on the emulator - it's fantastic!
Thanks :smile:
So I've attempted to repro this on a couple of our more recent builds (1.9 and up), but could not get it to repro with the same steps. 😥 It's very possible it's been fixed by some other bugfix, perhaps to how we deal with modifiers. Could you see if you can still repro the bug?
I also had some the problem so I was watching this topic.
I can confirm that this terminal behavior is solved. It was occurring when so many lines on terminal. So I tested with infinite print loop and nothing happened.
So I guess it is fixed.
Edit: I forgot to mention it. I am also using windows magnifier 7/24 with windows terminal.
Cool, glad to hear it!
I sad it fixed but it still happens.
I tried some cases to see it will triggered or not.
When I install an npm package, for example npm install -g matrix-rain
If my text cursor focused to terminal and I use my mouse to look another place. It does not allows to look and keep focusing and it causes closing the terminal.
@zadjii-msft
Environment
Steps to reproduce
Open Magnifer on Windows, and use Ctrl+Alt+Scroll Wheel shortcut to zoom in and out
Either just use ZSH, or open any terminal application (in this case htop, nano, vim and micro)
Expected behavior
None of the contents of the terminal should change.
Actual behavior
Everything displayed within Terminal is redrawn, which makes it virtually unusable for me.
Additionally, this seems to force ZSH to re-run, but this does not happen in bash.
Lastly, the OS-selector / app info dropdown enlarges as you zoom in.
Here's a video showcasing the issues with ZSH/htop/vim/micro: https://youtu.be/qUZRsuhJV5M
And here's a video showing how bash is not affected, and the resizing dropdown menu: https://youtu.be/MRsJl6bgIVQ
I really love Windows Terminal, so I really hope you can get this fixed, as it would make a huge difference to me. For reference, I am registered blind, so rely completely on Magnifier for my work.