From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id EB8DC1FF146 for ; Tue, 09 Jun 2026 13:24:34 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 42A46DD36; Tue, 9 Jun 2026 13:24:33 +0200 (CEST) From: Maximiliano Sandoval To: pve-devel@lists.proxmox.com Subject: [PATCH installer] gui: redraw window after closing disk setup dialog Date: Tue, 9 Jun 2026 13:23:50 +0200 Message-ID: <20260609112430.378669-1-m.sandoval@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1781004225174 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.127 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: 5QSN2AAU5VZHSGJJGWW3NPR5MOQUDXQU X-Message-ID-Hash: 5QSN2AAU5VZHSGJJGWW3NPR5MOQUDXQU X-MailFrom: m.sandoval@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: We ask GTK to redraw the main window after closing the disk setup dialog. Otherwise, after closing the dialog a gray rectangle will be left behind where the dialog was until the UI is interacted with. Signed-off-by: Maximiliano Sandoval --- proxinstall | 1 + 1 file changed, 1 insertion(+) I am not fully sure what causes the rectangle to remain there, it is possible it is related to the x11 server we use. diff --git a/proxinstall b/proxinstall index 7146888..db95b8a 100755 --- a/proxinstall +++ b/proxinstall @@ -1651,6 +1651,7 @@ sub create_hdoption_view { $dialog->show(); $dialog->run(); + $gtk_state->{window}->queue_draw(); my $get_float = sub { my ($entry) = @_; -- 2.47.3