Windows11 (22H2), display resolution 3840x2160, win scaling 150%
Viewer
quirks reading corrupted files (simple examples, end parts of files were deleted)
issue A
1. open test folder in Browser mode
corrupted png shows as thumbnail
2. double-click corrupted png
it does not render in Viewer
issue B
1. double-click avif image in win file explorer
2. scroll to the next file
viewer shows blank tab while scrolling corrupted images, no error message appears, tab shows prev filename
issue C
1. open test folder in Browser mode
2. double-click corrupted avif and webp
they open in new instance
issue D
1. double-click corrupted file in win file explorer
xnview opens with <empty> tab and error message
<empty> tab remains once Error message closed
guess tab shall close automatically
Suggestion
it would be better to
- check 'Ignore read errors' by default
(Settings > Format > Read)
so that user can see at least part of the image
- add popup message that there is read error
so user is aware that file is corrupted
Its better to use non-modal messages and style them to appear in the bottom left corner, like in web: Snack-bar, Alert
Related
- issues
1.5.5 - viewer - reading corrupted files (current post)
1.5.0 - browser - raw opens in new instance