Lightly icon indicating copy to clipboard operation
Lightly copied to clipboard

Title bar is not blurred in KDE Plasma 5.25 (Beta)

Open pnedyalkov91 opened this issue 3 years ago • 24 comments

Yesterday I updated my Plasma to 5.25 (Beta) and noticed the title bar is not blurred. I haven't had any issues when I use Plasma 5.24.

Configuration: Operating System: Arch Linux KDE Plasma Version: 5.24.90 KDE Frameworks Version: 5.94.0 Qt Version: 5.15.4 Kernel Version: 5.17.9-arch1-1 (64-bit) Graphics Platform: X11 Lightly version: The latest commit from git

Screenshot: image

pnedyalkov91 avatar May 20 '22 04:05 pnedyalkov91

Officially 5.25 is out now, and yes — titlebars aren't blurred anymore.

plashenkov avatar Jun 17 '22 00:06 plashenkov

AFAIK, you must use setBlurRegion API on the code to make blur enabled, like ClassiK: https://github.com/paulmcauley/classik/commit/fe48c052f529e889706214c9af3db200fbfdb2a8

adam-adrian avatar Jun 17 '22 00:06 adam-adrian

But weirdly, in my case, Konsole is still blurred Screenshot_20220525_123725

adam-adrian avatar Jun 17 '22 01:06 adam-adrian

Yup, I've noteced as well that Konsole is perfectly blurred. It uses older version of Qt widgetset maybe? Just an assumption.

plashenkov avatar Jun 17 '22 01:06 plashenkov

Yup, I've noteced as well that Konsole is perfectly blurred. It uses older version of Qt widgetset maybe? Just an assumption.

Maybe? We just can waiting for @Luwx to implement it or someone making a pull request for it.

adam-adrian avatar Jun 17 '22 01:06 adam-adrian

@adam-adrian Looks very nice. Which color scheme do you use to have the dark theme?

plashenkov avatar Jun 17 '22 01:06 plashenkov

Willow dark glass

adam-adrian avatar Jun 17 '22 01:06 adam-adrian

@adam-adrian And I can see a nice lighter bevel around your windows. Looks great, how have you got this? I use https://github.com/a-parhom/LightlyShaders to workaround corners bug, but it doesn't provide such nice bevel (AFAIK).

plashenkov avatar Jun 17 '22 01:06 plashenkov

I don't know, maybe from the lightly itself

adam-adrian avatar Jun 17 '22 01:06 adam-adrian

I've noticed a weird situation. Konsole, Dolphin, and System Settings have blurred title bars but when I try to resize windows, the title bar blur has gone...

pnedyalkov91 avatar Jun 17 '22 07:06 pnedyalkov91

I believe the reason that Konsole seems to be blurred is because blur was manually enabled. Without shaders, Konsole has Korners because a blurred rectangle is being drawn behind the whole window. Blur has been broken in Konsole for a while now. I guess it just wasn't noticed because blur was enabled manually. If you disable the option to blur Konsole, you will probably see this: image

@plashenkov Have you checked the settings for the shaders in System Settings > Workspace Behavior > Desktop Effects? From there you can turn the bevel on.

doncsugar avatar Jun 18 '22 16:06 doncsugar

@doncsugar Yup, I've already found it. It was hard since there's no info about how to open LightlyShaders config in Luwx/LightlyShaders or a-parhom/LightlyShaders readme :)

Thanks for your Willow theme indeed! I've found Lightly and LightlyShaders thanks to you.

plashenkov avatar Jun 18 '22 22:06 plashenkov

@plashenkov You're welcome! Of course, I couldn't have made Willow if Luwx hadn't taken the time to made Lightly!

doncsugar avatar Jun 22 '22 02:06 doncsugar

Missing blur in tittle bars is surely killing the vibe :-(

Anybody on this ?

Thanks @adam-adrian for your input (pretty much the only comment related to the original issue here), but I could not understand what to make with it...

Best regards

daxid avatar Sep 21 '22 07:09 daxid

Anybody on this ?

https://github.com/Luwx/Lightly/pull/190

Also see #188

boehs avatar Sep 23 '22 01:09 boehs

Hey @boehs, that's great, thank you! Your version works with 5.25

plashenkov avatar Sep 23 '22 07:09 plashenkov

Absolutely, I just built it and the blur vibe is back :-)

Good enough for now. Thanks a ton @boehs

daxid avatar Sep 23 '22 07:09 daxid

@boehs Sorry, I cannot create issues in your repo.

Please consider adding dark color scheme. This one looks nice: https://github.com/Luwx/Lightly/blob/73739ab9eb6934ce886d4d237539208556fe8902/Darkly.colors It can be used as a common color scheme or for some specific applications (Konsole, for example).

plashenkov avatar Sep 23 '22 07:09 plashenkov

Sorry, I cannot create issues in your repo.

Fixed

Please consider adding dark color scheme. This one looks nice:

Will do today

boehs avatar Sep 23 '22 12:09 boehs

IF YOU WANT TO HAVE BLURRED TITLEBAR IN PLASMA 5.25 From now one there could be two versions of Lightly in Plasma 5.25: One with fully opaque titlebar and one with blurred titlebar!

You all may have noticed that michaelwalld has solved the issue of titlebar not being blurred in Plasma 5.25 and has made a pull request on it: https://github.com/Luwx/Lightly/pull/190

At the moment, if you want to have titlebars blurred in Plasma 5.25 - uninstall Lightly and re-install it from Michael's fork: https://github.com/michaelwalld/Lightly

I'd like to add, that after first shock, a fully opaque titlebar in Plasma 5.25 is actually quite beautiful. So I suggest that from now on there could be two versions of Lightly: One with fully opaque titlebar and one with blurred titlebar.....

Lumipyry avatar Nov 26 '22 20:11 Lumipyry

@Lumipyry on my fork I've merged several additional patches (https://github.com/boehs/lightly) and will continue to do so until

  1. Luwx comes back
  2. Someone begins maintaining this repository on their behalf

boehs avatar Nov 26 '22 20:11 boehs

@boehs I'm using your version and encounter visual glitches where there are blurred areas. For example, if I open Dolphin, everything is okay, but when I open another app's window, or if I open some menus, glitches appear on the Dolphin's window titlebar. Did you see something like that?

Screenshot_20221127_052551___2

Screenshot_20221127_052639___2

plashenkov avatar Nov 27 '22 03:11 plashenkov

Did you see something like that?

No, but I recall seeing some issue opened here similar to that. Let me look around. What distro are you using?

boehs avatar Nov 27 '22 16:11 boehs

@boehs I'm using KDE neon 5.26 (based on Ubuntu 20.04) with all latest updates.

plashenkov avatar Nov 27 '22 21:11 plashenkov