You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2015/10/04 03:02:51 UTC

[Issue 126437] Rectangles viewed in wrong position on page-boarders

https://bz.apache.org/ooo/show_bug.cgi?id=126437

Eric <li...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |liathfaol@gmail.com

--- Comment #1 from Eric <li...@gmail.com> ---
I was able to reproduce this bug using:

Windows 7 64-bit, Windows 8.1 32-bit
AOO 4.1.1, AOO 4.2

Steps to reproduce:
1.    Open AOO
2.    Create a new blank text document
3.    From the upper left corner hit enter a couple of times to create some
blank space a paragraph you’ll add in the next steps.
4.    Create a paragraph – this can be copied from an existing document or
freehanded.  But to closely mimic the bug I used a typical paragraph with 4-5
sentences.
5.    Draw a box around the last few words of the last sentence, using the
rectangle option on the drawing toolbar
6.    Once the rectangle has been drawn, made sure the box itself is
highlighted and go to the properties on the right side of the screen.
7.    Change the Fill to None
8.    Change the line width to 2.3
9.    Change the line color to a bright red – Color doesn’t really matter we’re
just recreating the bug
10.    Now move the cursor over the edge of the box until the cursor turns into
a crosshairs
11.    Right click on the box
12.    Select Position and Size
13.    Within the Position and Size dialog box, select Anchor to Paragraph. 
Upper right of the dialog
14.    Towards the bottom of the dialog, under the Position section set these
values if they are not already:
a.    Horizontal – From Left by 2.67” to Paragraph area
b.    Vertical – From Top by .86” to Margin
15.    Now close the dialog by clicking OK
16.    Now click in the blank space above the paragraph
17.    Begin hit enter and do so until the paragraph and the box you created
move complete to the next page – scroll down as needed to watch the behavior 
18.    At this point the paragraph and the red box should both be on the top of
the second page.
19.    Now hit backspace once
20.    The first line of the paragraph moves back to the very bottom of the
first page and the red box now appears below the first line to the edge of the
page.  Just as shown in the screen shots for the original bug.

This is caused by the anchor and position settings, which under these
conditions will cause the box to appear in an incorrect position because the
paragraph straddles the page break.  

Tested with several other drawn objects and each behave the same way, based on
the anchor and position settings defined.

-- 
You are receiving this mail because:
You are the assignee for the issue.