Loupe/src
Sophie Herold f97558cb68 image_view: Handle target file gone correctly
Before, if the target file was gone, files_around just returned an empty
list of files, leading Loupe to think there are no images and showing
the empty state view.

This was frequently triggered by the "Replace original" function in
editing, since the tmp file was already gone, when the view moved to it.

Now, the correct error is shown, and scrolling to the other files is
possible.

Issue #585
2026-08-06 13:47:39 +02:00
..
decoder src: Update copyright info 2026-06-29 13:34:19 +02:00
editing Release 51.beta 2026-07-31 13:53:43 +02:00
metadata metadata: Drop unreliable mime-type 2025-12-03 22:41:24 +01:00
util Update copyright comments 2026-02-27 21:03:02 +01:00
widgets image_view: Handle target file gone correctly 2026-08-06 13:47:39 +02:00
about.rs cargo: Update deps 2026-01-29 23:59:58 +01:00
application.rs src: Update copyright info 2026-06-29 13:34:19 +02:00
config.rs meson: Don't mangle profile and app id suffix 2024-09-27 21:22:52 +02:00
decoder.rs cargo: Update to glycin 4.0.0-alpha 2026-06-25 21:22:23 +02:00
editing.rs Use tracing for logging 2025-12-18 23:15:46 +01:00
file_model.rs image_view: Handle target file gone correctly 2026-08-06 13:47:39 +02:00
lib.rs Update copyright comments 2026-02-27 21:03:02 +01:00
main.rs util/gettext: Parse unicode escape sequences 2024-07-17 19:33:52 +02:00
meson.build Add newlines to end of all files 2025-04-18 02:40:39 +02:00
metadata.rs image_view: Handle target file gone correctly 2026-08-06 13:47:39 +02:00
util.rs Release 51.beta 2026-07-31 13:53:43 +02:00
widgets.rs properties: Remove usage of breakpoints 2024-12-22 20:27:33 +01:00