Skip to content

Fix stale paint when switching Settings tabs (#21)#23

Merged
ericdallo merged 1 commit into
mainfrom
generic-improvements
May 19, 2026
Merged

Fix stale paint when switching Settings tabs (#21)#23
ericdallo merged 1 commit into
mainfrom
generic-improvements

Conversation

@ericdallo

Copy link
Copy Markdown
Member

Summary

  • JBCefBrowser was built with setOffScreenRendering true. Under OSR, CEF intermittently fails to invalidate freed regions when a large React subtree is replaced in one commit (e.g. switching out of LogsTab with thousands of buffered entries), leaving the previous tab's pixels visible behind the new one until another event triggers a repaint.
  • OSR was set in the initial webview scaffolding (7c0511b) with a TODO move to config note and no specific need for transparency or custom compositing.
  • Switched to heavyweight rendering.

Closes #21.

JBCefBrowser was built with setOffScreenRendering true. Under OSR, CEF
intermittently fails to invalidate the freed region when a large React
subtree is replaced in one commit (e.g. switching out of LogsTab with
thousands of buffered entries), leaving the previous tab's pixels
visible behind the new one until any other event triggers a repaint.

OSR was set in the initial webview scaffolding (7c0511b) with a "TODO
move to config" note and no specific need for transparency or custom
compositing. Switched to heavyweight rendering.
@ericdallo ericdallo merged commit ffa5c0c into main May 19, 2026
1 check passed
@ericdallo ericdallo deleted the generic-improvements branch May 19, 2026 13:46
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.

Config fails to render parts of forms

1 participant