From: Foxe Chen Date: Fri, 26 Jun 2026 20:09:48 +0000 (+0000) Subject: patch 9.2.0731: GTK4 GUI scrollbar size not updated when restoring a session X-Git-Tag: v9.2.0731^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=add09091a25603ec536a95c9ba7375e862bb1405;p=thirdparty%2Fvim.git patch 9.2.0731: GTK4 GUI scrollbar size not updated when restoring a session Problem: GTK4 GUI scrollbar size not updated when restoring a session Solution: In vim_form_move_resize() queue a resize for a hidden widget (Foxe Chen). closes: #20633 Signed-off-by: Foxe Chen Signed-off-by: Christian Brabandt --- diff --git a/src/gui_gtk4_f.c b/src/gui_gtk4_f.c index 29c17aa6d5..56949d9971 100644 --- a/src/gui_gtk4_f.c +++ b/src/gui_gtk4_f.c @@ -174,6 +174,8 @@ vim_form_move_resize( gint h) { gtk_widget_set_size_request(widget, w, h); + if (!gtk_widget_get_visible(widget)) + gtk_widget_queue_resize(widget); vim_form_move(self, widget, x, y); } diff --git a/src/version.c b/src/version.c index 782667cc23..362b50a9d7 100644 --- a/src/version.c +++ b/src/version.c @@ -759,6 +759,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 731, /**/ 730, /**/