Bug 46902 - FORMATTING: Extra line after the an object set to be "As character"
Summary: FORMATTING: Extra line after the an object set to be "As character"
Status: RESOLVED DUPLICATE of bug 47355
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
PreBibisect
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords: preBibisect, regression
Depends on:
Blocks:
 
Reported: 2012-03-02 08:49 UTC by Boris Kheyfets
Modified: 2015-12-17 06:51 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
A screenshot with added pic and an extra space below it. (93.10 KB, image/jpeg)
2012-03-02 08:49 UTC, Boris Kheyfets
Details
This archive contains three document - one with a picture attached to paragraph, other - with a same picture attached as char - the extra space appears, and the final document - a that space removed. (47.82 KB, application/zip)
2012-05-30 23:08 UTC, Boris Kheyfets
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Kheyfets 2012-03-02 08:49:51 UTC
Created attachment 57927 [details]
A screenshot with added pic and an extra space below it.

Problem description: 

Steps to reproduce:
1. Insert a picture in a Writer
2. Make it as character

Current behavior:
See the extra space added right below the picture.
Add any char right after the picture.
The extra space below the picture now gone.

Expected behavior:
The pic should get anchored as char - that's all that should happen. No extra space below the picture should be added as a result.

Platform (if different from the browser): 
              
Browser: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Comment 1 sasha.libreoffice 2012-05-30 03:20:13 UTC
Thanks for bugreport
not reproduced in 3.3.4 and 3.5.3 on Fedora 64 bit. May be fixed?
Comment 2 Boris Kheyfets 2012-05-30 03:58:44 UTC
Nope. I'm on Kubuntu 12.04, LibreOffice 3.5.4.2 Build ID: 350m1(Build:2) -
and the bug is still there. It's a very annoying one actually.

Boris.

On Wed, May 30, 2012 at 2:20 PM, <bugzilla-daemon@freedesktop.org> wrote:

> https://bugs.freedesktop.org/show_bug.cgi?id=46902
>
> sasha.libreoffice@gmail.com changed:
>
>           What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                 CC|                            |
> sasha.libreoffice@gmail.com
>
> --- Comment #1 from sasha.libreoffice@gmail.com 2012-05-30 03:20:13 PDT
> ---
> Thanks for bugreport
> not reproduced in 3.3.4 and 3.5.3 on Fedora 64 bit. May be fixed?
>
> --
> Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
Comment 3 sasha.libreoffice 2012-05-30 06:35:54 UTC
Thanks for additional testing. May be I do something wrong. Please, attach odt document where picture placed, but not yet anchored as character. I will open this attachment and change anchoring. May be so this bug will be reproduced.
Comment 4 Boris Kheyfets 2012-05-30 23:08:41 UTC
Created attachment 62313 [details]
This archive contains three document - one with a picture attached to paragraph, other - with a same picture attached as char - the extra space appears, and the final document - a that space removed.

This archive contains three document - one with a picture attached to paragraph, other - with a same picture attached as char - the extra space appears, and the final document - a that space removed.
Comment 5 Boris Kheyfets 2012-05-30 23:11:01 UTC
I've add an attachment here:
https://bugs.freedesktop.org/attachment.cgi?id=62313
Please feel free to contact me for the additional tests.

Boris.

On Thu, May 31, 2012 at 9:59 AM, Boris Kheyfets <kheyfboris@gmail.com>wrote:

> Hello Sasha,
>
> I made it as explicit as I could. Please feel free to contact me for the
> additional tests.
>
> Boris.
>
> On Wed, May 30, 2012 at 5:35 PM, <bugzilla-daemon@freedesktop.org> wrote:
>
>> https://bugs.freedesktop.org/show_bug.cgi?id=46902
>>
>> --- Comment #3 from sasha.libreoffice@gmail.com 2012-05-30 06:35:54 PDT
>> ---
>> Thanks for additional testing. May be I do something wrong. Please,
>> attach odt
>> document where picture placed, but not yet anchored as character. I will
>> open
>> this attachment and change anchoring. May be so this bug will be
>> reproduced.
>>
>> --
>> Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
>> ------- You are receiving this mail because: -------
>> You reported the bug.
>>
>
>
Comment 6 sasha.libreoffice 2012-05-31 00:24:13 UTC
Thanks for attachment. 
Reproduced in 3.5.0 beta 3 on XP and 3.5.3 on Fedora 64 bit (using first document from attachment)
Steps to reproduce:
0. Open 1_-_PicToPar.odt
1. enable View->Nonprinting characters
now we see empty paragraph below picture
2. right mouse click on picture, Anchor->As character
Actually: empty paragraph below picture disappears, but distance from picture to text below it remains so as if paragraph still exist 
(if we change character size of empty paragraph, distance still equal this empty paragraph)
Expected: distance from picture to text below it is zero
3. place text cursor after picture or before picture and press Space
Actually: distance below picture is fixed. 
What is interesting: this distance fixing is undoable by Ctrl-Z

not reproducible in 3.3.4 and 3.4.2, therefore regression
Here is another thing: in step 2 all works correct, but in step 3 distance from picture to text slightly increases.
Comment 7 sasha.libreoffice 2012-05-31 00:31:20 UTC
But if after picture is no empty paragraph, then bug not appears.
May be it is half done improvement of deleting unneeded empty paragraphs after picture. Empty paragraphs automatically added while adding pictures to document.
Comment 8 Joel Madero 2013-07-26 19:58:55 UTC
This can be confirmed all the way back to 3.5beta0 - likely from before that - unfortunately bibisect is not useful. Changing version and updating whiteboard
Comment 9 Robinson Tryon (qubit) 2013-10-19 00:57:46 UTC
Removing comma from whiteboard (please use a space to delimit values in this field)
https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Whiteboard#Getting_Started
Comment 10 Björn Michaelsen 2014-03-17 14:17:11 UTC
This could very well be a sideeffect of fdo#47355, which is fixed on master, please fetch a daily build and see if the bug persists. If not mark this as a dupe of fdo#47355. => NEEDINFO
Comment 11 Mike Kaganski 2014-03-18 00:34:14 UTC
Not reproducible anymore with Version: 4.2.4.0.0+ Build ID: a54da6a84f751250c694120d1a29aaac89cd3af4 under Win7x64 -> DUPLICATE of 47355

*** This bug has been marked as a duplicate of bug 47355 ***
Comment 12 Robinson Tryon (qubit) 2015-12-17 06:51:52 UTC
Migrating Whiteboard tags to Keywords: (prebibisect)
[NinjaEdit]