#22458: Codex/macos chat corner clip
app: macos
size: XS
Cluster:
macOS Notification and Menu Fixes
## Summary
Describe the problem and fix in 2–5 bullets:
- Problem:
- Why it matters:
- What changed:
- What did NOT change (scope boundary):
## Change Type (select all)
- [ ] Bug fix
- [ ] Feature
- [ ] Refactor
- [ ] Docs
- [ ] Security hardening
- [ ] Chore/infra
## Scope (select all touched areas)
- [ ] Gateway / orchestration
- [ ] Skills / tool execution
- [ ] Auth / tokens
- [ ] Memory / storage
- [ ] Integrations
- [ ] API / contracts
- [ ] UI / DX
- [ ] CI/CD / infra
## Linked Issue/PR
- Closes #
- Related #
## User-visible / Behavior Changes
List user-visible changes (including defaults/config).
If none, write `None`.
## Security Impact (required)
- New permissions/capabilities? (`Yes/No`)
- Secrets/tokens handling changed? (`Yes/No`)
- New/changed network calls? (`Yes/No`)
- Command/tool execution surface changed? (`Yes/No`)
- Data access scope changed? (`Yes/No`)
- If any `Yes`, explain risk + mitigation:
## Repro + Verification
### Environment
- OS:
- Runtime/container:
- Model/provider:
- Integration/channel (if any):
- Relevant config (redacted):
### Steps
1.
2.
3.
### Expected
-
### Actual
-
## Evidence
Attach at least one:
- [ ] Failing test/log before + passing after
- [ ] Trace/log snippets
- [ ] Screenshot/recording
- [ ] Perf numbers (if relevant)
## Human Verification (required)
What you personally verified (not just CI), and how:
- Verified scenarios:
- Edge cases checked:
- What you did **not** verify:
## Compatibility / Migration
- Backward compatible? (`Yes/No`)
- Config/env changes? (`Yes/No`)
- Migration needed? (`Yes/No`)
- If yes, exact upgrade steps:
## Failure Recovery (if this breaks)
- How to disable/revert this change quickly:
- Files/config to restore:
- Known bad symptoms reviewers should watch for:
## Risks and Mitigations
List only real risks for this PR. Add/remove entries as needed. If none, write `None`.
- Risk:
- Mitigation:
<!-- greptile_comment -->
<h3>Greptile Summary</h3>
Fixed corner clipping in macOS WebChat panel by adjusting the visual effect view's blending mode and applying matching corner styling to the hosting view layer.
- Changed `effectView.blendingMode` from always `.behindWindow` to conditionally use `.withinWindow` for panels and `.behindWindow` for windows
- Added `backgroundColor = NSColor.clear.cgColor` to the effect view layer
- Applied corner curve, corner radius, and masking to the hosting view layer to match the effect view configuration
This ensures proper rendering of rounded corners for the panel presentation mode without visual artifacts.
<h3>Confidence Score: 5/5</h3>
- This PR is safe to merge with minimal risk
- The changes are narrowly scoped to visual rendering configuration for the macOS WebChat UI. The logic conditionally applies presentation-specific styles using a switch expression on an existing enum, and the new layer properties (corner curve, radius, masking) are applied consistently to both the effect view and hosting view. Existing tests cover both window and panel presentation modes.
- No files require special attention
<sub>Last reviewed commit: 1922e99</sub>
<!-- greptile_other_comments_section -->
<sub>(3/5) Reply to the agent's comments like "Can you suggest a fix for this @greptileai?" or ask follow-up questions!</sub>
<!-- /greptile_comment -->
Most Similar PRs
#17920: macOS: fix WebChat panel corner clipping
by agisilaos · 2026-02-16
90.6%
#3474: fix(macos): menu bar activity badge not showing during agent work
by elektricM · 2026-01-28
77.9%
#14309: fix(ui): resolve chat event session key mismatch
by justonlyforyou · 2026-02-11
76.8%
#16733: fix(ui): avoid injected newlines when tool output is hidden
by jp117 · 2026-02-15
76.4%
#6521: fix: addressed style issue for chat compose and thread on mobile
by spencer-rafada · 2026-02-01
76.3%
#9122: fix(webchat): constrain .chat-new-messages to button size
by ridermw · 2026-02-04
76.3%
#3721: fix(ui): webchat not displaying chat responses
by maxmaxrouge-rgb · 2026-01-29
75.7%
#20064: UI: fix form overlapping subtitle in config screen
by powerdot · 2026-02-18
75.3%
#15909: Guard notifications on macOS; fix focus issue and build fixes
by jasonkneen · 2026-02-14
74.8%
#2716: Fix #2678: markdown horizontal rules not rendering in web chat
by Ambar-13 · 2026-01-27
74.5%