Skip to content

fix(widget): recover delayed X11 frame-sync stalls - #384

Merged
attson merged 1 commit into
mainfrom
fix/widget-runtime-frame-stall
Sep 20, 2026
Merged

attson merged 1 commit into
mainfrom
fix/widget-runtime-frame-stall

Conversation

@attson

@attson attson commented Sep 20, 2026

Copy link
Copy Markdown
Owner

Summary

  • disable GTK X11 frame sync before the widget first paints, with a Ready fallback
  • detect an extended XSync counter stuck odd and recover via a geometry-preserving hide/show
  • preserve above/attention state and package the new libXext runtime dependency

Verification

  • go vet -tags webkit2_41 ./...
  • cd desktop/frontend && npm run build
  • go test -tags webkit2_41 -timeout 60s ./desktop/ -count=1
  • 64 widget frontend tests
  • production wails build -tags webkit2_41 -skipbindings
  • fault injection: odd counter recovered, animation resumed, geometry and ABOVE preserved, no final DEMANDS_ATTENTION
  • Deb dry run: Depends: libgtk-3-0, libwebkit2gtk-4.1-0, libxext6

@attson
attson merged commit e7e6682 into main Sep 20, 2026
7 checks passed
@attson
attson deleted the fix/widget-runtime-frame-stall branch September 20, 2026 09:30

This branch was successfully deployed

1 active deployment
ci — 4769fec4 Deployed Sep 20, 2026 by attson via windows/amd64 #918
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.

1 participant