Skip to content

remove page widget surface on size request, not on size allocate#892

Draft
jchilds0 wants to merge 1 commit intopwmt:developfrom
jchilds0:page-size-allocate
Draft

remove page widget surface on size request, not on size allocate#892
jchilds0 wants to merge 1 commit intopwmt:developfrom
jchilds0:page-size-allocate

Conversation

@jchilds0
Copy link
Contributor

@jchilds0 jchilds0 commented Mar 12, 2026

Document widget uses size allocate to position the page widgets, which conflicts with the previous use of size allocate to invalidate the surface cache.

This should resolve:

Transparency doesn't really work on my machine, and its fast enough that I didn't have lag scrolling so it would be good to have people that can reproduce those issue test.

zathura_page_widget_update_surface should only be called from the render thread, is this also the case for where I've changed gtk_widget_set_size_request to zathura_page_widget_set_size_request? If not, whats the correct way to queue this function to be called in the render thread at some point?

@jchilds0 jchilds0 force-pushed the page-size-allocate branch from ac00132 to 13fde91 Compare March 12, 2026 09:49
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