Summary: | Enabling blur effect does not cause non-qt windows to blur, even when they have semi-transparent elements | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | sk.griffinix |
Component: | platform-wayland-nested | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | normal | CC: | kde, sk.griffinix |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
sk.griffinix
2020-08-08 13:42:14 UTC
It would be problematic for us to blur all transparent areas of a window by default. (In reply to David Edmundson from comment #1) > It would be problematic for us to blur all transparent areas of a window by > default. Why? It is already done for qt qpplications >It is already done for qt applications
No it isn't. The application itself requests a blur region.
(In reply to David Edmundson from comment #3) > >It is already done for qt applications > > No it isn't. The application itself requests a blur region. Can't we enable an option in blur effect itself to force blur on all apps? If compositors can wayfire can do it, it must not be impossible in plasma. Also is there an example of an app that has transparency but not request blur? > Also is there an example of an app that has transparency but not request blur?
Windows which are "shaped" (i.e. are not rectangular) use transparency, but do not need blur.
You would need to detect full transparency vs. partial transparency. If you can come up with a plan how to do this without checking the alpha component of each pixel, please share. The better option is of course to announce if blur is needed, and (even better) at which region.
> You would need to detect full transparency vs. partial transparency. If you > can come up with a plan how to do this without checking the alpha component > of each pixel, please share. The better option is of course to announce if > blur is needed, and (even better) at which region. I am sorry but I am not a programmer and the only exposure I had to programming was java in high school, so my queries and and requests must be irritating. I tried checking the wayfire implementation (https://github.com/WayfireWM/wayfire/tree/master/plugins/blur) and I accept I can't make any sense out of it. I would assume they are checking for every region with opacity < 1 and blurring it? In my use, I do think they are doing something like that. It seems to blur every region with opacity<1, even shadows. Maybe something like that is not feasible with kwin as you say. But is there any method possible to make specific windows transparent in wayland with kwin? I have done that with xdotools and devilspie in x.org, but I don't think something comparable exists or can exist in wayland. I used the above methods to blur gtk applications and yakuake |