Repository navigation
Feature: Appearance window transparency - #3760
Open
BornToBeRoot wants to merge 4 commits into
Open
BornToBeRoot wants to merge 4 commits into
BornToBeRoot wants to merge 4 commits into
Conversation
New settings Appearance_UseTransparency (default off) and Appearance_Transparency (1 - 30 %, default 10 %) in Settings > Appearance: toggle with help icon and a slider in 1 % steps, applied live. The main window, the windows of dragged-out tabs, the status window and the notifications get a uniform alpha via SetLayeredWindowAttributes (WindowTransparencyHelper) instead of AllowsTransparency, so the embedded windows (Remote Desktop, PuTTY, PowerShell, TigerVNC, WebView2) stay visible. WPF (HwndTarget) removes WS_EX_LAYERED in WM_STYLECHANGING from windows without AllowsTransparency; a window hook (called before the one of WPF) keeps it while the window should be transparent. Popups (context menus, drop-downs, tooltips) stay opaque. Opaque in screenshot mode. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Tick the box to add this pull request to the merge queue (same as
|
- Hook: convert wParam unchecked (ToInt32() throws on 64-bit if the value doesn't fit) - Help text: removed the note about the embedded tools - Docs: fields named like in the settings (Enable transparency, Transparency); changelog links #3760 - AGENTS.md: native windows can't be in per-pixel transparent windows, the whole window can be transparent (WindowTransparencyHelper) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…abled WindowTransparencyHelper.Apply(window, 0) returns at once if the window was never transparent (no hook, no style, no attached value). Disabling it at runtime removes the hook and the layered style again, so the window is the same as before. The hook is only added while the window is transparent. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
See commits
Related issue
Closes #
Type of change