I am trying to work on a .doc file that was prepared by someone else on MS Word.
When I open the document with LibO, it looks fine. The document is formatted on an A4 page, with 20 mm left and right margin. The top ruler correctly shows numbers from 20 to 0 mm (the left margin), then the left margin and indent markers, then numbers from 0 to 170 mm (the paragraph space), then the right margin marker, then numbers from 170 to 190 mm, which looks fine, because the page is actually 210 mm wide, which is 20+190 mm.
Unfortunately, weird thing start to happen as soon as I touch the Tools->Options Libreoffice Writer->Compatibility dialog. Even if I do not change anything, as soon as I press the OK button, the ruler goes crazy.
now the ruler shows figures from about -24 to 0 mm for the left margin, then from 0 to 186mm for the left margin and from 186mm to 210 mm for the right margin, as if the page was ~ 243 mm wide.
In practice, the page width gets assigned to the paragraph space + right margin, rather than the left margin + paragraph space + right margin.
This makes it impossible to use the ruler to decide where tabs should go.
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug.
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
(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.)
Created attachment 132358 [details]
1) Open test.odt (that is a doc file, saved as odt)
2) Go to Tools->Options->Libreoffice Writer->Compatibility
3) Press OK and see the top ruler go crazy
In the meanwhile I found a workaround too:
If, after 3 you save the document again and reopen it, it's fine.
No change here. Can you copy and paste the text in Help - About?
Arch Linux 64-bit, KDE Plasma 5
Build ID: 5.3.2-1
CPU Threads: 8; OS Version: Linux 4.10; UI Render: default; VCL: kde4; Layout Engine: new;
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Here it is:
Build ID: 6cd4f1ef626f15116896b1d8e1398b56da0d0ee1
CPU Threads: 8; OS Version: Linux 4.8; UI Render: default; VCL: x11; Layout Engine: new;
Locale: it-IT (en_US.utf8); Calc: single
(In reply to sergio.callegari from comment #4)
> Here it is:
> Version: 18.104.22.168
> Build ID: 6cd4f1ef626f15116896b1d8e1398b56da0d0ee1
> CPU Threads: 8; OS Version: Linux 4.8; UI Render: default; VCL: x11; Layout
> Engine: new;
> Locale: it-IT (en_US.utf8); Calc: single
Ok, that VCL: x11 is interesting. Could you try launching from the command line with
The change should be reflected in the Help - About - VCL.. Are you using Ubuntu? Perhaps you are missing the libreoffice-gtk3 package?
Does not seem to make any difference:
- the breakage of the ruler when clicking OK in the compatibility options
remains the same
- the about config dialog still reports VCL: x11
can this be because I do not have any gnome-integration or kde-integration package?
Created attachment 132950 [details]
Screenshot of testcase before touching compatibility options
Created attachment 132951 [details]
Screenshot after pressing OK in the the compatibility options dialog
Haven't tested enough, but it looks like messing with the zoom is another way to get the correct ruler back.
(In reply to sergio.callegari from comment #6)
> can this be because I do not have any gnome-integration or kde-integration
Yep, please try installing libreoffice-gtk3 package. Are you on Ubuntu or something else?
I'm on Kubuntu and using the LibO deb packages from Libreoffice rather than those from the distribution.
The only packages that I do not install are the gnome-integration and the KDE-integration ones. This is because I'm on KDE, but in the past I found the kde integration to have minor annoyances. Cannot see a specific -gtk3 package.
(In reply to sergio.callegari from comment #12)
> The only packages that I do not install are the gnome-integration and the
> KDE-integration ones. This is because I'm on KDE, but in the past I found
> the kde integration to have minor annoyances. Cannot see a specific -gtk3
Then you should install the kde integration package and test.
OK, now I see kde4 as the VCL and the issue with the ruler is gone. So the issue is with the default (x11) VCL.
Not reproducible for me with LibreOffice 22.214.171.124.beta2+ under Ubuntu 16.04 x86-64
Closing as WorksForMe. Please feel free to reopen if you disagree.
Best regards. JBF