fix: Win11 pane focus border invisible on normal terminals#296
Open
AgentA-asaf wants to merge 3 commits intomainfrom
Open
fix: Win11 pane focus border invisible on normal terminals#296AgentA-asaf wants to merge 3 commits intomainfrom
AgentA-asaf wants to merge 3 commits intomainfrom
Conversation
On Windows 11, backdrop-filter: blur(0.1px) alone gets optimized away by Chromium's compositor under Win11's DWM, so .block-mask doesn't get promoted to its own GPU layer. Agent terminals worked because the has-agent-color class change forced a style recalculation that accidentally promoted the layer. Fix: add will-change: transform alongside backdrop-filter as a belt-and-suspenders compositor layer promotion. Either hint alone may be optimized away on specific platforms, but together they reliably force layer promotion on both Win10 and Win11. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
ReAgent Diagnostics
| Field | Value |
|---|---|
| ReAgent Version | 5.12.5 |
| Trigger | PR opened |
| Project Context | CLAUDE.md loaded |
| Model | claude-opus-4-6 |
| Effort | high |
| Ref Repos | Disabled |
| Merge Analysis | 1 regression(s) detected |
| Review Time | 66.3s |
| Timestamp | 2026-04-04T15:31:19Z |
| Repository | agentmuxai/agentmux |
| PR | #296 |
Issues:
- package.json:9 - Version 0.33.43 already exists in main (merged via PR #295). Rebase on main and bump to 0.33.44.
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.
Problem
On Windows 11, normal terminal panes show no blue focus border when selected. Agent-loaded terminals show their colored border correctly. Works fine on Windows 10.
Root cause
PR #267 fixed this with
backdrop-filter: blur(0.1px)to force.block-maskonto its own compositor layer above xterm's GPU surface. On Win11's DWM compositor, Chromium optimizes away the 0.1px blur — the layer promotion doesn't happen. Agent terminals still work because thehas-agent-colorclass change forces a style recalculation that accidentally promotes the layer.Fix
Add
will-change: transformalongsidebackdrop-filteras belt-and-suspenders compositor layer promotion. Either hint alone may be optimized away on specific platforms, but together they reliably force layer promotion on both Win10 and Win11.Test plan
@AgentX — can you verify on your Win11 machine? Portable build at v0.33.43.
🤖 Generated with Claude Code