Created attachment 98488 [details]
Contains only Watermark
Steps to reproduce :
1] Open attached DOCX in LibreOffice
2] Perform save_as DOCX
3] Open saved file in MS Office 2010
Current behavior :
Watermark font size is changed(decreased).
Expected behavior :
Watermark size should not be changed.
XML description :
In RT, header1.xml,
an xml element <v:shape> has attribute "style" which has wrong value.
If replaced value of style attribute from original to RT, Rt opens up correctly.
please attach comparative screenshot.
moreover define exactly which LibO version are you using and which one is the first you saw the bug.
(In reply to comment #1)
> please attach comparative screenshot.
> moreover define exactly which LibO version are you using and which one is
> the first you saw the bug.
@Tommy: the developers of synerzip do report their own found bugs and fix them theirselfs. They do create a bug report to keep track of it, and for verification. Therefore we don't need to handle all this information (when did it happen etc etc). If they need assistance (bibisecting) etc, they always can ask of course.
@Pallavi: I'll mark your bug as NEW. I don't see a watermark after roundtripping and opening using Word 2013. Maybe the font size is decreased that much.
Tested using Windows 8.1 with LibreOffice Version: 126.96.36.199.alpha1+
Build ID: 82a623fb08afc72decb78f061b751a43ae503678
TinderBox: Win-x86@39, Branch:master, Time: 2014-05-05_06:37:16
Ok Joren, I did not know about the synerzip team.
Created attachment 98535 [details]
Created attachment 98536 [details]
Screenshot comparison between Original and RT file
@Joren, @Tommy : I have attached another Watermark file with Color changed to Grey, so that difference in RT will be visible.
I have also attached screenshot comparison for the reference.
It's a regression.
I checked on last commit for watermark. It's working fine, LO able to import the watermark with appropriate height and width.
Author: Ravindra Vidhate <firstname.lastname@example.org>
Date: Wed Mar 5 11:38:22 2014 +0530
fdo#35324: Text and picture water are not imported and not preserved in RT.
Problem : Open docx file which has Text/Picture as water mark.
1. The text is not imported properly also picture water mark is also considered as shape.
2. It writes the watermarks in Document.xml, while it should write in only Header.xml.
Removing bibisect request as this is a synerzip bug report
Sorry about that - bibisecting now will have it done shortly
From comment 7 I don't know why a bibisect is needed. I've been trying to get one but there is a series of problems with watermarks that make bibisecting a bit rough. If you still need a bibisect despite comment 7 which appears to identify the commit - add bibisectrequest again and I'll try once more. Thanks
Thank you for trying. Its realted to height and width of watermark.
I added " BSA bibisectrequest " to bug.
I found the commit which causes issue.
Author: Armin Le Grand <email@example.com>
Date: Thu Sep 19 10:11:03 2013 +0000
i#115391 better support for MinTextSize settings
... for TextShapes and CustomShapes
Created attachment 101801 [details]
Umesh Kadam committed a patch related to this issue.
It has been pushed to "master":
fdo#78301 : Size of word-arts change during import.
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:
Affected users are encouraged to test the fix and report feedback.
Fix applied + Unit test -> RESOLVED FIXED
Also verified it using Mac OSX 10.9 with LibreOffice Version: 188.8.131.52.alpha0+
Build ID: 59f1e330f0ecbb7d2387c1569c19fd055c162f8f
TinderBox: MacOSX-10.9-x86_64@53, Branch:master, Time: 2014-08-30_07:21:40