From 163efa966d488999f413e96ba25cdd9e3bc9261c Mon Sep 17 00:00:00 2001 From: Kris Date: Sat, 24 Oct 2026 16:14:56 +0200 Subject: [PATCH] Avoid blocking filesystem checks in the recent documents menu --- shell/ev-window.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/shell/ev-window.c b/shell/ev-window.c index f7050bd1..8ad585ea 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -2641,8 +2641,10 @@ ev_window_setup_recent (EvWindow *ev_window) info = (GtkRecentInfo *) l->data; - if (!gtk_recent_info_has_application (info, xreader) || - (gtk_recent_info_is_local (info) && !gtk_recent_info_exists (info))) + /* Existence checks can block the UI on unavailable network mounts. + * Let the normal document loading code handle missing files instead. + */ + if (!gtk_recent_info_has_application (info, xreader)) continue; action_name = g_strdup_printf ("RecentFile%u", i++);