all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH installer] gui: redraw window after closing disk setup dialog
@ 2026-06-09 11:23 Maximiliano Sandoval
  2026-06-09 22:22 ` applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Maximiliano Sandoval @ 2026-06-09 11:23 UTC (permalink / raw)
  To: pve-devel

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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* applied: [PATCH installer] gui: redraw window after closing disk setup dialog
  2026-06-09 11:23 [PATCH installer] gui: redraw window after closing disk setup dialog Maximiliano Sandoval
@ 2026-06-09 22:22 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2026-06-09 22:22 UTC (permalink / raw)
  To: pve-devel, Maximiliano Sandoval

On Tue, 09 Jun 2026 13:23:50 +0200, Maximiliano Sandoval wrote:
> 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.

Applied, thanks!

[1/1] gui: redraw window after closing disk setup dialog
      commit: 55c764163c7f061c78b3a04d3bf4ca0216ed0664




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-06-09 22:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-09 11:23 [PATCH installer] gui: redraw window after closing disk setup dialog Maximiliano Sandoval
2026-06-09 22:22 ` applied: " Thomas Lamprecht

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