diff options
| author | Paul Buetow <paul@buetow.org> | 2025-07-22 08:15:07 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-07-22 08:15:07 +0300 |
| commit | 35ff0f508cf9cb52048f2ed67bd07f4aec17f2bf (patch) | |
| tree | 3c3aef2d478e3edde300311137df43b2353af5f2 /internal/processor/processor_test.go | |
| parent | 1cc15cfbd68d45ae6d561e5659422e72bf9ecd1d (diff) | |
Fix GUI background image generation race conditions
- Add file.Sync() after image download to ensure data is flushed to disk
- Add double-checking in UI updates to prevent wrong card updates
- Fix background job completion to reload files when user navigates back
- Add file size validation in image display widget
- Improve error messages for image loading failures
This fixes two issues:
1. 'png: invalid format: not enough pixel data' error when navigating during generation
2. Images not updating when navigating back to a card after background generation completes
Diffstat (limited to 'internal/processor/processor_test.go')
0 files changed, 0 insertions, 0 deletions
