Skip to content

Bound the retry loop while acquiring the surface texture - #462

Merged
parasyte merged 1 commit into
mainfrom
fix/460
Aug 12, 2026
Merged

Bound the retry loop while acquiring the surface texture#462
parasyte merged 1 commit into
mainfrom
fix/460

Conversation

@parasyte

@parasyte parasyte commented Aug 4, 2026

Copy link
Copy Markdown
Owner

This will turn the infinite loop into an error. It does not address the cause of the infinite loop. Users who experience the hang will instead need to handle the error appropriately instead of terminating the application.

The root cause was identified in #460 as a permenant desynchonization between the window manager's understanding of the window size and pixels' understanding of the surface size. Making pixels robust to this desync is currently out of scope, as it will require a major refactor.

Closes #460
Closes #461

This will turn the infinite loop into an error. It does not address
the cause of the infinite loop. Users who experience the hang will
instead need to handle the error appropriately instead of
terminating the application.

The root cause was identified in #460 as a permenant
desynchonization between the window manager's understanding of the
window size and `pixels`' understanding of the surface size. Making
`pixels` robust to this desync is currently out of scope, as it
will require a major refactor.

Closes #460
Closes #461
@parasyte
parasyte merged commit d0fa7bb into main Aug 12, 2026
20 checks passed
@parasyte
parasyte deleted the fix/460 branch August 12, 2026 04:19
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.

render() can loop forever reconfiguring the surface when the cached surface size is stale

1 participant