Issue 111087 - Zooming breaks text alignment if there are notes in the document
Summary: Zooming breaks text alignment if there are notes in the document
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: viewing (show other issues)
Version: OOO320m12
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-22 19:31 UTC by vvzh
Modified: 2017-05-20 11:22 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
A screenshot of the problem (38.84 KB, image/png)
2010-04-22 19:33 UTC, vvzh
no flags Details
An example document (23.59 KB, application/vnd.oasis.opendocument.text)
2010-04-22 19:35 UTC, vvzh
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description vvzh 2010-04-22 19:31:03 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.
Comment 1 vvzh 2010-04-22 19:33:54 UTC
Created attachment 69063 [details]
A screenshot of the problem
Comment 2 vvzh 2010-04-22 19:35:08 UTC
Created attachment 69064 [details]
An example document
Comment 3 michael.ruess 2010-04-23 15:05:11 UTC
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.
Comment 4 Joe Smith 2010-04-23 16:09:16 UTC
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.
Comment 5 hdu@apache.org 2010-04-26 09:53:02 UTC
@mba: the descriptions suggest that this is a generic issue with notes, reassigning as discussed
Comment 6 Mathias_Bauer 2010-05-14 14:29:53 UTC
please take over
Comment 7 Marcus 2017-05-20 11:22:09 UTC
Reset assigne to the default "issues@openoffice.apache.org".