Summary: | SVG: Colors missing in particular documents | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Rainer Bielefeld Retired <LibreOffice> |
Component: | Drawing | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | NEW --- | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | kakadu.hafanana, LibreOffice, qubit, rb.henschel, serval2412 |
Version: | 3.4.4 release | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | BSA filter:svgOpen | ||
i915 platform: | i915 features: | ||
Attachments: |
Reduced test file
test file displayed in LibreOffice test file displayed in firefox SVG missing color after opening |
Description
Rainer Bielefeld Retired
2011-11-26 08:32:53 UTC
Currently only observed with WIN. Still [Reproducible] with Server installation of MSVC Master "LibO-dev 3.5.0 – WIN7 Home Premium (64bit) ENGLISH UI [(Build ID: 4f11d0a-adcf6d5-c4bb9bd)]" Windows_2008R8 - 111118) - Reported with Bug Submission Assistant - Created attachment 57509 [details]
Reduced test file
Created attachment 57510 [details]
test file displayed in LibreOffice
Created attachment 57511 [details]
test file displayed in firefox
I've reduced 3424 (7).svg that only a white 1 in a red circle should be displayed (reference: firefox). Some lines are marked with a comment "guilty". If either the <rect> or the marked <g></g> is removed LibO renders the file as a white 1 in a black circle. I think there are two import problems: a color/gradient problem (the red circle is actually filled with a red gradient) AND a problem with layers hiding things that should be visisble. (In reply to comment #0) > Steps to reproduce with "LibreOffice 3.4.4 - WIN7 Home Premium (64bit) German > UI [OOO340m1 (Build:402)]" : > 1. downolad sample documents from Bug 34721 - > MinGW FILEOPEN impossible for particular SVG > 2. Start LibO > /Start Center appears/ > 3. Menu 'File -> Open -> select "3425 (7).svg" -> <open> > /Document will be opened in DRAW/ > Expected: looks perfect like in Browser > Actual: missing color filling in small circles, so that > white characters seem invisible > > My Seamonkey always repeats the number in the circle right from the circle, but > that might be a problem with the browser, LibO shows a number shape as a > (white) outline around the number character. > > > Current behavior: > > Expected behavior: > > Platform (if different from the browser): > > Browser: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0.1) Gecko/20111121 > Firefox/8.0.1 SeaMonkey/2.5 The numbers right from the circle seem to be fine. They are created using a <text> tag and the white numbers are created with a <path> tag. Still reproducible using Linux Mint 15 x64 with LibreOffice Version: 4.2.0.0.alpha0+ Build ID: 467d5e0a2e074ff2afb4d1b1a37cff2094b0895
Opening it using Draw result in good behavior:
* open draw
* file > Insert > From file ...
But opening it in the start center looks like attachment 57510 [details]
Kind regards,
Joren
This is a LO only problem, File > Open works in AOO. This bug might have a common reason with bug 40088, which has a similar problem, that the import via Insert > File is correct, but using File > Open imports it wrong. On pc Debian x86-64 with master sources updated today, I can reproduce this. I noticed these logs on console: warn:sfx.doc:6021:1:sfx2/source/doc/SfxDocumentMetaData.cxx:541: Invalid date: warn:sfx.doc:6021:1:sfx2/source/doc/SfxDocumentMetaData.cxx:593: Invalid duration: warn:sfx.doc:6021:1:sfx2/source/doc/SfxDocumentMetaData.cxx:541: Invalid date: warn:sfx.doc:6021:1:sfx2/source/doc/SfxDocumentMetaData.cxx:593: Invalid duration: warn:xmloff.core:6021:1:xmloff/source/core/xmlimp.cxx:757: SvXMLImport::endElement: popped context has wrong prefix warn:xmloff.core:6021:1:xmloff/source/core/xmlimp.cxx:757: SvXMLImport::endElement: popped context has wrong prefix warn:legacy.osl:6021:1:svx/source/sdr/contact/viewcontactofsdrpathobj.cxx:67: PolyPolygon object without geometry detected, this should not be created (!) warn:sfx.doc:6021:1:sfx2/source/doc/SfxDocumentMetaData.cxx:541: Invalid date: warn:sfx.doc:6021:1:sfx2/source/doc/SfxDocumentMetaData.cxx:593: Invalid duration: Created attachment 105437 [details]
SVG missing color after opening
Here's another test case: https://wiki.documentfoundation.org/File:Icon-set-color-smilies.svg This file renders as expected when inserted into a document in Writer (i.e. matches the rendering Inkscape and FF), but loses all color after opening in Draw (attachment 105437 [details]). |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.