Frameworks 5.32 broke the previous experience with mask() function from FrameSvg. the code that follows especially during initialization returns an empty QRegion for fixedMask variable. Is that intentional or is considered a bug? I used the following code to blur or mask a specific region for my window. From 5.32 this behavior is broke because mask() returns empty regions most of the time. -------------- if (!m_background) { m_background = new Plasma::FrameSvg(this); m_background->setImagePath(QStringLiteral("widgets/panel-background")); } m_background->setEnabledBorders(enabledBorders()); m_background->resizeFrame(size()); QRegion fixedMask = m_background->mask();
in plasmashell this can be observed by the following: use a theme that is using rounded corners, at !compositing state all panels and plasma windows do not have rounded corners any more...
I can confirm the problem
Git commit 088a79d131f7e192724978566e67b26b30632674 by Marco Martin. Committed on 22/03/2017 at 13:11. Pushed by mart into branch 'master'. correct maskRequestedPrefix when no prefix is used requestedprefix requires to not have the "-", don't fail anymore in q->hasElementPrefix(frame->requestedPrefix) in FrameSvgPrivate::generateBackground M +1 -1 src/plasma/framesvg.cpp https://commits.kde.org/plasma-framework/088a79d131f7e192724978566e67b26b30632674