Mac: Transparent window shadow is not updating with invalidation
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 9.7k
- Forks
- 565
- PR merge metrics
- No merged PRs in 30d
Description
@cmyr noticed that on Mac the shadow made by the OS does not update when the window is invalidated.
There needs to be a call to [`invalidateShadow() (Apple Developers)`](https://developer.apple.com/documentation/appkit/nswindow/1419529-invalidateshadow) on invalidation to make the shadow update.
There is a video of the artefact here:
https://xi.zulipchat.com/#narrow/stream/147926-druid/topic/semi-transparent.20.2F.20piet.2Eclear.20rework/near/232624600
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Mac window invalidation handling and the code that updates the window after invalidation. Check how invalidateShadow() is exposed by Apple’s AppKit documentation, then ensure it is called during invalidation so the transparent window shadow updates; verify the reported artefact no longer occurs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100