[pve-devel] applied: [PATCH manager] ui: fix zero-sized panels on fresh chrome start

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Nov 20 10:15:33 CET 2023


Am 20/11/2023 um 09:02 schrieb Dominik Csapak:
> it seems in new versions of chrome , this triggers too early on a fresh
> start (when autostarting a pve tab), resulting in the
> 'viewWidth'/'viewHeight' being zero pixels. This means we set the width
> of the left and the height of the bottom panel to zero pixels, making
> them functionally invisible.
> 
> To prevent that, check that the 'viewWidth'/'viewHeight' is big enough
> so that the panels still have least 50 pixels left before setting their
> size.
> 
> reported on the pve-user list:
> https://lists.proxmox.com/pipermail/pve-user/2023-November/017292.html
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
> this plaged me for at least a week, but it seems no one else ran into
> this, so i blamed my local install, until the report on pve-user
> 
> we should probably backport this to stable-7, can send a separate fix
> should it not cleanly apply/be cherry-pickable
> 
>  www/manager6/Workspace.js | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
>

applied, with the link swapped out to the one that's actually a report about
this issue in the forum, thanks!





More information about the pve-devel mailing list