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

Wayland: Transparent windows are not rendered correctly #11865

Open
GoaLitiuM opened this issue Jan 6, 2025 · 4 comments
Open

Wayland: Transparent windows are not rendered correctly #11865

GoaLitiuM opened this issue Jan 6, 2025 · 4 comments
Assignees
Labels
waiting Waiting on user response

Comments

@GoaLitiuM
Copy link

GoaLitiuM commented Jan 6, 2025

The transparency effect doesn't seem to be fully working on Wayland windows, the window content seems to be smearing when the window is moved around the desktop, looking like it's rendering over itself at the given opacity over and over. This doesn't seem like compositor issue either, as X11 windows are rendered properly transparent with XWayland.

@Kontrabant
Copy link
Contributor

Kontrabant commented Jan 6, 2025

What rendering backend is being used?

e: And I’m presuming that the transparent window flag/property is being set?

@Kontrabant Kontrabant self-assigned this Jan 6, 2025
@Kontrabant Kontrabant added the waiting Waiting on user response label Jan 6, 2025
@GoaLitiuM
Copy link
Author

GoaLitiuM commented Jan 6, 2025

Vulkan is being used for rendering externally, and yes the transparency flag is set, without it the window looks fully opaque.

@Kontrabant
Copy link
Contributor

This is probably a driver or compositor bug then, as the only possible thing that SDL could be doing wrong is incorrectly setting the window opaque region, which it sounds like it is doing correctly given the behavior you describe when toggling the transparency flag.

@Kontrabant
Copy link
Contributor

I believe that you are using KDE, correct? Can you try this on Gnome to see if there is any difference?

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

No branches or pull requests

2 participants