[pve-devel] [PATCH installer] gui: always set visible-child-name on disk dialog

Christoph Heiss c.heiss at proxmox.com
Wed Mar 19 11:15:51 CET 2025


On Tue Mar 4, 2025 at 11:49 AM CET, Maximiliano Sandoval wrote:
> Whenever a filesystem is selected we show the size selection stack page.
>
> At the moment entering any raid setup, then entering the Advanced
> Options page and then selecting any non-raid setup will show the
> raiddisk page since it is still the visible child.

While testing this, I cannot seem to reproduce the original problem on
the latest PVE 8.3-1 ISO.

In the GUI, clicking on "Options" besides the target harddisk, then in
the dialog selecting e.g. "zfs (RAID1)", going to the "Advanced Options"
tab and then selecting e.g. "ext4" above, yields the normal disk sizing
options tab as expected.

On the main disk selection page, the dropdown is also updated
accordingly.

Or is some other combination of inputs required to trigger this bug?
This is just based upon the patch description.

>
> Reported-by: Alexander Zeidler <a.zeidler at proxmox.com>
> Signed-off-by: Maximiliano Sandoval <m.sandoval at proxmox.com>
> ---
>  proxinstall | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/proxinstall b/proxinstall
> index fe7e29f..5e61e9b 100755
> --- a/proxinstall
> +++ b/proxinstall
> @@ -1358,6 +1358,7 @@ sub create_hdoption_view {
>  	    $options_stack->set_visible_child_name("raiddisk");
>  	} else {
>  	    $target_hd_label->set_text("Target Harddisk");
> +	    $options_stack->set_visible_child_name("hdsize");
>  	}
>
>  	if ($raid) {





More information about the pve-devel mailing list