The idea behind the effect is to fade the screen to black by fading out all windows. The problem is that when multiple windows are ontop of each other you can see windows shining through. By instead fading brightness to zero we properly fade to black. However, if a window has alpha (such as the panel) it will only fade to black its masked contents, not the entire window, looking bad.
- Group Reviewers
I can no longer briefly see my desktop when suspending and resuming while the screen is locked
I'm no longer sufficiently in touch with the code, but one could probably "abuse" the (unstyled) effectframe for the matter (ie. generalize it and make the current frame a special case reg. color, roundness and opacity) - or introduce a similar class for such purposes.
I'd also like to be able to influence the duration of fading, so I can for instance slowly fade over a period of 5 or 10 seconds in PowerDevil until I turn the screen off. If I could do that directly from PowerDevil (set gamma through xcb? plus some Wayland protocol) that would help me a lot.