Skip to content

Pure black borders/title backgrounds become transparent #407

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

Open
Sherirk opened this issue Apr 18, 2025 · 1 comment
Open

Pure black borders/title backgrounds become transparent #407

Sherirk opened this issue Apr 18, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@Sherirk
Copy link

Sherirk commented Apr 18, 2025

  • Swayfx Version:
    swayfx version 0.5 (based on sway 1.10.1)

  • Debug Log:
    sway.log

  • Configuration File:
    config (only thing different from default is client.focused set to pure black borders and title background)

  • Stack Trace:
    Not applicable.

  • Description:
    When setting the window's borders/title background to pure black (#⁠000000) they end up transparent instead.
    At first they will take the black color for less than a second and then become transparent.
    Even if you use the form #⁠RRGGBBAA the alpha component gets ignored and the borders/title background stay transparent.
    The title text itself has a pure black rectangle behind it, only the rest of the title background becomes transparent.
    When making the windows floating the border/title background stays black while moving, but goes transparent the moment you stop moving them.
    If you set the colors anything but pure black (even #⁠000001 works) then the problem goes away, at this point you can even use the #⁠RRGGBBAA form and change the alpha component without problem.

Image

@Sherirk Sherirk added the bug Something isn't working label Apr 18, 2025
@WillPower3309
Copy link
Owner

Interesting find! I'll check if this impacts upstream

@Sherirk Sherirk changed the title Pure black borders/title bacgrounds become transparent Pure black borders/title backgrounds become transparent Apr 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants