Closed Hazza4569 closed 2 years ago
Same for me! It's really annoying, as I can't get clear feedback which window is focused in my setup. For me though it does not only happen for graphical applications. But perhaps only consistently for graphical applications and randomly for terminals. I'm on Arch Linux, using compton and relevant config:
for_window [class=".*"] border pixel 8
smart_gaps on
gaps inner 3
gaps outer 2
hide_edge_borders both
# ...
# class border backgr. text indicator child_border
client.focused_inactive #333333 #5f676a #ffffff #B2C6E6 #CEE6B200
client.unfocused #333333 #222222 #888888 #B2C6E6 #CEE6B200
client.focused #4c7899 #285577 #ffffff #B2C6E6 #000000
client.urgent #2f343a #900000 #ffffff #900000 #900000
client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
I 'solved' this issue by using non-transparent borders, and I picked an inactive border colour that was close to my desktop background in colour. Not an ideal solution for sure, it would be good to have proper support for transparent borders.
Maybe a related workaround would be to change how the blending is done for windows that don't support transparency.
Currently border color #ffffffff
would be white on all windows. #ffffff00
would be black on non-transparent windows and fully transparent on supported windows. I think a nicer behavior would be to ignore the alpha values on the non-transparent windows, resulting in white.
This way, one could use transparency where supported and "fallback" to what @Hazza4569 does.
This effect is more apparent when using alpha values inbetween 0 and ff. #ffffff88
would result in gray, which is probably not what you want.
This behavior is based on my limited experience on i3-gaps
$ i3 --version
i3 version 4.18.2 (2020-07-26) © 2009 Michael Stapelberg and contributors
Any updates on this? It seems transparent borders also work in kitty, fyi
Would like to hear if this is being looked at? It's visually annoying when you get black borders on some windows when they should be transparent. You could turn off the borders completely, but that would mess up the highlighting of the active window too.
@Tuuuukka No, sorry, for me personally i3-gaps is now purely a "keep it up to date with upstream" project. If someone wants to look into this and can find a simple fix, that'd be great, of course.
@Tuuuukka No, sorry, for me personally i3-gaps is now purely a "keep it up to date with upstream" project. If someone wants to look into this and can find a simple fix, that'd be great, of course.
Ok, thanks. Might have to look into it myself when I got the time.
I'm closing this issue has i3-gaps is being migrated into i3. If this issue still applies, please reopen it in i3.
I'm submitting a…
Current Behavior
Borders around applications including Firefox, Nautilus, Spotify, Chrome (pretty much everything except URxvt) appear as black when set to transparent.
Expected Behavior
Borders should be transparent on all applications.
I am using compton, and transparency is working for my polybar, the background of my URxvt terminals and their borders.
Environment
Output of
i3 --moreversion 2>&-
: