Description: Wrong contents updating Steps to Reproduce: 1.Open Write document with existing contents 2.Change style of existing title text to non-title style 3.Update contents (title text is missing - OK) 4.Change back non-title style of text to title style (same as after document loaded) 5. Update contents - title text is missing Actual Results: Contents has updated wrong Expected Results: Re-updated style of title text has to be in contents list Reproducible: Always User Profile Reset: No OpenGL enabled: Yes Additional Info:
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. (Please note that the attachment will be public, remove any sensitive information before attaching it. See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.) I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
Created attachment 144009 [details] Description with instructions how simulate the bug. Description with instructions how simulate the bug.
I can reproduce it in Version: 6.2.0.0.alpha0+ Build ID: c86a47a9d3debbc7e8ee6247f573e7f98c611f19 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); Calc: group threaded and back to https://cgit.freedesktop.org/libreoffice/core/commit/?id=b733d208b02facaaad8c4925277b34b9f7fd928f. Before that, the Prolog wasn't removed from the TOC when it was changed to tempus_text it seems, all the new headings added before 'Setkání' are not added to the TOC, but they are if they are after it... btw, I'm trying to reproduce the issue from scratch with a new document importing the styles and the TOC is empty... How did you create it ?
(In reply to David Liška from comment #0) > 4.Change back non-title style of text to title style (same as after document "tempus_nadpis" is not title style, it's Outline level is Text Body > 5. Update contents - title text is missing Makes sense, because it's not Outline. What I don't see is why Prolog is in ToC in the first place. But given we don't know how this was created, I would close this one as NotABug. Unless you consider there is a bug here.
> What I don't see is why Prolog is in ToC in the first place. Hello David Liška, Could you please explain how the ToC was created?
Oh, simple: Prolog was directly formatted as Outline. What a mess and Not a bug.