Created attachment 84994 [details] test-case Sidebar shows wrong values for spacing, right after opening a file. It affects both 4.1.0.4 and 4.1.1.2. Steps to reproduce: 1) Open Writer and type some text 2) Set some paragraph spacing (doesn't matter which of them) 3) Save the file & close 4) Reopen the file 5) See the wrong values on sidebar (you can compare them with the ones from Paragraph dialog) For some reason, It doesn't happen with values < 21 and if value = 30.
Created attachment 84995 [details] Screenshot (LO 4.1.1.2 on Windows 7 32-bit)
Created attachment 84996 [details] Screenshot (master on Windows 7 32-bit) The situation is even worse with master (4.2.0.0.alpha0+ Build ID: d6b4644da2c74500aa5ddfe69c36fc1f987bce0d TinderBox: Win-x86@6-debug, Branch:master, Time: 2013-08-31_22:06:59)
(In reply to comment #0) > For some reason, It doesn't happen with values < 21 and if value = 30. I meant 0.21cm & 0.30cm.
Confirmed. Crunchbang 11 linux running v4.1.3.2 exhibits problems when setting Paragraph metrics using direct formatting via the Sidebar i.e., either the small ellipsis button adjacent "Paragraph" or by editing the displayed fields directly. These values appear to be reset erratically as indicated upon re-opening the file: - 1.0pt set to 0.7pt (Before/After/First/Above/Below). - 2.0pt set to 2.2pt (Before/After/First/Above/Below). - 3.0pt set to 2.9pt (Before/After/First/Above/Below). - 4.0pt set to 3.9pt (Above/Below) and 4.3pt (Before/After/First). - 5.0pt set to 3.9pt (Above/Below only). - 6.0pt set to 3.9pt (Above/Below) and 5.8pt (Before/After/First).
This happens not only "right after file open", but on every time the Properties pane is activated on the sidebar, e.g. after returning from Styles & Formatting pane. I wonder if this could be somehow related to bug 68508.
(This is an automated message.) Setting priority to highest as this is a 4.1 MAB. This is part of an effort to make the importance of MAB reflected in priority too.
In 4.2, this distorts formatting: switching to Properties pane (from e.g. Styles and Formatting), the spacing units are both shown as 10 cm and indents are wrong, too -- and if I don't notice it and edit any of them, then the other spacing value or indent values actually get set to whatever they were showing. Workaround is to move cursor to a paragraph with different style and back.
please retest against 4.2.4.2 if bug persists please move it to mab4.2 list since 4.1.x is EOL
(In reply to comment #8) > please retest against 4.2.4.2 still there, even with latest master. > if bug persists please move it to mab4.2 list since 4.1.x is EOL done.
*** Bug 85747 has been marked as a duplicate of this bug. ***
It seems fixed with http://cgit.freedesktop.org/libreoffice/core/commit/?id=9a410f9cedbce5276aea48479812ff68210712b0. At least the initial shown value seems correct. The values are however still a bit off when manually switching the unit after the document is open.
*** Bug 68508 has been marked as a duplicate of this bug. ***
Thank you for your work, Maxim! Any chance of backport to 4.4? :)
(In reply to Mihkel Tõnnov from comment #13) > Thank you for your work, Maxim! > Any chance of backport to 4.4? :) Sure, but please test it with 4.5 daily builds that have this patch, because I'm not sure it covers all possible cases.
Now also in 4-4: http://cgit.freedesktop.org/libreoffice/core/commit/?h=libreoffice-4-4&id=16bfe15d9175f52030bcb1265f8f48728786f910
(In reply to Maxim Monastirsky from comment #14) > (In reply to Mihkel Tõnnov from comment #13) > > Thank you for your work, Maxim! > > Any chance of backport to 4.4? :) > Sure, but please test it with 4.5 daily builds that have this patch, because > I'm not sure it covers all possible cases. Looks so much better with latest 4.5 daily build. Thank you for fixing this!