Hi,
I think I might’ve hit a bug, either that or I’m really missing something.
I use LibreOffice version: 6.4.4.2 (x64), on Windows 10.
I have a long text (about 500 pages), written in different styles, Text Body, Headings and so fort. Most of it is written in Text Body. Today I wanted to update the Text Body style, and it turns out I can’t change the line spacing properly.
I go to styles (on the right panel), right click on Text Body → Modify. I go to the Indents & Spacing tab, I modify the line spacing. It doesn’t matter to what I modify it to, I can change the fixed value, I can change it to 1.5 lines, whatever I want. I click on Apply, then OK. The “AutoUpdate” option in the Organiser tab is checked (but I don’t think it has actually anything to do with this. I tried with it unchecked too. Nothing changes).
What happens: only some paragraphs written in the style Text Body are actually updated. Many others are left with the line spacing they had before, so I have this weird alternation of paragraphs with different line spacings, which is terrible.
Interestingly, if I instead try to update the font, either the size or the type, then it works just fine. The font gets updated on all paragraphs without problems. So the program recognizes those paragraphs as all written in Text Body when I update the font, but apparently not when I edit the line spacing.
If I click on one of the paragraphs which DIDN’T get updated, and then I go to the style selection tool on the top bar and click on Text Body again, even if it is already selected, then it does update the line spacing. So it seems as if the program temporarily forgets that those paragraphs are indeed written in Text Body (but it remembers it when I change just the font).
Workaround I found: I go to Find and Replace, select all text written in Text Body, and then choose Text Body from the style selection tool. Then it works. But I would much prefer if the stlye could be updated the normal way, also because I have indeed some text in the document which has some direct formatting that I would like to keep, for example different alignements, and which disappears if I do this. This would mean going through more than 500 pages (!!!) and change all the instances manually.
I tried changing the style in Safe Mode, with no results. The problem persists.
I would be extremely grateful for any help because I am going nuts. Is this really a bug? Does the fact that I have some direct formatting in the text somehow confuses LibreOffice? Important note: the paragraphs who don’t want to change the line spacing ARE NOT the paragraphs with direct formatting. They’re random paragraphs distributed throughout the whole document.
UPDATE: I created a new document, tried to insert random paragraphs and random headings, using dt + F3. I coulnd’t replicate the problem, the styles updated normally BUT this time the main style was “Default Style” and not Text Body, just because everytime I generated random text with dt it automatically switched to Default Style. So no problem there. I even inserted some direct formatting just to see if that was the cause, but nope, everything fine.
Then I created a new document, I copied all the text from the document which has problems, and indeed just from the copy and paste I could see there is something wrong: the paragraphs in Text Body are kind of random, with different line spacing and different fonts (even if in the original document they are all in Text Body, all with the same style and font and everything). And again if i try to update the style, I can only update the font! So something happened in my original document which messed up all my paragraph. Any idea of what that could be? This is hilarious but I also want to cry a little.
UPDATE: it looks like the paragraphs which don’t want to change are regarded by LibreOffice as directly formatted, even if they aren’t. If I select them and click on “Clear Direct Formatting”, they update as they should. But I didn’t actually directly formatted them. I just typed them like all the others, in Text Body style. Other interesting note: I noted some words don’t change font. They’re the words I changed most recently in the document. Again, they’re regarded as directly formatted even if I just simply typed them in Text Body like the rest of the document, without manually selecting their font or their font size. I’m very confused.
UPDATE: I have typed random text into the paragraphs of the first two pages of the document. I haven’t changed anything, just selected the paragraphs and typed random text. I insterted som punctuation, deleted words and replaced them, as if I was writing normally. Now if you try to update the style, you’ll see that it updates BOTH line spacing and font randomly. Some text gets updated, some doesn’t. Document is attached.experiment.odt
UPDATE: to try and replicate the problem with a brand new document:
Create blank document. Type random things in Text Body style. Type some paragraphs. Wait some minutes. Add a paragraph in Heading style. Do some modifications in the other paragraphs: change words, delete some lines and type in new ones. Do not directly format anything. Now edit the Text Body style (AutoUpdate unchecked), click on apply, and see what happens.