Bug 53631 - : wrap through loses effect on save as .doc file
Summary: : wrap through loses effect on save as .doc file
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Windows (All)
: low normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-17 07:41 UTC by Niall.Cavanagh
Modified: 2013-03-13 12:24 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
PNG image with transparent fill after saving,closing and reopening - note existing line hidden (28.44 KB, image/png)
2012-08-17 07:41 UTC, Niall.Cavanagh
Details
PNG image with transparent fill with Wrap Through before save/reopen (29.08 KB, image/png)
2012-08-17 07:44 UTC, Niall.Cavanagh
Details

Description Niall.Cavanagh 2012-08-17 07:41:00 UTC
Created attachment 65669 [details]
PNG image with transparent fill after saving,closing and reopening - note existing line hidden

Problem description: 
on 3.6.0.4 EN and on previous 3.5.5 EN

A signature in a png file (with transparent background fill) was inserted to Writer document and set to Wrap Through but this view/effect is lost if the file is saved+closed+opened. This produces the desired effect of showing the text signature over the existing line on the page. This is fine for printing and exporting to pdf. BUT when the file is saved, closed and reopened, the wrap-through acts as if the background was solid white, i.e. the picture floats on top of the background and blocks out background text. This can be corrected by changing it to Wrap to background. If it was inserted as Wrap to Background in the first place, then the issue is avoided.
Steps to reproduce:
1. Insert a png file that has transparent background
2. Select that image and mark it Wrap Through
3. Drag it so it sits over some other text - note that the other text is visible in the background
4. Save and close the Writer document. 
5. Open the Writer document and note that the image has now 'blocked out' any background text, although it still holds the Wrap Through property. (Note that setting it to Wrap Behind restores the desired effect)

Current behavior:  Wrap through WYSIWYG works until saved and re-opened, when picture with transparent fill appears as if it was in foreground with transparent fill replaced by solid white.

Expected behavior: Re-opened document should show Wrap Through in the same manner as before save.

Platform (if different from the browser): Windows 7 Home x64
              
Browser: Chrome/21.0.1180.79m
Comment 1 Niall.Cavanagh 2012-08-17 07:44:09 UTC
Created attachment 65670 [details]
PNG image with transparent fill with Wrap Through before save/reopen

This shows the desired effect which is not retained when saved/reopened
Comment 2 Niall.Cavanagh 2012-08-17 07:46:36 UTC
Note that the Writer file was in .doc format for all of these steps.
Comment 3 Niall.Cavanagh 2012-08-17 07:48:58 UTC
I have marked this low because using Wrap to Background desires the correct effect, however I left it as Normal, because it could cause problems if someone thinks that the What You See is What You Get for the initial print/exporttopdf will be retained on re-opening.
Comment 4 bfoman 2013-03-13 12:24:17 UTC
(In reply to comment #0)
> Steps to reproduce:
> 1. Insert a png file that has transparent background
> 2. Select that image and mark it Wrap Through
> 3. Drag it so it sits over some other text - note that the other text is
> visible in the background
> 4. Save and close the Writer document. 
> 5. Open the Writer document and note that the image has now 'blocked out'
> any background text, although it still holds the Wrap Through property.
> (Note that setting it to Wrap Behind restores the desired effect)

Confirmed with:
LO 4.0.1.2
Build ID: own W7 debug build
Windows 7 Professional SP1 64 bit

Confirmed when saved as doc. odt or docx are all fine.


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.