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

[Bug]: Transparent WCO titlebar gets stuck in hover state #33764

Closed
3 tasks done
mitchchn opened this issue Apr 13, 2022 · 4 comments
Closed
3 tasks done

[Bug]: Transparent WCO titlebar gets stuck in hover state #33764

mitchchn opened this issue Apr 13, 2022 · 4 comments
Assignees
Labels
18-x-y 19-x-y bug 🪲 has-repro-gist Issue can be reproduced with code at https://gist.github.com/ platform/windows

Comments

@mitchchn
Copy link
Contributor

Preflight Checklist

Electron Version

18.0.3

What operating system are you using?

Windows

Operating System Version

Windows 11

What arch are you using?

x64

Last Known Working Electron version

No response

Expected Behavior

The titlebar should work the same way if its color is set to transparent.

Actual Behavior

Set the titlebar color to transparent like so:

    titleBarOverlay: {
      symbolColor: "black",
      color: "rgba(0,0,0,0)"
    }

While the bar is initially transparent, hovering over the controls with the mouse causes their background colors to remain in their hover state.

It is possible to get all three stuck controls in that state:

image

Testcase Gist URL

https://gist.github.com/54bd745a5bce7c2a716e57008b20cd53

Additional Information

No response

@SquitchYT
Copy link

I have the same issue

@mlaurencin
Copy link
Contributor

As was mentioned in the feature request, WCO currently has issues supporting transparent background colors. I will keep this issue open until that information can be updated in the docs, but request that any further discussion be directed to the feature request.

@mlaurencin mlaurencin self-assigned this Apr 19, 2022
@mlaurencin mlaurencin added the has-repro-gist Issue can be reproduced with code at https://gist.github.com/ label Apr 19, 2022
@panther7
Copy link

hover

+1

@mlaurencin
Copy link
Contributor

The docs were updated in #34278 to acknowledge this as a current limitation. Please direct any further follow-ups to the feature request linked above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
18-x-y 19-x-y bug 🪲 has-repro-gist Issue can be reproduced with code at https://gist.github.com/ platform/windows
Projects
No open projects
Status: Doesn't Block Stable
Development

No branches or pull requests

4 participants