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] Image Widget: fill-svg bug #1280

Open
3 tasks done
wioo opened this issue Jan 31, 2025 · 0 comments
Open
3 tasks done

[BUG] Image Widget: fill-svg bug #1280

wioo opened this issue Jan 31, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@wioo
Copy link

wioo commented Jan 31, 2025

Checklist before submitting an issue

  • I have searched through the existing closed and open issues for eww and made sure this is not a duplicate
  • I have specifically verified that this bug is not a common user error
  • I am providing as much relevant information as I am able to in this bug report (Minimal config to reproduce the issue for example, if applicable)

Description of the bug

Hi there. I'm not too familiar with svg files but I tried to set color with fill-svg and nothing happened.

svg image contains
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> <g id="Icon-Set-Filled" sketch:type="MSLayerGroup" transform="translate(-414.000000, -1049.000000)" fill="#000000">
Looks like regex only catches first "fill=..." but second one sets the color.

Reproducing the issue

Use image widget with (non standard?) svg file and set color with svg-fill.

Expected behaviour

Changed color of svg imae.

Additional context

No response

Platform and environment

wayland, niri, git version (g593a4f4)

@wioo wioo added the bug Something isn't working label Jan 31, 2025
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

1 participant