Skip to content

Conversation

@yuriks
Copy link

@yuriks yuriks commented Jan 11, 2026

The image file written by debug_open_snapshot was being kept open by the tempfile object. On Windows, this prevented open::that from successfully launching the viewer sometimes because the file remained locked, which can be avoided by first releasing the file handle.

The image file written by debug_open_snapshot was being kept open by the
`tempfile` object. On Windows, this prevented `open::that` from
successfully launching the viewer sometimes because the file remained
locked, which can be avoided by first releasing the file handle.
@github-actions
Copy link

github-actions bot commented Jan 11, 2026

Preview available at https://egui-pr-preview.github.io/pr/7841-fix-debugopensnapshot
Note that it might take a couple seconds for the update to show up after the preview_build workflow has completed.

View snapshot changes at kitdiff

@yuriks yuriks marked this pull request as ready for review January 11, 2026 20:45
@yuriks yuriks requested a review from lucasmerlin as a code owner January 11, 2026 20:45
Copy link
Collaborator

@lucasmerlin lucasmerlin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@lucasmerlin lucasmerlin added bug Something is broken egui_kittest labels Jan 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something is broken egui_kittest

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants