[Libreoffice-bugs] [Bug 139296] scrolling document canvas down & up can cause a line of text to "tear" with loss of registration, it clears when the line moves out of view far enough or view passes to a new page

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Jan 17 21:39:44 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=139296

--- Comment #19 from spokanemagneto at gmail.com ---
Eureka! I think I might have found the source of the text tearing bug!

>From the start, I thought there was something hinky about the margins because
they were not where they should be after I set them.

Being unfamiliar with styles and not particularly fond of the use of all these
floating and sidebar decks impinging on my work area (until now), I gravitated
toward using the good, old-fashioned, drop-down menus; e.g., Format>Page Style,
and setting my document margins to 0.75″ there. However, after applying that
setting, I found that the actual margins were set to 0.79″ instead.

In delving into the Styles Deck (F11), I found a problem with the US
measurements in the Page>Format>Margins section. If you select Narrow,
Moderate, Normal (1″), Normal (1.25″), or Wide, the margins will be set
accurately—as seen on the horizontal ruler and in the Format>Page Style
drop-down menu. However, if you set the Margins to Normal (0.75″) in the Styles
Deck, you will notice that the margins as viewed on the horizontal ruler and in
the Format>Page Style drop-down menu reflect that the actual margins are set to
0.79″ instead! 

If you look at the horizontal ruler, you will see that the left margin is set
at 13/16″ instead of 12/16″ (i.e., 3/4″) and the right margin appears to be set
at perhaps something slightly over 13/16″ instead of 12/16″. Because I manually
set the page margins from the Format>Page Style drop-down menu instead of via
the Styles Deck, the Page>Format>Margins setting in the Styles Deck is then
selected as Custom. 

Once again, this could be yet another case of Murphy’s Law, but this is an
actual bug. Whether it fixes the text tearing issue or not remains to be seen,
but when you mentioned it possibly being related to a rounding error, this is
what lead me to pursue this avenue of investigation. I did some preliminary
checking of the metric measurement settings, and the ones I checked seemed
fine, but I did not check them all to verify they were measuring correctly.

It has taken a while to get to this point, but this should be something that
should be relatively quick and easy to fix. After that is resolved, we shall
see if it fixes the text tearing issue. I am hopefully optimistic that it will.
Until then, all I have to do now is to figure out how to change the Default
Paragraph Style to reflect Moderate style page margins (which works fine except
it has 1″ margins top and bottom, but that’s not critical to my purposes).

Oh, this margin issue might also explain why this problem never occurred on
documents originally done in Word, as in checking scores of those documents
that were opened and resaved in the Open Document Text format once I made the
switch to LibreOffice, they all had margins other than 3/4″.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210117/96b592a6/attachment.htm>


More information about the Libreoffice-bugs mailing list