OPNsense Forum

English Forums => 26.7 Series => Topic started by: MoonbeamFrame on July 11, 2026, 10:20:26 PM

Title: OPNsense 26.7.r2_3 Disk Widget
Post by: MoonbeamFrame on July 11, 2026, 10:20:26 PM
The disk widget on the RC's does not always display as expected.
Title: Re: OPNsense 26.7.r2_3 Disk Widget
Post by: MoonbeamFrame on July 12, 2026, 10:31:55 AM
This may be a red herring as I've just see this behavior on my local live firewall running 26.1.11_6.

My initial suspicion was the browser, Firefox 152.0.5 on Linux, But I see a similar behavior in Brave.

The difference is that in Brave I can see the box drawn oversized before collapsing back to the expected size. I subsequently saw the same with Firefox but after a few minutes.
Title: Re: OPNsense 26.7.r2_3 Disk Widget
Post by: franco on July 12, 2026, 12:55:32 PM
I've seen this too and I have the suspicion this started after https://github.com/opnsense/core/commit/beff82708582

# opnsense-patch https://github.com/opnsense/core/commit/beff82708582

Does that help?


Cheers,
Franco
Title: Re: OPNsense 26.7.r2_3 Disk Widget
Post by: MoonbeamFrame on July 12, 2026, 10:23:52 PM
Applied the patch and rebooted the lab firewall (26.7.r2_3)

This did not change the widget layout.
Title: Re: OPNsense 26.7.r2_3 Disk Widget
Post by: franco on July 13, 2026, 07:05:05 AM
Ok, strange, but if you hit the edit button the layout starts behaving?

https://github.com/opnsense/core/commit/83236171bb98 has something to do with it then, but the previous code only fixed the wrong size of the disk widget after load, not that it initially takes the wrong size.  This may be due to the fact that the disk widget has multiple sizes.


Cheers,
Franco
Title: Re: OPNsense 26.7.r2_3 Disk Widget
Post by: MoonbeamFrame on July 13, 2026, 10:00:08 AM
On Firefox - Edit, add widget, save, reload. On Brave - Edit, remove widget, save, reload. Neither changed the behavior.

I have HDPI screens which are scaled. To rules this out I reverted both to 100%. Doing shows that the System Information widget is doing the same thing. Though it is resizing within a few seconds, or so.

The Disk widget eventually resized on both browsers after ~ 10 minutes.
Title: Re: OPNsense 26.7.r2_3 Disk Widget
Post by: tuto2 on July 13, 2026, 10:09:15 AM
I think the following patch should help:

# opnsense-patch https://github.com/opnsense/core/commit/0e1e8cfa163bb27b01e33cc0d34fde2eac512e4e

Seems to have been an ordering issue in rendered content vs resize trigger.
Title: Re: OPNsense 26.7.r2_3 Disk Widget
Post by: MoonbeamFrame on July 13, 2026, 10:40:34 AM
It helps.

For both browsers after opening and closing edit mode the widgets resize.

When using page reload, via <F5>, the larger widget size does still occasionally appear. Less so for Firefox.
Title: Re: OPNsense 26.7.r2_3 Disk Widget
Post by: Smoky020 on July 15, 2026, 07:46:29 PM
Got the same with 26.7. The disk widget sometimes remains larger when refreshing with F5 and using Edge.
Title: Re: OPNsense 26.7.r2_3 Disk Widget
Post by: OPNenthu on July 23, 2026, 08:55:07 PM
Didn't realize this was already reported. 

Close as duplicate? https://github.com/opnsense/core/issues/10581
Title: Re: OPNsense 26.7.r2_3 Disk Widget
Post by: Warbreaker on July 24, 2026, 11:45:03 AM
It may be a numbers approximation issue, change the size of your browser for a second, then maximize it back, it then fixes the widget (done with Brave in my case)