Bug 85299 - FORMATTING: bullets list style not retained after roundtrip
Summary: FORMATTING: bullets list style not retained after roundtrip
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Bullet-Number-Outline-Lists
  Show dependency treegraph
 
Reported: 2014-10-21 18:05 UTC by n.lederbauer
Modified: 2022-08-21 14:06 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
original document (31.85 KB, application/vnd.oasis.opendocument.text)
2014-10-25 10:51 UTC, n.lederbauer
Details
Screenshots of this document (709.44 KB, application/x-7z-compressed)
2014-10-25 11:50 UTC, n.lederbauer
Details
other examples (219.32 KB, application/x-7z-compressed)
2014-10-26 01:01 UTC, n.lederbauer
Details
minimal test case (29.50 KB, application/vnd.oasis.opendocument.text)
2014-10-26 05:33 UTC, tommy27
Details
Screenshots (835.49 KB, application/x-7z-compressed)
2015-12-30 14:43 UTC, n.lederbauer
Details
7 documents (90.93 KB, application/x-7z-compressed)
2017-01-07 11:35 UTC, n.lederbauer
Details
1. a finished document (37.45 KB, application/vnd.oasis.opendocument.text)
2018-01-15 18:38 UTC, n.lederbauer
Details
a test for list points (12.75 KB, application/vnd.oasis.opendocument.text)
2018-01-15 18:57 UTC, n.lederbauer
Details
Testing the list points (22.58 KB, application/x-7z-compressed)
2019-01-16 11:21 UTC, n.lederbauer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description n.lederbauer 2014-10-21 18:05:27 UTC
Problem description: 

Steps to reproduce:
1. Chose Formatting of the list points
2. Formatt the whole text
3. save 

Current behavior: By new openig the formatting of the list points is copletely different

Expected behavior: The document should appear as I saved it.

Possible reason: This was a customized list: it began with 1 and then a and not I and A
Comment 1 tommy27 2014-10-22 05:23:45 UTC
post "before" and "after" screenshots, please.
test file would be useful as well.
which exact Windows version do you use? XP, 7, 8? 32 or 64 bit?
Comment 2 Matthew Francis 2014-10-22 07:15:10 UTC
I cannot immediately find anything wrong with the saving and loading of formatting and numbering styles

To debug this, we would need an exact set of instructions to tell us:

- The starting text (ideally as a file attached to this bug)
- The exact sequence of actions performed (naming the menu items or buttons used, and which options on which tabs of any dialogs)
- Exactly how the result differs from what you expected (in the case that something looks different before/after save, screenshots from before and after)

If you're saving in a format other than .odt, please let us know that as well

Once this information is commented/attached to the bug, please set the status back to UNCONFIRMED so we can take another look

Thanks
Comment 3 n.lederbauer 2014-10-25 10:51:05 UTC
Created attachment 108389 [details]
original document
Comment 4 n.lederbauer 2014-10-25 11:50:24 UTC
Created attachment 108390 [details]
Screenshots of this document

Open the screenshots 
Nr. 8 shows you the document after I opened it. The two rows schould be equals. On the second row you see that there are no list points.
Nr. 9 shows the document after I pressed the list button. Different formatting.
Nr. 10 and 11 show my trying to formatt as it should be. But no success.
Nr. 12 und 13 are the same screenshots after saving and reopening. You can see that the formatting has changed.
Then I changed the formatting one more time and saved. Now it works after reopenig as you can see on screenshot 14.

Maybe that the original document was originally a lotus wordpro document that I transformed into an odt, but I'm not sure.

I hope I could help you.

Thanx

NL
Comment 5 tommy27 2014-10-25 12:21:24 UTC
please upload the initial version of the .odt file as in image 8 so we can exactly try ro reproduce issue step by step
Comment 6 n.lederbauer 2014-10-26 01:01:39 UTC
Created attachment 108423 [details]
other examples

If you work on the document after it was reopened and you have arranged all faults, then most of the time the formatting stays as it should be. So the original file you wantet me to send doesn't exist anymore. I've repared it. But I foud other examples. As you see, theese are documents for exams at school, so handle them with care
Comment 7 tommy27 2014-10-26 05:33:54 UTC
Created attachment 108427 [details]
minimal test case

Ok. I can reproduce the bug and I'm attaching a minimal test case.

- open attached .doc
- select text in the second column
- Formatting/Bullets and Numbering, apply a random bullet style
- save, close and reopen

the bullet style is not retained after roundtrip and instead you see numbers.
if you repeat the previous sequence on the same column the style is then retained after reloading, so to make it stick you have to do it twice.

I see this bug in LibO 4.3.2.2 and recent 4.4.0.0+ master.
bug is also present in LibO 3.3.3 and OOo 3.3.0
Comment 8 n.lederbauer 2014-10-26 13:25:47 UTC
Thank you for your work. The behavior in the test document is as you decribed it. If you save it each time under an other name, the bug reproduce.

So I hope that you'll be able to fix the bug!
NL
Comment 9 tommy27 2014-10-26 13:48:51 UTC
let's hear if Micheal Stahl has time to take a look at this
Comment 10 QA Administrators 2015-12-20 16:06:09 UTC Comment hidden (obsolete)
Comment 11 n.lederbauer 2015-12-30 14:43:43 UTC
Created attachment 121641 [details]
Screenshots

There are no changes
I tried with the testcase here, 2 results, but this was beause I changed the default numbering (?) of LO.

