all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Maximiliano Sandoval <m.sandoval@proxmox.com>
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	[thread overview]
Message-ID: <20260609112430.378669-1-m.sandoval@proxmox.com> (raw)

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 <m.sandoval@proxmox.com>
---
 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





             reply	other threads:[~2026-06-09 11:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-09 11:23 Maximiliano Sandoval [this message]
2026-06-09 22:22 ` applied: [PATCH installer] gui: redraw window after closing disk setup dialog Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260609112430.378669-1-m.sandoval@proxmox.com \
    --to=m.sandoval@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal