terminal
terminal copied to clipboard
Ctrl+Mouse scroll changes the font size
Environment
Windows build number: Microsoft Windows [Version 10.0.18363.476]
Windows Terminal version (if applicable): No
Any other software? No
Steps to reproduce
Run the attached app, press and hold Ctrl, start scrolling.
Expected behavior
The app receives MOUSE_EVENT_RECORDs and uses them to control the slider.
Actual behavior
The app receives MOUSE_EVENT_RECORDs and uses them to control the slider, but at the same time the host changes the font size, so the intended functionality is effectively unusable.
It does not happen in legacy mode and never happened prior to Windows 10.
There is no way to disable this feature in console settings - "Enable Ctrl key shortcuts" is already off.
UPD: everything above applies to Ctrl+Shift+Mouse Scroll as well. It changes the window transparency and there's no way to disable it.
Another unintended consequence is that non-precision touch-pads with momentum can result in the font size being changed unexpectedly.
Step 1: scroll with the touch-pad Step 2: press the ctrl key shortly after you're finished scrolling Step 3: marvel at your newly ginormous or insanely small text
This isn't a concern for many, but in environments with corporate-supplied laptops, which I would expect to be a relatively common deployment scenario for Windows Terminal, it's more likely to have a laptop without a precision touch-pad.
@bgshacklett unfortunately, that's true of so many applications. I wish it weren't 😦 but when I scroll in Firefox or Chrome or... well, pretty much any application and then hold down control I get my eyes melted off
WAIT, CHROME DOESN'T DO IT ANYMORE
IT'S FIXABLE???
FWIW, Chrome still does it for me.
It is happening with any app like webStorm, Chrome, Edge, and Rider. Should it be fixed soon?
I happens in "Azure DevOps -> code review" as well. Very annoying issue
~@alabuzhev I've tried the attached app and the font size does not change for me (Or i misunderstood the issue):~
~The transparency not increasing the value but rather changing opacity is still present though~
Wrong product...
@marcelwgn this report is about conhost/openconsole, not WT.
So what do I need to watch out for when running the attached project?
Edit: Nevermind, figured it out...