summaryrefslogtreecommitdiff
path: root/internal/processor/processor_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-07-22 08:15:07 +0300
committerPaul Buetow <paul@buetow.org>2025-07-22 08:15:07 +0300
commit35ff0f508cf9cb52048f2ed67bd07f4aec17f2bf (patch)
tree3c3aef2d478e3edde300311137df43b2353af5f2 /internal/processor/processor_test.go
parent1cc15cfbd68d45ae6d561e5659422e72bf9ecd1d (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