Bug 71476 - Negative indents not saved in styles
Summary: Negative indents not saved in styles
Status: RESOLVED DUPLICATE of bug 62176
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
4.1.3.2 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-11 09:52 UTC by Markus Michels
Modified: 2013-11-25 21:12 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Michels 2013-11-11 09:52:44 UTC
Forth bug indicating that LO 4xy formatting is very broken.

Negative indents are important to manage hanging indentation. This bug refers to negative indents as part of style definitions where things seem to be broken. Manually modified objects / shapes are NOT afftected as far as I can tell.

Steps to reproduce:
Open impress, create new document
Add a shape (e.g. rectangle) to page
Open styles menu (hit F11)
Select rectangle
Click in styles menu "new style from selection"
Name it "watchamacallit"
Change the style as follows:
Left indent: 1 cm
First line indent : -1 cm
Alignment: left
Textbox settings: wrap text in shape
Start adding text to the shape that would exceed its horizontal size so that it gets wrapped automatically - first line is at the left border, subsequent lines with an indent of 1 cm (as expected and desired)
Save the document, close impress, re-open document
Negative indent of text in shape is lost, event first line shows indent of 1 cm.

This also happens when changing the system "default" style. However, when leaving default untouched, creating a shape and manually setting up hanging indents (i.e. overriding inherited style information) then negative indents are retained.

Expected behavior would be that all style information - also negative indents - would be retained for custom styles as well as default style.
Comment 1 Jorendc 2013-11-15 23:40:45 UTC
What's the difference between this bug and bug 62176? On the first sight both are about loosing indent.

Kind regards,
Joren
Comment 2 Markus Michels 2013-11-17 04:52:53 UTC
There is no real difference... what I wanted to address is that there are a number of issues I experience all connected to formatting / style management. Therefore I reported them all together and also reported a "summary bug" which has already been invalidated...

It is ages ago since I was programming myself, so I cannot really tell, but my gut feel is that there might be some nasty bug buried somewhere in the code serving as a root cause with many symptoms observed in style management / formatting. I wanted to bring this to attention, there this re-reporting and umbrella-bug.
Comment 3 Cor Nouws 2013-11-25 21:12:44 UTC
(In reply to comment #2)
> There is no real difference... 

then I close this as duplicate.


> what I wanted to address is that there are a
> number of issues I experience all connected to formatting / style
> management. Therefore I reported them all together and also reported a
> "summary bug" which has already been invalidated...

One bug per issue ;)

> It is ages ago since I was programming myself, so I cannot really tell, but
> my gut feel is that there might be some nasty bug buried somewhere in the
> code serving as a root cause with many symptoms observed in style management
> / formatting. I wanted to bring this to attention, there this re-reporting
> and umbrella-bug.

The best thing to do is clean up and clarify existing bugs. Possibly close duplicates. The clearer bugZilla, the easier for developers to pick the information.

Would be great if you can help sometimes with that :)

Thanks,
Cor

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