Summary: | Text frame and coincident image frame style transparency and color fill corruption in Writer 4.4 | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Frank <foberle> |
Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | NEW --- | QA Contact: | |
Severity: | major | ||
Priority: | highest | CC: | cno, foberle, mst.fdo, rb.henschel, vmiklos, vstuart.foote |
Version: | 4.4.0.0.alpha2 | Keywords: | regression |
Hardware: | x86-64 (AMD64) | ||
OS: | All | ||
See Also: |
https://bugs.freedesktop.org/show_bug.cgi?id=80294 https://bugs.freedesktop.org/show_bug.cgi?id=88295 |
||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | |||
Bug Blocks: | 79641 | ||
Attachments: | odt Document to illustrate bug 86578 |
Description
Frank
2014-11-22 13:42:18 UTC
@Frank, Not clear, are your working in ODF .odt or in filtered .doc format? How a bout a sample test document and your concise steps to reproduce. This is likely related to handling of background fill--bug 81223 and the export bug 84294 and friends--but is not the same issue. Created attachment 109872 [details] odt Document to illustrate bug 86578 Here you are - with my best wishes and encouragement. You can fix this - even the Bears won a game last weekend, so anything is possible!! Let me know if you need anything else. Frank Pretty sure this will end up being a duplicate of fdo#80294, see https://bugs.freedesktop.org/show_bug.cgi?id=80294#c2 and c9. @Miklos, does this make sense? *** This bug has been marked as a duplicate of bug 80294 *** Going to reopen and set back to NEW This issue starts with 4.4.0 builds, which retain Armin Le Grand's writer frames refactoring http://cgit.freedesktop.org/libreoffice/core/commit/?id=6e61ecd09679a66060f932835622821d39e92f01--which was reverted for the 4.3 builds. So, splitting it back out from bug 84294. For 4.4.0 branch forward, there seems to be issues with the Writer style:graphic-properties in the content.xml and the styles.xml It seems like the XML of a coincident image frame and text frame are conflicting, and when the document is being saved back to its ODF archive something is being dropped in writing the XML. On reopen transparency and area fill have changed. The image frame is loosing color for area fill (resetting to white), and also some of the transparency elements. It will hold other area fill types. It also seems that with introduction of transparency for image frame--the Image dialog Wrap -> Through -> In bac~kground is being set--but the frame for the image is conflicting with the coincident text frame drawing layer. If the text frame is assigned an area fill (Color, Gradient, Hatching, or Bitmap) and a transparency value--then the image frame will correctly render. But if an text frame area fill NONE is set, the coincident image frame will not render the image and its frame will show opaque. Unfortunately setting transparency of the text frame is cleared to no transparency when the document is saved and reopened. So the image shows opaque. The issue of sample document provided by OP. Also, the text frame with a Color area fill will reset to color White. Resetting NEW and adding to mab4.4 The Writer Frames refactoring is a nice bit of work, but looks to still need some tweaks. There is loss of formatting style of coincident image frames and text frames occurring between an .ODT document save and reopen. ref the attachments posted to 80294 applicable to this issue zip with PNGs -- converted with Alpha chnl transparency https://bugs.freedesktop.org/attachment.cgi?id=109914 zip of sample .odt and PDFs of 4.3.4.1 and 4.4.0beta1 renderings https://bugs.freedesktop.org/attachment.cgi?id=109915 (In reply to V Stuart Foote from comment #4) > ... splitting it back out from bug 84294. s/84294/80294/ (This is an automated message.) Setting priority to highest as this is a MAB. This is part of an effort to make the importance of MAB reflected in priority too. The attribute draw:opacity="0%" is removed on saving, when the draw:fill="none" attribute is present. So you cannot workaround the problem by explicitly setting transparent=100% in the UI. This error is similar to issue 88295 and might be connected with the wrong handling of draw:fill="none" in old OpenOffice, see https://issues.apache.org/ooo/show_bug.cgi?id=20209. I´ve found that the color filling of a frame does not stick on saving the document. Might be related. (The background color of a text box remains though) Versión 4.4.0.2. Windows 8. Worked fine until 4.3.5 To produce de bug: Create New document. Create a text frame. Set color fill. Save document. Reopen document. Frame appears with no color background. |
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.