Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken Window Border Colors when using Compositor #176

Open
ninjacatz opened this issue Nov 1, 2024 · 6 comments
Open

Broken Window Border Colors when using Compositor #176

ninjacatz opened this issue Nov 1, 2024 · 6 comments

Comments

@ninjacatz
Copy link

When using IceWM with a compositor, there is a problem with window borders that become white/transparent, instead of retaining their normal color like the titlebar. This happens with any compositor even if transparency is disabled. And while some compositors have options for changing the transparency of borders/titlebars, the borders do not follow any rules and always remain the same white/transparent color.

See here for some eamples of this:
https://www.reddit.com/r/unixporn/comments/w97vd7/comment/ihtxyrf/
https://www.reddit.com/r/unixporn/comments/pqszqy/icewm_tried_my_best/

This apparently is not unique to IceWM, but happens (or happened) in other WMs as well such as herbsluftwm, dwm, zathura. Here are some examples:
yshui/picom#586
https://www.reddit.com/r/suckless/comments/gg60lo/transparent_borders_on_dwm_when_using_picom/

@gijsbers
Copy link
Contributor

gijsbers commented Nov 1, 2024

I run picom and it never had this problem in any theme under any icewm version I tested. In the distant past I have carefully checked all code for alpha values in all pixel color values. Maybe check your value of Alpha, the versions and themes you are using?

@ninjacatz
Copy link
Author

ninjacatz commented Nov 1, 2024

I might be missing something. I'm using icewm 3.6.0 with a custom theme I made. I never noticed the Alpha value in preferences but changing it has no effect on the borders. I don't use any frame images or border images in my theme, the border is created only by these values in default.theme file:
BorderSizeX=12
BorderSizeY=12
ColorNormalBorder="#505050"
ColorActiveBorder="#909090"
It doesn't matter what theme I use. Often the transparent part is hidden behind images but if I expand the borders beyond the size of images I can see the transparent part.

Interestingly, the titlebar is set the same way (with no image) but it does not have the same white/transparency problem:
TitleBarHeight=48
ColorNormalTitleBar="#505050"
ColorActiveTitleBar="#909090"

@gijsbers
Copy link
Contributor

gijsbers commented Nov 2, 2024

Can you attach your theme in a ZIP? What picom version? And attach the picom configuration file?

@ninjacatz
Copy link
Author

Here is a zip for the theme. You have to use prefoverride with the theme or it will not work (I set up a lot of the theme settings there).
icewm-theme.zip

I'm using picom 9.1 with no configuration file. I just run "picom &"
.

@gijsbers
Copy link
Contributor

gijsbers commented Nov 2, 2024

I tried your theme with your prefoverride and everything works just fine. No transparent borders or titles anywhere.

@ninjacatz
Copy link
Author

Thank you for checking. The problem must be somewhere else. I will try using IceWM with different distributions and see if I can isolate the problem somehow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants