https://bugs.kde.org/show_bug.cgi?id=377893

            Bug ID: 377893
           Summary: FrameSVG - mask() returns empty reqion when it
                    shouldnt
           Product: frameworks-plasma
           Version: 5.32.0
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: libplasma
          Assignee: notm...@gmail.com
          Reporter: mvourla...@gmail.com
  Target Milestone: ---

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();

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to