Bug 48498 - Too big distance to following contents after formula object anchored as character decreases height
Summary: Too big distance to following contents after formula object anchored as chara...
Status: RESOLVED DUPLICATE of bug 47355
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.1 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-10 03:56 UTC by richard_g
Modified: 2013-04-17 04:53 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
odt document with formula and screenshots showing what is get after formula modification (34.69 KB, application/vnd.oasis.opendocument.text)
2012-04-10 03:56 UTC, richard_g
Details

Note You need to log in before you can comment on or make changes to this bug.
Description richard_g 2012-04-10 03:56:47 UTC
Created attachment 59717 [details]
odt document with formula and screenshots showing what is get after formula modification

Insert a formula in a paragraph of a Writer document using Insert->Object->Formula.

While editing the formula, the height of its frame in the document may vary and become larger than the final size. After closing the edition of the formula, the height of its frame keeps the largest value obtained during edition. This may give a large white space between the formula and the next paragraph. This whit space cannot be removed.

Save and close the document, then re-open the document: the frame of the formula has now the correct height without withe space between the formula and the next paragraph. So the problem concerns only the document edition: you do not see what you will get after saving!

Added an odt document including a formula and two screenshots showing what you get after formula modification and what you get after saving, closing and re-opening the document. Please try to modify the formula with LibO 352 according the screenshots: remove the denominator and the fraction bar and see what happens.
Comment 1 Mònica Ramírez Arceda 2012-04-14 09:11:15 UTC
[Reproducible] with "LibreOffice 3.5.2.2 - Build ID: 281b639-6baa1d3-ef66a77-d866f25-f36d45f - GNU/Linux Debian testing (32bit) English UI"
Comment 2 Jaime Navarro 2012-04-19 02:36:17 UTC
[Reproduced] with "LibreOffice 3.5.2 - Debian 6.0.4 i386 English UI"

It is impossible to remove the white space after the formula. When you reopen the document, the height of the paragraph that contains the formula has the correct reduced size.
Comment 3 Jean-Baptiste Faure 2012-05-13 02:56:09 UTC
Probably a duplicate of bug 47355.

Workaround : anchor the formula to the paragraph and choose "No Wrap" in Wrap item of contextual menu.

@Rainer : do you confirm my diagnostic?

Best regards. JBF
Comment 4 Rainer Bielefeld Retired 2013-04-17 04:37:43 UTC
Already [Reproducible] with Server Installation of "LibreOffice 3.5.1.2 English UI/Locale [Build-ID: dc9775d-05ecbee-0851ad3-1586698-727bf66] on German WIN7 Home Premium (64bit) 

Still worked fine with Server Installation of "LibreOffice 3.4.5 English UI [Build ID: OOO340m1 (Build:502)]" parallel Server installation on German WIN7 Home Premium (64bit) 

There might also be an "increase height" problem. In reporter' sample in the formula behind the last number "1" I added " over 2 over 3 over 4 over 5". Result: object height twice as much as before, distance to following text line increased from 1 text row height to 30 text row heights (or so)

@Jean-Baptiste Faure
Yes, pretty sure, this is a manifestation of Bug 47355

@richard_g
Thank you for your attention!
Please feel free to reopen this Bug if you find evidence that we have an independent issue here  (for example because the fix for the other bug does not work for you).

*** This bug has been marked as a duplicate of bug 47355 ***
Comment 5 Rainer Bielefeld Retired 2013-04-17 04:53:30 UTC
I was wrong, see <https://bugs.freedesktop.org/show_bug.cgi?id=47355#c51>