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][Firefox] Additive layer blending results in wrong colour in image export #2591

Open
huntfx opened this issue Jul 21, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@huntfx
Copy link

huntfx commented Jul 21, 2024

Describe the bug
When using the layer blending mode as "additive", going on "Share > Export Image" will sometimes result in the wrong colours in Firefox. Tried with Chrome and I was able to get a successful export each time.

For example, pink becomes purple and blue becomes green.

To Reproduce
Steps to reproduce the behaviour:

  1. Upload a CSV file with point data in Firefox
  2. Set blending mode to additive
  3. Export the image

Expected behaviour
Exports with the correct colours.

Screenshots
image
image
image

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Firefox
  • Version: 128
@huntfx huntfx added the bug Something isn't working label Jul 21, 2024
@mars-dlx
Copy link
Contributor

Tracked it to
src/utils/src/dom-to-image.ts:198

I found that the Red color component of result dots differs in Firefox and Chrome. Green and Blue are the same. I can assume this is some Firefox bug.

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