Then I made another try.
A document in .lwp (lotus Wordpro)
I opened it in Lotus and in LO. The lwp-import is not so good, but this isn't the point of discussion (ScrS01 and ScrS02)
Then I pressed the numeration button - result (ScrS03)
So I had to formatt the numeration (ScrS04 + ScrS05)
Result was bizzare, because the formatting didn't take place (ScrS06 +ScrS07)
So I changed it manually. (ScrS08)
Then I saved an I reopened. Result on ScrS09.
I try to attache the screenshots. If you want me to attach both the original and the edited Document, let me know.
Comment 12 QA Administrators 2017-01-03 19:54:56 UTC Comment hidden (obsolete)
Comment 13 n.lederbauer 2017-01-07 11:35:23 UTC
Created attachment 130235 [details]
7 documents
Comment 14 n.lederbauer 2017-01-07 11:36:55 UTC
Thank you for your reminder
Since I write no more tests or reports where I need lists, - i'm retired now - this problem do not touch me very hard.
But to test for you I took a Geography test which wasn't formattet at all.
I formattet it step by step and I hope you can reproduce it, because one of the big problems was, that the formatting was gone at the reopening.

I tryed it now myself and the good news are the formatting stays the same.

The bad news: In the same page, when you will list another part of the text with the same list-style, it isn't possible except if you format the list a second time for the second part.
There is no possibillity to save your own style (or I didn't find it)

I attach the steps (7 documents) I made so you can follow it. (7z-archive) 

OS: Windows7 Ultimate 32bits SP1
LO: Version: 5.2.3.3
Build-ID: d54a8868f08a7b39642414cf2c8ef2f228f780cf
Comment 15 QA Administrators 2018-01-08 03:29:19 UTC Comment hidden (obsolete)
Comment 16 n.lederbauer 2018-01-15 18:38:03 UTC
Created attachment 139116 [details]
1. a finished document

This is a document that I made 2013. There are no changes by reopening it.
Comment 17 n.lederbauer 2018-01-15 18:57:17 UTC
Created attachment 139117 [details]
a test for list points

I made myself a template with all the necessary points: font, font size, border and a list hierarchy

Infortunately i am not able to find the same order of list points as i find in the document before. 
So I tried to fix the order of list-points. Impossible. With the list written I can't change the order witout an unexpectet behaviour of the points.
The main fault is, that I don't want to use the list-point-formatting that LO-Writer proposes. 
So when you change the intendation, all is completely in disorder and there is no way to find an issue.
When in the list-point dialogue I mark the case "relative", I get minus-number back.

Why can't I save all my changes I once have made to find an equal formatting and behaviour for all my documents?

I'm using LO Version: 5.4.3.2 on Windows 7 (the same version on Linux Kubuntu 14/04 LTS)

Norbert L
Comment 18 QA Administrators 2019-01-16 03:55:15 UTC Comment hidden (obsolete)
Comment 19 BogdanB 2019-01-16 05:03:34 UTC
Using instruction from comment 7 and the test case from there I can reproduce the bug on
Version: 6.3.0.0.alpha0+
Build ID: afbbdcc216a84b59fb263777659b044c4a7cf6f0
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2019-01-13_03:54:12
Locale: ro-RO (ro_RO.UTF-8); UI-Language: en-US
Calc: threaded
Comment 20 BogdanB 2019-01-16 05:05:57 UTC
I can NOT reproduce this bug with a new file with some text. Maybe the text file from comment 7 have some old formating.

Version: 6.3.0.0.alpha0+
Build ID: afbbdcc216a84b59fb263777659b044c4a7cf6f0
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2019-01-13_03:54:12
Locale: ro-RO (ro_RO.UTF-8); UI-Language: en-US
Calc: threaded
Comment 21 n.lederbauer 2019-01-16 11:21:42 UTC
Created attachment 148357 [details]
Testing the list points

This is a collecton of three documents. All saved and reopened.
As Bogdan wrote I tried to make a document with some list points.
Document 1: List points customised but not the distances from the margin and the paragraph-distances
Document 2: All cusomized
Document 3: List points imported and content changed.

But I don't know how I save my list pints in a template. Have I to write like in document 3 and save this as a template?

Otherwise all works very well.

NL
Comment 22 n.lederbauer 2019-01-16 11:25:06 UTC
I forgot to mention the LO version:
LO Version: 6.1.4.2
Win 7 Ultimate 32 SP1

NL
Comment 23 Thomas Lendo QA 2020-08-16 22:06:25 UTC
I can only reproduce with the attachment of comment 7.
Not with other documents or self-created documents.

Version: 7.0.0.3
Build ID: 8061b3e9204bef6b321a21033174034a5e2ea88e
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: en-US
Calc: threaded

Maybe this is a problem of a list in a table in this special document.
Comment 24 QA Administrators 2022-08-17 03:34:47 UTC Comment hidden (obsolete)
Comment 25 BogdanB 2022-08-17 19:32:43 UTC
I can repro the bug with version 7.5 using the file from comment 7. 
Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: f6a0ca0e92e41ad8fea71acdacdc7ec5e775dc59
CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded

But, the same, with a new file I don't repro.

I am not sure it is a bug or a bad format of the document.
Comment 26 BogdanB 2022-08-17 19:37:01 UTC
By the record, the list elements have the List Style List1.
When I set the Liste Style to None, the problem is gone.
Comment 27 BogdanB 2022-08-17 19:40:23 UTC
For those testing this bug please see Style Inspector while reproducing the bug. The list style is different before and after the save.
Comment 28 n.lederbauer 2022-08-21 14:06:13 UTC
All my changes in the document appear at the reopening.
I even imported a document in Microsoft docx format and everything remained unchanged when I reopened it.
I created a document with various points and subpoints, which I later changed custom.
Each document remained as it was saved.
I put the solved sign.