gentoo-ebuilds/media-gfx/geeqie/files/geeqie-2.6-start_thumbnail.patch
Bernard Cafarelli 0c2e1a1bbf
media-gfx/geeqie: backport some upstream fixes
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
2025-06-07 12:10:55 +02:00

31 lines
878 B
Diff

From 0dd297128f1843e5700ed3f0d8b95d3056a3d5a3 Mon Sep 17 00:00:00 2001
From: Colin Clark <colin.clark@cclark.uk>
Date: Tue, 3 Jun 2025 15:09:04 +0100
Subject: [PATCH] Fix #1765: No thumbnails shown in browser view on geeqie
start
https://github.com/BestImageViewer/geeqie/issues/1765
Not a fix, just a workaround.
---
src/main.cc | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/main.cc b/src/main.cc
index 9600cd42..6345533f 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -892,6 +892,13 @@ void activate_cb(GtkApplication *, gpointer)
if (lw->window)
{
gtk_widget_show(lw->window);
+
+ /** @FIXME This is not a fix - it is a workaround
+ * https://github.com/BestImageViewer/geeqie/issues/1765
+ * The reason for the bug is unknown.
+ * The origin is in commit 0ec522a0 - convert Geeqie to GtkApplication
+ */
+ layout_refresh(lw);
}
}