Skip to content

applets/devicenotifier: disable unused scrollbar

Reason for the change

The devicenotifier popup has the ScrollBar at its default AsNeed policy, but the content is resizing so that a horizontal scrollbar is never needed. This is not only some extra unnecessary work, but also causes a binding loop during initialization as the sizes of all the components are figured out and intermediate states where a scrollbar is temporarily marked as visible cause itself to be recomputed.

Instead, just mark the horizontal ScrollBar as AlwaysOff and avoid the extra work and binding loop.

Test plan

  1. Open device notifier
  2. (without) Binding loop (with) no binding loop

Screenshots or screen recordings

N/A

Bugs fixed

N/A

Merge request reports

Loading