Skip to content

Wait for a drawn frame before checking the viewer's tile bitmaps - #10

Merged
IOL0ol1 merged 1 commit into
masterfrom
test/viewer-bitmap-wait
Nov 19, 2026
Merged

IOL0ol1 merged 1 commit into
masterfrom
test/viewer-bitmap-wait

Conversation

@IOL0ol1

@IOL0ol1 IOL0ol1 commented Nov 19, 2026

Copy link
Copy Markdown
Owner

SlideView_SwitchSlide_DisposesOldLoader asserted that tile bitmaps exist right after the tiles finished loading, but bitmaps are made when the next frame is drawn. It failed once on Windows in the release run for #9. The test now pumps until a frame has been drawn.

The tiles can finish loading before the frame that turns them into bitmaps is drawn, so the slide-switch test failed now and then on Windows.
@IOL0ol1
IOL0ol1 merged commit f7acbca into master Nov 19, 2026
12 checks passed
@IOL0ol1
IOL0ol1 deleted the test/viewer-bitmap-wait branch November 19, 2026 13:00
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