-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blur breaks with plasma 5.25 #64
Comments
Same here. @Zren is there a fix? |
@Zren fixed it nicman23@16ac01a |
@nicman23 It works fine on my Plasma system with your fork. Thanks! |
I found this issue after trying to get blurred decorations not knowing it was a bug, it may not be immediately noticeable because some windows can set explicitly its blur and it forces the decoration to be blurred too, as it happens with konsole or when using the "force blur" kwin script, but even then is glitchy. I couldn't build @nicman23 fork but I made a patch out of his changes for last commit 4784647
@Zren This indeed fixed the blur. |
Hmm, I need to check if the frame left/bottom/right is transparent blurred and make sure that works too. I always use no borders though so I can see it not being tested. SierraBreezeEnhaced and Klassy uses: setBlurRegion( QRegion( m_windowPath->toFillPolygon().toPolygon()) ) ; |
Move setBlurRegion to own updateBlur function. Change region to entire decoration frame size to blur the frame too. Check for Plasma 5.25 for setBlurRegion. Add QRegion import.
I moved the void Decoration::updateBlur()
{
#if HAVE_KDecoration2_5_25
setBlurRegion(QRegion(0, 0, size().width(), size().height()));
#endif
} Which seem to blur fine. Not sure why the outline is offset though. Need to test on a non busted GPU. |
@Zren you were right, I had no borders set and didn't noticed the Left/Right/Bottom borders Using Applies blur to all sides. I've got that weird outline too before and after, this is on an old Intel HD 5500 GPU. |
I run this with kvantum and while windows are properly blurred their decoration isn't
example:
The text was updated successfully, but these errors were encountered: