swayfx
swayfx copied to clipboard
Dim unfocused window just paints the whole window
-
Swayfx Version:
swayfx version 0.5.2 (based on sway 1.10.1)
-
Configuration File: https://gist.github.com/TLINDEN/6c70e9bac07461ff047ec3c82164dff9
-
Description: I have build swayfx manually and installed it (along with wlroots and scenefx libs) to
/opt. I can start it and it works like the original sway if I use my original config. However, I have configured the dimming of unfocused windows, but they are just painted in the given dim color, not dimmed. It doesn't matter, which value I give indefault_dim_inactive. It also doesn't matter, which color I use, unless I use black (#000000) then no dimming happens. I also tried to enable the blur and shadows feature. Both don't work either, there are no shadows or blurring anywhere.
edited to add screenshot: the blue left window is just another terminal window, which is unfocused, which normally looks exactly like the right one.
I created https://github.com/WillPower3309/swayfx/pull/440 which adds the Dockerfile and docker-compose.yaml which I have used to build swayfx. Of course these are work in progress and possibly unrelated to this issue.
I have this issue too. I had default_dim_inactive 1 for testing. I don't know if that's why, but that seems odd. I thought that "dim" settings should have put some black coloured and highly transparent overlay and not use the notification colour (in my case it's red). I have not yet tested if setting default_dim_inactive 0 goes around the issue. I'm waiting for a notification to happen.
Might need some clarification on this one, if default_dim_inactive should set how dimmed a window is, with 1 being fully whatever color your dim color is, and 0.5 for example being set to half the value of the dim color. Default setting with default_dim_inactive set to 0.5 for example gives:
Strange, I didn't really change anything, but it's now working in a way. But the dim setting doesn't seem to make a difference now. So, wether I set it to 0.1 or to 1 the dimming is always the same. It never looks like your screenshot. This is how it looks at 0.5 with dim color `#ff0000':
Oh and what's weird as well is that system popups like the file open dialog look really strange:
This applies to all floating windows! It doesn't happen at the 0.1 dim setting, but the strange thick red frame persists. Most interestingly with dim setting 0 inactive windows are still being dimmed with the dim color as described above (so that setting does really have no effect), but the thick frame around floatings disappears with 0.