Skip to content

fix: macOS glitches + deps cascade (v0.1.24)#102

Merged
kolkov merged 1 commit into
mainfrom
fix/issue-101-macos-glitches
May 13, 2026
Merged

fix: macOS glitches + deps cascade (v0.1.24)#102
kolkov merged 1 commit into
mainfrom
fix/issue-101-macos-glitches

Conversation

@kolkov
Copy link
Copy Markdown
Contributor

@kolkov kolkov commented May 13, 2026

Summary

Fixes #101 (macOS UI glitches, @AnyCPU) — UI-side fixes + full ecosystem dependency cascade.

UI Fixes (Threads B, B', G)

  • Collapsible ghost pixels (Thread B) — InvalidateScene() in progressAdapter.Set() forces boundary re-recording during collapse animation. 1 line + 44 LOC test.
  • stampCompositorClip degenerate rects (Thread B') — normalize zero-area clips to explicit zero rect. 6 lines + 99 LOC test.
  • Gallery theme dropdown desync (Thread G) — galleryState.themeIdx preserves selection across tree rebuilds. 3 lines.

Dependency Cascade (Threads A, C, F, H)

  • gg v0.46.9 → v0.46.11 — GPU stroke EvenOdd fill rule, nil texture readback guard, SVG HiDPI scale fix
  • wgpu v0.27.3 → v0.27.5 — NULL handle guard in TransitionTextures, flaky Windows CI fix
  • gogpu v0.34.3 → v0.34.6 — macOS PUA filter, Linux EventClose, deferred SetHitTestCallback frameless drag fix
  • goffi v0.5.0 → v0.5.1 — amd64 struct arg passing, XMM0:XMM1 return

Docs

  • CHANGELOG.md, ARCHITECTURE.md, ROADMAP.md updated with all dependency versions

Test plan

  • go build ./...
  • go test ./... -count=1 (56 packages, 0 failures)
  • golangci-lint run --timeout=5m (0 issues)
  • Visual: gallery renders correctly (no black screen)
  • Visual: IDE frameless drag works
  • CI green on all platforms

Closes #101 (UI-side)

Custom font loading: FontRegistry, StyledTextDrawer, Plugin wiring,
TextWidget.FontFamily(). 47 new tests.

Fix #101 (Threads B, B', G): collapsible ghost pixels (InvalidateScene),
stampCompositorClip degenerate rects, gallery theme dropdown desync.
3 new tests (143 LOC).

Dependencies: gg v0.46.11, wgpu v0.27.5, gogpu v0.34.6, goffi v0.5.1.
Fixes: GPU stroke EvenOdd, nil texture readback, macOS PUA filter,
frameless drag, SVG HiDPI scale.

ARCHITECTURE.md, ROADMAP.md, CHANGELOG.md updated.
@codecov
Copy link
Copy Markdown

codecov Bot commented May 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@kolkov kolkov merged commit 3d40000 into main May 13, 2026
9 checks passed
@kolkov kolkov deleted the fix/issue-101-macos-glitches branch May 13, 2026 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

macOS ui glitches

1 participant