Apache OpenOffice (AOO) Bugzilla – Issue 111087
Zooming breaks text alignment if there are notes in the document
Last modified: 2017-05-20 11:22:09 UTC
Zooming documents that contain notes makes justify-aligned and right-aligned text exceed page margin. See the attached screenshot. Besides OOO320m12 (Build:9483) on WinXP SP2 I was able to reproduce this problem with release version of 3.1 on the same OS. Other people managed to reproduce it with OOO320m14 on WinXP SP3 and OOo-dev m76 on Ubuntu 9.10. Steps to reproduce: * download an attached example; * alternatively: - create a document containing some paragraphs of rigth/justify-aligned text; - insert a note into the document; - save, close and reopen the document; * try to change document zoom factor; * some zoom factor values make the text exceed page margin (as the attached screenshot shows), some other values cause text "undershoot" when there is an unexpected gap between text and page margin. * to get rid of this visual artifact one could do either of the following: - toggle View > Hidden paragraphs menu item; - make a minor change, save and reopen the document; * the document view is refreshed so the artifact is not visible anymore until you zoom the document again. But this refresh changes page layout. The attached example document originally fits in one page, but after zooming it and refreshing the view up to 3 lines could be moved to the new page. This is not acceptable since page zoom is not expected to change page layout.
Created attachment 69063 [details] A screenshot of the problem
Created attachment 69064 [details] An example document
MRU->HDU: I was only able to confirm this issue on Linux (SUSE 11). Open attached document, set zoom to 75% -> text is painted over right page border.
I see this with OOo 3.2.0 and DEV300_m76 on Fedora Linux 11 as well. Just a couple of comments after testing a bit: * It seems that the /presence/ of a note is enough to cause the problem: I see the alignment errors at the right-margin even if notes are not shown. If I delete the note from the sample document, no errors are visible at any zoom; insert a note and the errors come back. (I see now that the report says "contain notes" but it wasn't clear to me at first) * With a visible border added to the page style, the alignment errors seen in the editing window are also apparent in File > Page Preview and on export to PDF, but not on the actual paper printout. * I don't see the problem using OOo 3.1.1 on Fedora * The problem doesn't seem to be font-specific: different fonts show more or less of a problem, but all have some error at some zoom levels.
@mba: the descriptions suggest that this is a generic issue with notes, reassigning as discussed
please take over
Reset assigne to the default "issues@openoffice.apache.org".