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

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Nov 20 09:26:05 CET 2023


Am 20/11/2023 um 09:07 schrieb Dominik Csapak:
> On 11/20/23 09:02, Dominik Csapak wrote:
>> 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
> 
> this actually is a different issue, i misunderstood the message
> from the user...
> 
> anyway it's a problem i can reproduce here quite easily, so

Is this related to:
https://forum.proxmox.com/threads/web-portal-rendering-issues-vivaldi-brower.136636/#post-606233
?





More information about the pve-devel mailing list