Ctrl+Mouse scroll changes the font size #5328

Closed
opened 2026-01-31 00:10:40 +00:00 by claunia · 13 comments
Owner

Originally created by @alabuzhev on GitHub (Dec 1, 2019).

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.

Originally created by @alabuzhev on GitHub (Dec 1, 2019). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 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: Microsoft Windows [Version 10.0.18363.476] Windows Terminal version (if applicable): No Any other software? No ``` # Steps to reproduce <!-- A description of how to trigger this bug. --> Run [the attached app](https://github.com/microsoft/terminal/files/3908161/CtrlScroll.zip), press and hold Ctrl, start scrolling. # Expected behavior <!-- A description of what you're expecting, possibly containing screenshots or reference material. --> The app receives `MOUSE_EVENT_RECORD`s and uses them to control the slider. # Actual behavior <!-- What's actually happening? --> The app receives `MOUSE_EVENT_RECORD`s 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.
Author
Owner

@bgshacklett commented on GitHub (Mar 26, 2021):

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 commented on GitHub (Mar 26, 2021): 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.
Author
Owner

@DHowett commented on GitHub (Mar 26, 2021):

@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

@DHowett commented on GitHub (Mar 26, 2021): @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
Author
Owner

@DHowett commented on GitHub (Mar 26, 2021):

WAIT, CHROME DOESN'T DO IT ANYMORE

IT'S FIXABLE???

@DHowett commented on GitHub (Mar 26, 2021): WAIT, CHROME DOESN'T DO IT ANYMORE IT'S FIXABLE???
Author
Owner

@bgshacklett commented on GitHub (Apr 7, 2021):

FWIW, Chrome still does it for me.

@bgshacklett commented on GitHub (Apr 7, 2021): FWIW, Chrome still does it for me.
Author
Owner

@esterkaufman commented on GitHub (Jan 1, 2023):

It is happening with any app like webStorm, Chrome, Edge, and Rider.
Should it be fixed soon?

@esterkaufman commented on GitHub (Jan 1, 2023): It is happening with any app like webStorm, Chrome, Edge, and Rider. Should it be fixed soon?
Author
Owner

@artnikbrothers commented on GitHub (Sep 8, 2023):

I happens in "Azure DevOps -> code review" as well. Very annoying issue

@artnikbrothers commented on GitHub (Sep 8, 2023): I happens in "Azure DevOps -> code review" as well. Very annoying issue
Author
Owner

@marcelwgn commented on GitHub (Apr 9, 2024):

@alabuzhev I've tried the attached app and the font size does not change for me (Or i misunderstood the issue):

Slider in Terminal increasing and decreasing value

The transparency not increasing the value but rather changing opacity is still present though

Wrong product...

@marcelwgn commented on GitHub (Apr 9, 2024): ~@alabuzhev I've tried the attached app and the font size does not change for me (Or i misunderstood the issue):~ ![Slider in Terminal increasing and decreasing value](https://github.com/microsoft/terminal/assets/16122379/8c2b2797-6c5b-4fa5-916b-c8e14ddf2766) ~The transparency not increasing the value but rather changing opacity is still present though~ Wrong product...
Author
Owner

@alabuzhev commented on GitHub (Apr 9, 2024):

@marcelwgn this report is about conhost/openconsole, not WT.

@alabuzhev commented on GitHub (Apr 9, 2024): @marcelwgn this report is about conhost/openconsole, not WT.
Author
Owner

@marcelwgn commented on GitHub (Apr 9, 2024):

So what do I need to watch out for when running the attached project?

Edit: Nevermind, figured it out...

@marcelwgn commented on GitHub (Apr 9, 2024): So what do I need to watch out for when running the attached project? Edit: Nevermind, figured it out...
Author
Owner

@alabuzhev commented on GitHub (Jul 17, 2025):

@DHowett thanks, but what about

everything above applies to Ctrl+Shift+Mouse Scroll as well

?

As far as I understand, #19127 does not address that ("Other Ctrl+Scroll functionality (like transparency adjustments) remains unaffected").

@alabuzhev commented on GitHub (Jul 17, 2025): @DHowett thanks, but what about > everything above applies to Ctrl+Shift+Mouse Scroll as well ? As far as I understand, #19127 does not address that ("Other Ctrl+Scroll functionality (like transparency adjustments) remains unaffected").
Author
Owner

@DHowett commented on GitHub (Jul 17, 2025):

UPD

We missed this because it was not in the title ;P

@DHowett commented on GitHub (Jul 17, 2025): > UPD We missed this because it was not in the title ;P
Author
Owner

@paulinek13 commented on GitHub (Jul 18, 2025):

@alabuzhev You're right! It's my bad actually, I've missed you mentioned that too in your issue.
So I think I'll create a follow-up PR with an option to disable it :)

@paulinek13 commented on GitHub (Jul 18, 2025): @alabuzhev You're right! It's my bad actually, I've missed you mentioned that too in your issue. So I think I'll create a follow-up PR with an option to disable it :)
Author
Owner

@alabuzhev commented on GitHub (Jul 18, 2025):

Thank you!

@alabuzhev commented on GitHub (Jul 18, 2025): Thank you!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#5328