Bug 47954 - FILEOPEN: VIEWING of picture anchored as character with unexpected distance to border
Summary: FILEOPEN: VIEWING of picture anchored as character with unexpected distance t...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-27 10:45 UTC by Rainer Bielefeld Retired
Modified: 2015-05-20 15:49 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Test Kit (209.82 KB, application/x-zip-compressed)
2012-03-27 10:45 UTC, Rainer Bielefeld Retired
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Bielefeld Retired 2012-03-27 10:45:01 UTC
Created attachment 59119 [details]
Test Kit

This issue has been reported in "Bug 39928 - VIEWING: pictures in particular .doc shown wrong, picture size correct, but contents shrunken and surrounded by white margin" by Olivier Berten. Many observations are similar here, but I believe it's a different bug.

Steps to reproduce with "LibreOffice 3.5.1.2 German UI/Locale [Build-ID: dc9775d-05ecbee-0851ad3-1586698-727bf66] on German WIN7 Home Premium (64bit) and Olivier Berten's sample <https://bugs.freedesktop.org/attachment.cgi?id=55893>
1. with MS WORD VIEWER
   > picture border is shown without distance around LibO logo
2. With LibO
    > picture border is shown with distance to LibO logo (check context menu
      "picture -> borders")

Old problem, also in 3.3.0, inherited from OOo 

Another sample
1. Open attached "sample352.odt" from test kit created with LibreOffice 3.5.1.2
   > you see various pictures (rectangle with smiley)
2. Save as "sample352new.doc" and close
3. reopen with LibO 
   Expected: all same size
   Actual: pictures with border looking smaller

Click pictures one by one, you will see that control points at pictures with border have some mm distance to picture (instead of 0,5mm as in source). The border itself is invisible, that is an other issue (may be Bug 46563 - FILEOPEN: Missing or wrong line width borders of pictures in doc-documents (MS Office 97, 2000, XP))

I do not observe this problem for pictures anchored to paragraph (sampleLibO330.doc).

Might be related to "Bug 44337 - FORMATTING when FILEOPEN .sxc: border distances to cell contents differ from original distances".
Comment 1 Rainer Bielefeld Retired 2012-03-27 10:53:09 UTC
NEW due to original report

@Cédric:
Please set Status to ASSIGNED and add yourself to "Assigned To" if you accept this Bug
Comment 2 Teo91 2013-09-29 13:45:30 UTC
I can confirm this with LO 4.1.1. on Windows 7 SP1
Comment 3 Cédric Bosdonnat 2014-01-20 08:57:21 UTC Comment hidden (noise)
Comment 4 Timur 2015-05-20 15:49:34 UTC
(In reply to Rainer Bielefeld Retired from comment #0)
> Steps to reproduce with "LibreOffice 3.5.1.2 German UI/Locale [Build-ID:
> dc9775d-05ecbee-0851ad3-1586698-727bf66] on German WIN7 Home Premium (64bit)
> and Olivier Berten's sample
> <https://bugs.freedesktop.org/attachment.cgi?id=55893>
> 1. with MS WORD VIEWER
>    > picture border is shown without distance around LibO logo
> 2. With LibO
>     > picture border is shown with distance to LibO logo (check context menu
>       "picture -> borders")

NOT reproduced with LO 4.4.3. I'll close this one as WFM. 
If you feel that's inappropriate, feel free to reopen. If "Another sample" is still a bug, please open a separate bug, after a search for already reported bugs.