Bug 145807

Summary: Row heights will no longer respect picture heights after page margins manipulations
Product: LibreOffice Reporter: Rainer Bielefeld Retired <LibreOffice>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: buzea.bogdan, LibreOffice
Priority: medium    
Version: Inherited From OOo   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=145810
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103100    
Attachments: View after Step 3

Description Rainer Bielefeld Retired 2021-11-21 08:59:47 UTC
Created attachment 176393 [details]
View after Step 3

Steps how to reproduce NOT reproducible REPRODUCIBLE with Installation of Version:7.2.1.2 (x64); Build ID: 87b77fad49947c1441b67c559c339af8f3517e22; CPU threads: 12; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win; Locale: de-DE (de_DE); UI: de-DE; Calc: threaded  |  my default User Profile:

0. download and unzip attachment 176392 [details] from 
   'Bug 145775 - reflected png image prints without reflecting' 
1. Open writer document from test kit
2. Menu ˋFormat → Page Style → Marginsˊ  
3. All 4 page margins -> 0 → [ok] 
  (+ [Yes] for ... although out of print range ...")
   » Expected: Table looks like before (more or less), only page margins 
     have vanished
     Actual: Row heights will no longer respect picture heights, see 
             attached "SampleDocument_1.pdf"

Additional information
a) Save → Close → Reopen will not heal the problem.
b1) Page margin 1 mm (instead of 0mm) also shows the problem 
b2) Page margin 19 mm (instead of 0mm) will not show the problem
Comment 1 Rainer Bielefeld Retired 2021-11-21 09:07:45 UTC
b) In further tests only reduction of left + right margin shows the problem.
   Only top + bottom margin or only left or only right margin do not show the 
   Problem  
c) affects pictures with "anchor TO character" and "anchor to paragraph",
   but not "anchor AS character"
Comment 2 Rainer Bielefeld Retired 2021-11-21 11:13:16 UTC
Original report: Damned Copy/Paste. Of course intro should be "Steps how to reproduce with Installation of  ..."

b3) No problem with Margins 9 mm, but visible with margin 8 mm
    But seems not to be related directly with page margins, but with 
    adapting table column width. If I switch table width properties from
    "relative" to 170 mm, the problem will not occur
d) seems indeed to be related to .png. Not reproducible with 640 px width .jpg
   But may be the difference is related to different handling of .png and
   .jpg? Insert .jpg also with a small 640x480 picture.jpg always fills complete
   writer page, inserting a 640x480 picture.png inserts a small pic.
Comment 3 Mike Kaganski 2021-11-21 11:18:07 UTC
Repro with Version: 7.2.3.1 (x64) / LibreOffice Community
Build ID: 1d5dee817bde88d78dbcc0d00f88492568e131d5
CPU threads: 12; OS: Windows 10.0 Build 19043; UI render: default; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: threaded

and with LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4

and with OOo 3.2.0.