Summary: | In svg import attribute value currentColor is not resolved, if color attribute is missing | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Regina Henschel <rb.henschel> |
Component: | Draw | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dennisroczek, h3734236, joni.mustonen, vsfoote, vvort, xiscofauli |
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | x86 (IA32) | ||
OS: | Windows (All) | ||
See Also: | https://bugs.documentfoundation.org/show_bug.cgi?id=64075 | ||
Whiteboard: | target:4.5.0 target:5.1.0 | ||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 88278, 88277 | ||
Attachments: | color something other than black, getting white on white document so invisible |
Description
Regina Henschel
2014-12-14 21:05:59 UTC
Valid issue, setting new. You can also change black to near black like #020000. I hope this will be corrected to LibreOffice source code, since I have couple hundred SVG pictures. Chr. Rossmanith committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=d0cfd49dc530574cbbc0a95c173de8936bc9c8ca tdf#87309: SVG - use black as default currentColor if no color was specified It will be available in 4.5.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. resolved. tested daily build win x64 bit build Created attachment 113492 [details]
color something other than black, getting white on white document so invisible
Can we take another look at this, while we are getting a color set now.
If File -> Open into Draw, image color is actually being set white on white background--so is invisible. Changing the Tools -> Options -> Appearance: Document background to contrasting color shows the complete reicha.svg image is present.
See attached
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=25fbffcd441bd84329be2979d53f29955f55201d tdf#87309: Use black as default currentColor if no color was... It will be available in 5.1.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. Apply the same fix to File - Open. As a reference: Chrome and Firefox use black as default currentColor if no color is specified Xisco Fauli committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=5654e8f2cfc3ae33da3eae366229b6cb862750bf SVG: add import test for tdf#87309 It will be available in 5.1.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. |