Redrawing / flickering issues while using Magnifier #9291

Open
opened 2026-01-31 01:50:56 +00:00 by claunia · 8 comments
Owner

Originally created by @ghost on GitHub (Jun 26, 2020).

Environment

Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd]

Microsoft Windows [Version 10.0.18363.900]     

Windows Terminal version (if applicable):

1.0.1401.0

Any other software?

zsh 5.7.1 (x86_64-debian-linux-gnu)
Running on WSL1

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.

Originally created by @ghost on GitHub (Jun 26, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd] Microsoft Windows [Version 10.0.18363.900] Windows Terminal version (if applicable): 1.0.1401.0 Any other software? zsh 5.7.1 (x86_64-debian-linux-gnu) Running on WSL1 ``` # Steps to reproduce <!-- A description of how to trigger this bug. --> 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 <!-- A description of what you're expecting, possibly containing screenshots or reference material. --> None of the contents of the terminal should change. # Actual behavior <!-- What's actually happening? --> 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.
Author
Owner

@DHowett commented on GitHub (Jun 26, 2020):

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.

@DHowett commented on GitHub (Jun 26, 2020): Oh! Oh no! I think this is because _terminal is receiving <kbd>Ctrl+Mouse Wheel</kbd> 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.
Author
Owner

@DHowett commented on GitHub (Jun 26, 2020):

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.

@DHowett commented on GitHub (Jun 26, 2020): Either we need a way to disable the zooming shortcuts, detect that Magnifier is running, _or_ don't do the Terminal character zoom when <kbd>Alt</kbd> is held down.
Author
Owner

@ghost commented on GitHub (Jun 26, 2020):

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!

@ghost commented on GitHub (Jun 26, 2020): 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!
Author
Owner

@DHowett commented on GitHub (Jun 26, 2020):

Thanks 😄

@DHowett commented on GitHub (Jun 26, 2020): Thanks :smile:
Author
Owner

@leonMSFT commented on GitHub (Aug 25, 2021):

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?

@leonMSFT commented on GitHub (Aug 25, 2021): 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?
Author
Owner

@muhammedogz commented on GitHub (Aug 25, 2021):

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.

@muhammedogz commented on GitHub (Aug 25, 2021): 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.
Author
Owner

@zadjii-msft commented on GitHub (Aug 26, 2021):

Cool, glad to hear it!

@zadjii-msft commented on GitHub (Aug 26, 2021): Cool, glad to hear it!
Author
Owner

@muhammedogz commented on GitHub (Sep 10, 2021):

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

@muhammedogz commented on GitHub (Sep 10, 2021): 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
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#9291