[PR #4853] [MERGED] Make ctrl+shift+scroll toggle acrylic on/off at extrema #25985

Open
opened 2026-01-31 09:13:07 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/4853
Author: @abhijeetviswam
Created: 3/9/2020
Status: Merged
Merged: 3/11/2020
Merged by: @DHowett-MSFT

Base: masterHead: feature-AcrylicAutoEnable


📝 Commits (4)

  • fa0529d Initialize acrylic on CTRL+SHIFT+Scroll if useAcrylic is disabled
  • f321f9e Background opacity will be changed by CTRL_SHIFT+Scroll even if useAcrylic is disabled
  • 00b6326 Ensure smooth transition from solid to acrylic background.
  • a7a6554 Turn off acrylic if user scrolls all the way up to 100% opacity

📊 Changes

2 files changed (+16 additions, -1 deletions)

View changed files

📝 doc/user-docs/index.md (+1 -1)
📝 src/cascadia/TerminalControl/TermControl.cpp (+15 -0)

📄 Description

Summary of the Pull Request

If UseAcrylic is disabled, CTRL+SHIFT+SCROLL would enable it, without having to change the setting in profile.json manually.

References

#661

PR Checklist

Detailed Description of the Pull Request / Additional comments

If UseAcrylic is disabled, CTRL+SHIFT+Scroll would enable it and acrylic background brush is initialized.

Validation Steps Performed

  1. Set "useAcrylic" to false for the any profile in profile.json
  2. Open terminal window for that profile.
  3. CTRL+SHIFT+MouseScroll
    Acrylic background opacity should change according to mouse scroll

acrylicTransition


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/4853 **Author:** [@abhijeetviswam](https://github.com/abhijeetviswam) **Created:** 3/9/2020 **Status:** ✅ Merged **Merged:** 3/11/2020 **Merged by:** [@DHowett-MSFT](https://github.com/DHowett-MSFT) **Base:** `master` ← **Head:** `feature-AcrylicAutoEnable` --- ### 📝 Commits (4) - [`fa0529d`](https://github.com/microsoft/terminal/commit/fa0529d64e1ef76b0f499cabeaa6f21f7c46a353) Initialize acrylic on CTRL+SHIFT+Scroll if useAcrylic is disabled - [`f321f9e`](https://github.com/microsoft/terminal/commit/f321f9e7c234c5d9328192f354d356104725ac80) Background opacity will be changed by CTRL_SHIFT+Scroll even if useAcrylic is disabled - [`00b6326`](https://github.com/microsoft/terminal/commit/00b6326080aa9734a6df391c98b38865c8a166c1) Ensure smooth transition from solid to acrylic background. - [`a7a6554`](https://github.com/microsoft/terminal/commit/a7a6554f19054cecbdfc1672193c23b63665f279) Turn off acrylic if user scrolls all the way up to 100% opacity ### 📊 Changes **2 files changed** (+16 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `doc/user-docs/index.md` (+1 -1) 📝 `src/cascadia/TerminalControl/TermControl.cpp` (+15 -0) </details> ### 📄 Description <!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request If UseAcrylic is disabled, CTRL+SHIFT+SCROLL would enable it, without having to change the setting in profile.json manually. <!-- Other than the issue solved, is this relevant to any other issues/existing PRs? --> ## References #661 <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [x] Closes #661 * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [x] Tested manually * [x] Updated documentation <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments If UseAcrylic is disabled, CTRL+SHIFT+Scroll would enable it and acrylic background brush is initialized. <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed 1. Set "useAcrylic" to false for the any profile in profile.json 2. Open terminal window for that profile. 3. CTRL+SHIFT+MouseScroll Acrylic background opacity should change according to mouse scroll ![acrylicTransition](https://user-images.githubusercontent.com/42885985/76288552-fb77bc00-62cc-11ea-974f-b2469718ed3b.gif) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:13:07 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#25985