[PR #19055] feat: add MicaAlt support for settings background (#17650) #31696

Closed
opened 2026-01-31 09:48:55 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/19055

State: closed
Merged: No


Summary of the Pull Request

This PR adds support for a new setting useMicaAlt that enables the Mica Alt visual effect in Windows Terminal. This complements the existing useMica setting, providing more flexibility in applying Windows 11 visual styles.

References and Relevant Issues

Closes #17650
Internal discussion: [Enable support for Mica Alt in terminal settings appearance]

Detailed Description of the Pull Request / Additional comments

•	Added a new boolean property useMicaAlt in profiles.schema.json to allow users to opt into the Mica Alt effect.
•	Introduced _useMicaAlt variable and UseMicaAlt() getter in GlobalAppSettings.cpp/h.
•	Parsed the setting in LayerJson() to bind it to the global config model.
•	Extended the conditional logic in MainPage.cpp to apply the Mica Alt background when enabled.
•	This implementation mirrors the useMica structure for consistency and ease of maintenance.

No separate visual style was introduced at this stage — MicaAlt reuses the existing Mica logic as a starting point for future differentiation if needed.

Validation Steps Performed

•	Manually enabled "useMicaAlt": true in settings.json
•	Verified background behavior in the settings page correctly triggers SettingsPageMicaBackground
•	Confirmed fallback to standard background when useMicaAlt is false
•	Regression-checked useMica to ensure no interference

PR Checklist

•	Closes #17650
•	Tests added/passed (optional — maintainers may handle this)
•	Documentation updated
•	Schema updated in profiles.schema.json
•	Documentation PR: (If needed, can be filed here → https://github.com/MicrosoftDocs/terminal)

@microsoft-github-policy-service agree

**Original Pull Request:** https://github.com/microsoft/terminal/pull/19055 **State:** closed **Merged:** No --- ## Summary of the Pull Request This PR adds support for a new setting useMicaAlt that enables the Mica Alt visual effect in Windows Terminal. This complements the existing useMica setting, providing more flexibility in applying Windows 11 visual styles. ## References and Relevant Issues Closes #17650 Internal discussion: [Enable support for Mica Alt in terminal settings appearance] ## Detailed Description of the Pull Request / Additional comments • Added a new boolean property useMicaAlt in profiles.schema.json to allow users to opt into the Mica Alt effect. • Introduced _useMicaAlt variable and UseMicaAlt() getter in GlobalAppSettings.cpp/h. • Parsed the setting in LayerJson() to bind it to the global config model. • Extended the conditional logic in MainPage.cpp to apply the Mica Alt background when enabled. • This implementation mirrors the useMica structure for consistency and ease of maintenance. No separate visual style was introduced at this stage — MicaAlt reuses the existing Mica logic as a starting point for future differentiation if needed. ## Validation Steps Performed • Manually enabled "useMicaAlt": true in settings.json • Verified background behavior in the settings page correctly triggers SettingsPageMicaBackground • Confirmed fallback to standard background when useMicaAlt is false • Regression-checked useMica to ensure no interference ## PR Checklist • Closes #17650 • Tests added/passed (optional — maintainers may handle this) • Documentation updated • Schema updated in profiles.schema.json • Documentation PR: (If needed, can be filed here → https://github.com/MicrosoftDocs/terminal) @microsoft-github-policy-service agree
claunia added the pull-request label 2026-01-31 09:48:55 +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#31696