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

Investigate issues with semi-transparent drawing on transparent windows #220

Open
ecton opened this issue Nov 24, 2024 · 0 comments
Open

Comments

@ecton
Copy link
Member

ecton commented Nov 24, 2024

From Discord @danbulant reports that on Wayland when transparent buttons shift between completely transparent and solid, the window becomes transparent rather than the solid color behind the widget remaining present. Here's a video demonstrating how when hovering the buttons the window temporarily becomes transparent:

UeUWECk.mp4

I verified that basic blending of stacked shapes is working correctly in Kludgine but I don't currently have an easy way to test transparent windows.

I'm wondering if there's something incorrect about how the alpha channel is being handled in transparent windows specifically, but another test to try is to render a semi-transparent button over a container to a texture to see if this can be reproduced purely in wgpu or whether it only affects transparent windows.

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

1 participant