Bug 52428 - : FORMATTING: free region between the inserted image and text
Summary: : FORMATTING: free region between the inserted image and text
Status: RESOLVED DUPLICATE of bug 47355
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.5.3 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-24 06:52 UTC by flautermann
Modified: 2013-12-07 18:06 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
a document with a picture (47.10 KB, application/vnd.oasis.opendocument.text)
2012-07-24 06:52 UTC, flautermann
Details
Attachment with the Problem (162.12 KB, image/png)
2013-03-07 08:30 UTC, flautermann
Details
Attachment with the Version-Information (56.98 KB, image/png)
2013-03-07 08:31 UTC, flautermann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description flautermann 2012-07-24 06:52:57 UTC
Created attachment 64584 [details]
a document with a picture

Problem description: 
a picture is inserted into the text, whether from the clipboard or via Einfügen -> Bild -> aus Datei..., are displayed in the image of blank lines.

Steps to reproduce:
1. Ansicht -> Steuerzeichen = on
2. Position the cursor at the beginning of line
3. Select an picture with Einfügen -> Bild -> aus Datei...
4. Right-click on the image and select Verankerung -> als Zeichen

I guess that happens when a picture has a certain size.
If the document is stored and retrieved, the space between image and text disappeared

Current behavior:
there is a free region, between the image and the following text, displayed can not be removed

Expected behavior:
no free area between image and text

Platform (if different from the browser): 
Win7 deutsch
              
Browser: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0.1
Comment 1 A (Andy) 2013-02-16 13:30:42 UTC
not reproducible with LO 4.0.0.3 (Win7 Home, 64bit)

Does this issue still persist for you or can we mark it as Resolved?
Can anybody else confirm this issue?
Comment 2 manj_k 2013-02-16 21:25:51 UTC
Maybe a duplicate of 'Bug 47355 - EDITING: When shrinking an object anchored as character, paragraph below it doesn't update its position'.

@flautermann@gmx.de
- Do you have resized the image?
- Does the "free region between the image and the following text" disappear when you insert a space (or any text) after the image?
Comment 3 flautermann 2013-02-18 06:59:03 UTC
@A

The issue is still present.

@ manj_k
>> - Do you have resized the image?

Yes. 
1. I insert the image (whole page wide).
2. select Verankerung -> als Zeichen
3. I resize the Image (make it smaler)
-> The issue is still present.

>> - Does the "free region between the image and the following text" disappear when you insert a space (or any text) after the image?

Yes it disappears.
Comment 4 flautermann 2013-02-18 07:00:00 UTC
@A

The issue is still present.

@manj_k
>> - Do you have resized the image?
 
Yes. 
1. I insert the image (whole page wide).
2. select Verankerung -> als Zeichen
3. I resize the Image (make it smaler)
-> The issue is still present.

>> - Does the "free region between the image and the following text" disappear when you insert a space (or any text) after the image?
 
Yes it disappears.
Comment 5 flautermann 2013-02-18 07:01:01 UTC
Please ignore Comment 4!
Comment 6 bfoman (inactive) 2013-03-06 13:23:46 UTC
(In reply to comment #0)
> Steps to reproduce:
> 1. Ansicht -> Steuerzeichen = on
> 2. Position the cursor at the beginning of line
> 3. Select an picture with Einfügen -> Bild -> aus Datei...
> 4. Right-click on the image and select Verankerung -> als Zeichen
> Current behavior:
> there is a free region, between the image and the following text, displayed
> can not be removed

> 1. I insert the image (whole page wide).
> 2. select Verankerung -> als Zeichen
> 3. I resize the Image (make it smaler)
> -> The issue is still present.

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

Could not reproduce in both - original size and resized cases.
Comment 7 flautermann 2013-03-07 06:52:30 UTC
@bfoman

my described behavior is still present
Comment 8 bfoman (inactive) 2013-03-07 07:36:17 UTC
(In reply to comment #7)
> my described behavior is still present

Please attach screenshot (according to steps in comment 4) and add comment about LibreOffice version info.
Comment 9 flautermann 2013-03-07 08:30:51 UTC
Created attachment 76084 [details]
Attachment with the Problem
Comment 10 flautermann 2013-03-07 08:31:24 UTC
Created attachment 76085 [details]
Attachment with the Version-Information
Comment 11 A (Andy) 2013-03-09 17:55:19 UTC
Now I have it: reproducible with LO 4.0.1.2 (Win7 Home, 64bit).

The first time I had done the following steps:
1. Opened WRITER
2. Went to VIEW and activated to show NON-PRINTING CHARACTERS
3. Inserted a few empty lines
4. Inserted a smaller picture in the last line and in one of the lines before
5. Then I anchored it AS CHARACTER (Menu FORMAT -> ANCHOR or via right mouse click)

Result: Everything was fine.


The important step is either this mentioned resizing or inserting a picture wider than the standard page layout.  

Case 1: Wider Picture
If you insert a smaller picture everything is fine, but if you insert a wider picture then you will have the empty space below the picture.

Case 2: Resizing
If you shrink the picture then you will have again this empty space below the picture.  But for this it is important to shrink the picture after anchoring as character, otherwise you will also not experience this bug.
Comment 12 flautermann 2013-03-11 07:33:22 UTC
Yes, you are right.
Excuse me that i have not noticed this subtleties. I'm just a user.
Comment 13 Regina Henschel 2013-12-07 18:06:00 UTC
Write a space after the picture and the margins will be OK. It is a known bug with frame kind objects. You see it with Math formula tool.

*** This bug has been marked as a duplicate of bug 47355 ***