feat(gui): photo viewer rewrite

Auto-hiding controls, zoom and pan, a docked details panel, paging past the loaded photos with the library total in the counter, inline video playback, Save a Copy under the real name with an error toast, and Open With through the app chooser.
This commit is contained in:
nvrl committed 2026-09-23 03:34:29 +02:00
1 parent 43d1afe705
commit a5d29969dc
4 files changed
+632 -140

No files matched your search

+2
View File
@@ -489,6 +489,8 @@ fn build_window(app: &adw::Application) {
favorites: Cell::new(false),
date_suppress: Cell::new(false),
loading: Cell::new(false),
has_more: Cell::new(false),
page_waiters: RefCell::new(Vec::new()),
width: Cell::new(0),
photo_tex: RefCell::new(HashMap::new()),
photo_tex_order: RefCell::new(VecDeque::new()),