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

            Bug ID: 451778
           Summary: Blur/Kornerbug enabled even when a window is set to
                    opaque
           Product: kwin
           Version: 5.24.3
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: decorations
          Assignee: kwin-bugs-n...@kde.org
          Reporter: k...@paulmcauley.com
  Target Milestone: ---

Created attachment 147655
  --> https://bugs.kde.org/attachment.cgi?id=147655&action=edit
New Kornerbug artefact visible in top corners of window. In this case
transparency is disabled and the window is set to opaque with setOpaque(true).
This artefact did not occur in 5.23

Hello,

I have noticed some regressions (or intentional changes??) with recent point
releases of Plasma 5.24 (I did not notice such changes 5.23 or in the original
Plasma 5.24 release).

I am the author of the Classik C++ window decoration plugin (
https://github.com/paulmcauley/classik ). I have blur enabled in my .json file
as I have translucency as an option. 

In 5.23, and early 5.24 builds I used the same technique as the Lightly window
decoration ( https://github.com/Luwx/Lightly ) to control when blur should be
on or off. Namely, I use Decoration::setOpaque(true) to dynamically turn blur
off and Decoration::setOpaque(false) to dynamically turn blur on. When
translucency and blur was not needed I therefore used
Decoration::setOpaque(true), and this prevented the Kornerbug from appearing by
disabling blur for most default cases when blur was not needed.

My problem is that this no longer works. I now get the kornerbug when using
5.24.3 and Decoration::setOpaque(true), suggesting that blur has been enabled
even on a window set to opaque.

I understand that there is to be a new API for setting a blurRegion mask in
5.25 to avoid kornerbug issues, but I am seeing changes here in 5.24.3. If this
is an intentional change, what is the correct way to programmatically inform
blur to disable? Is setOpaque() still used?

Thanks,

Paul

Operating System: openSUSE Leap 15.3
KDE Plasma Version: 5.24.3
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.2
Kernel Version: 5.3.18-150300.59.54-preempt (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-7700HQ CPU @ 2.80GHz
Memory: 31.2 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 630

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

Reply via email to