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]: WCO using colors with transparency while animating causes visual glitches #35635

Closed
3 tasks done
martijnhartlief opened this issue Sep 11, 2022 · 1 comment
Closed
3 tasks done
Labels
bug 🪲 component/wco has-repro-gist Issue can be reproduced with code at https://gist.github.com/ platform/windows

Comments

@martijnhartlief
Copy link

martijnhartlief commented Sep 11, 2022

Preflight Checklist

Electron Version

20.1.3

What operating system are you using?

Windows

Operating System Version

Windows 10, Windows 11

What arch are you using?

x64

Last Known Working Electron version

No response

Expected Behavior

Changing the background color of a document, while setting transparency on WCO buttons, should not cause side effects.

Actual Behavior

While the background color of the document changes, transparency causes various rendering glitches.

  • Always applies black line under all buttons when transparency on the WCO buttons is used
  • Using transparency when setting a color does not use actual transparency on the button, but seems to make a snapshot of the current document color and merges it with the transparent color.
  • Hover background color is wrong
  • Hover background color persists after hovering (Does not revert to background color)

Testcase Gist URL

https://gist.github.com/f7abdc25039e5cfbaa868bae73d043ec

Additional Information

Use case: De-emphasize WCO buttons when a modal is open, but modal backdrop animation causes WCO buttons to have inconsistent behavior.

The test case is emulating opening and closing of a modal while attempting to update the WCO button colors.

@ckerr ckerr added platform/windows component/wco has-repro-gist Issue can be reproduced with code at https://gist.github.com/ labels Sep 12, 2022
@codebytere
Copy link
Member

This is not currently supported - see #33567 for updates.

@codebytere codebytere closed this as not planned Won't fix, can't repro, duplicate, stale Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 component/wco has-repro-gist Issue can be reproduced with code at https://gist.github.com/ platform/windows
Projects
None yet
Development

No branches or pull requests

3 participants