Skip to content

PanelView: Fix popups position when NoBackground hint is set

After libplasma!1148 (merged), part of !4451 (merged) popups now align to the mask, without it they appear in the wrong position.

This change makes the mask always be filled with with panelMask instead of using an empty one if background hint Plasma::Types::NoBackgroundis set

Tested with this plasmoid https://github.com/sanjay-kr-commit/panelTransparencyToggleForPlasma6

Before After
Screenshot_20241005_040035 Screenshot_20241005_035917

BUG:494193

Merge request reports