Issue 126902 - Adjusting left and right page margins under 1" causes all information, text, etc to cram to one page
Summary: Adjusting left and right page margins under 1" causes all information, text, ...
Status: UNCONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: 4.1.2
Hardware: PC Windows 10
: P5 (lowest) Major (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-03 20:04 UTC by Aza Allen
Modified: 2017-02-25 23:40 UTC (History)
7 users (show)

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


Attachments
After the bug is experienced (160.07 KB, image/png)
2016-04-03 20:04 UTC, Aza Allen
no flags Details
Example document (9.55 KB, application/vnd.oasis.opendocument.text)
2016-04-09 19:08 UTC, JC
no flags Details
screencast of error (25 bytes, text/plain)
2016-04-09 21:03 UTC, JC
no flags Details
Example document showing bug (9.40 KB, application/vnd.oasis.opendocument.text)
2016-04-22 01:53 UTC, Bruce May
no flags Details
Hi, I have also investigated the issue and hope to provide new insights. (485.77 KB, application/pdf)
2016-11-05 10:58 UTC, Andreea Vescan
no flags Details
my created document (10.47 KB, application/vnd.oasis.opendocument.text)
2016-11-05 10:59 UTC, Andreea Vescan
no flags Details
File from my investigation - design error - Test case 6 (11.50 KB, application/vnd.oasis.opendocument.text)
2016-11-05 11:00 UTC, Andreea Vescan
no flags Details
File from my investigation - design error - Test case 6 (11.51 KB, application/vnd.oasis.opendocument.text)
2016-11-05 11:01 UTC, Andreea Vescan
no flags Details
File from my investigation - design error - Test case 6 - workaround (11.55 KB, application/vnd.oasis.opendocument.text)
2016-11-05 11:01 UTC, Andreea Vescan
no flags Details
File from my investigation - design error - Test case 6 - workaround (11.55 KB, application/vnd.oasis.opendocument.text)
2016-11-05 11:01 UTC, Andreea Vescan
no flags Details
File from my investigation - design error - Test case 7 (12.44 KB, application/vnd.oasis.opendocument.text)
2016-11-05 11:02 UTC, Andreea Vescan
no flags Details
File from my investigation - design error - Test case 7 (12.46 KB, application/vnd.oasis.opendocument.text)
2016-11-05 11:02 UTC, Andreea Vescan
no flags Details
File from my investigation - design error - Test case 7 - workaround (12.48 KB, application/vnd.oasis.opendocument.text)
2016-11-05 11:03 UTC, Andreea Vescan
no flags Details
File from my investigation - design error - Test case 7 - workaround (12.48 KB, application/vnd.oasis.opendocument.text)
2016-11-05 11:03 UTC, Andreea Vescan
no flags Details
File from my investigation - design error - Test case 8 (11.51 KB, application/vnd.oasis.opendocument.text)
2016-11-05 11:03 UTC, Andreea Vescan
no flags Details
File from my investigation - design error - Test case 8 (11.53 KB, application/vnd.oasis.opendocument.text)
2016-11-05 11:04 UTC, Andreea Vescan
no flags Details
File from my investigation - design error - Test case 8 - workaround (11.55 KB, application/vnd.oasis.opendocument.text)
2016-11-05 11:04 UTC, Andreea Vescan
no flags Details
File from my investigation - design error - Test case 8 - workaround (11.56 KB, application/vnd.oasis.opendocument.text)
2016-11-05 11:04 UTC, Andreea Vescan
no flags Details
File from my investigation - design error - Test case 9 (12.44 KB, application/vnd.oasis.opendocument.text)
2016-11-05 11:05 UTC, Andreea Vescan
no flags Details
File from my investigation - design error - Test case 9 (12.44 KB, application/vnd.oasis.opendocument.text)
2016-11-05 11:05 UTC, Andreea Vescan
no flags Details
File from my investigation - design error - Test case 9 - workaround (12.48 KB, application/vnd.oasis.opendocument.text)
2016-11-05 11:05 UTC, Andreea Vescan
no flags Details
File from my investigation - design error - Test case 9 - workaround (12.49 KB, application/vnd.oasis.opendocument.text)
2016-11-05 11:06 UTC, Andreea Vescan
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Aza Allen 2016-04-03 20:04:33 UTC
Created attachment 85385 [details]
After the bug is experienced

I have a two page resume with text fields, anchors, text, etc... when I go to adjust the left and right margins under 1" , everything crams itself onto the first page!! very weird bug!!
Comment 1 orcmid 2016-04-03 21:40:48 UTC
It looks like an anchor got moved or isn't where you think but doesn't have this effect until the width is changed.

If that doesn't clear it up, upload the Resume document (presumably an .odt?) so we can see what is going on more closely.

Did you try making an explicit break between the two pages?  

Also, do you really need text fields?  The document doesn't seem so complicated that it needs anything so elaborate.
Comment 2 oooforum (fr) 2016-04-04 06:44:35 UTC
As orcmid said, a screenshot doesn't really help to see a problem. Provide directly your document and we can investigate this "weird" bug.
Comment 3 JC 2016-04-09 19:08:40 UTC
Created attachment 85397 [details]
Example document
Comment 4 JC 2016-04-09 19:09:37 UTC
Steps to reproduce:
1.  Open the example document (attached) in OpenOffice Writer.
2.  Click Margins, and then select Narrow. Note that the second frame in the document moves to the first page and overlays the first frame.
3.  Click Margins again, and then select Normal.  Note that the second frame returns to its original location.

See the attached screencast for a demonstration.
Comment 5 JC 2016-04-09 21:03:48 UTC
Created attachment 85398 [details]
screencast of error
Comment 6 JC 2016-04-09 21:06:44 UTC
Here's the link to the screencast:

http://cl.ly/3T2Z0K1c0B3f
Comment 7 Bruce May 2016-04-12 20:31:05 UTC
I was able to replicate this bug with the attached example document and following the outlines recreation steps.  To further assist with troubleshooting this bug, Aza, can you please provide the original 2 page resume document that you were using when the error occurred...even if you have to change some data for security purposes, this would really help to run some follow-up tests and narrow down the true issue within the program.

Business Impact - Poor customer experience, which could lead to user frustration and the potential for loss of business.
Comment 8 orcmid 2016-04-13 01:29:36 UTC
I examined the Example document, Attachment 85397 [details].  I notice that both frames are have Frame Wrap setting to Parallel.

If I change both of them to Wrap Settings None, the frames go onto the separate pages as necessary, and the text outside of frames stays separated too.
Comment 9 Bruce May 2016-04-22 01:51:45 UTC
I was able to replicate this bug on a Windows 10 machine with OpenOffice Writer 4.2.0 (the version above is 4.1.2).  Here are the steps I followed:

1. Open attached 'Example document'
2. Change the Page Margin to 'Narrow'
3. See the overlapping/cramming of the pages (see attached doc 'Example document showing bug'

I tried to create my own OpenOffice Writer document with more text, different formatting and by anchoring/wrapping frames and text together, but was unable to recreate the bug.

I also tried to create a Word doc to match the attached Example document to test the bug using Word, but was not able to replicate it either.  In my opinion, it appears as if this bug would be considered low severity and priority as it would not happen too often in the field.  However, I do feel that it should get resolved in a timely manner to contain a higher quality product for the users.
Comment 10 Bruce May 2016-04-22 01:53:20 UTC
Created attachment 85473 [details]
Example document showing bug
Comment 11 orcmid 2016-04-22 02:35:40 UTC
(In reply to Bruce May from comment #9)
> I was able to replicate this bug on a Windows 10 machine with OpenOffice
> Writer 4.2.0 (the version above is 4.1.2).  Here are the steps I followed:
> 
Bruce, I'm not clear this is a bug.  Did you check the Frame Wrap settings?  Notice that there is more that happens when frames are allow to float the way they are and the Frame Wrap is set to Parallel?

See Comment 8.
Comment 12 malhabsi2013 2016-10-26 01:12:46 UTC
I was able to replicate this bug on a windows 10 PC. Open Office version 4.2.1

After doing some follow-up tests i found out that this bug occurs on some under 1" values of left/right margins, not all values. For instance, if you have both left and right margins set to 0.8" the bug will not occur.

Also, if you have the right margin to < 0.2 this bug will occur even if the left margin is set to > 1" (even 10")
Comment 13 Andreea Vescan 2016-11-05 10:58:25 UTC
Created attachment 85826 [details]
Hi, I have also investigated the issue and hope to provide new insights.

Hi, I have also investigated the issue and hope to provide new insights.
Please see also the next comments with the files used in my investigation.
Comment 14 Andreea Vescan 2016-11-05 10:59:16 UTC
Created attachment 85827 [details]
my created document

my created document
Comment 15 Andreea Vescan 2016-11-05 11:00:52 UTC
Created attachment 85828 [details]
File from my investigation - design error - Test case 6

File from my investigation - design error - Test case 6
Comment 16 Andreea Vescan 2016-11-05 11:01:12 UTC
Created attachment 85829 [details]
File from my investigation - design error - Test case 6
Comment 17 Andreea Vescan 2016-11-05 11:01:35 UTC
Created attachment 85830 [details]
File from my investigation - design error - Test case 6 - workaround
Comment 18 Andreea Vescan 2016-11-05 11:01:57 UTC
Created attachment 85831 [details]
File from my investigation - design error - Test case 6 - workaround
Comment 19 Andreea Vescan 2016-11-05 11:02:22 UTC
Created attachment 85832 [details]
File from my investigation - design error - Test case 7
Comment 20 Andreea Vescan 2016-11-05 11:02:40 UTC
Created attachment 85833 [details]
File from my investigation - design error - Test case 7
Comment 21 Andreea Vescan 2016-11-05 11:03:04 UTC
Created attachment 85834 [details]
File from my investigation - design error - Test case 7 - workaround
Comment 22 Andreea Vescan 2016-11-05 11:03:24 UTC
Created attachment 85835 [details]
File from my investigation - design error - Test case 7 - workaround
Comment 23 Andreea Vescan 2016-11-05 11:03:44 UTC
Created attachment 85836 [details]
File from my investigation - design error - Test case 8
Comment 24 Andreea Vescan 2016-11-05 11:04:04 UTC
Created attachment 85837 [details]
File from my investigation - design error - Test case 8
Comment 25 Andreea Vescan 2016-11-05 11:04:25 UTC
Created attachment 85838 [details]
File from my investigation - design error - Test case 8 - workaround
Comment 26 Andreea Vescan 2016-11-05 11:04:56 UTC
Created attachment 85839 [details]
File from my investigation - design error - Test case 8 - workaround
Comment 27 Andreea Vescan 2016-11-05 11:05:21 UTC
Created attachment 85840 [details]
File from my investigation - design error - Test case 9
Comment 28 Andreea Vescan 2016-11-05 11:05:38 UTC
Created attachment 85841 [details]
File from my investigation - design error - Test case 9
Comment 29 Andreea Vescan 2016-11-05 11:05:57 UTC
Created attachment 85842 [details]
File from my investigation - design error - Test case 9 - workaround
Comment 30 Andreea Vescan 2016-11-05 11:06:14 UTC
Created attachment 85843 [details]
File from my investigation - design error - Test case 9 - workaround
Comment 31 Patricia Shanahan 2016-11-12 02:34:20 UTC
Does this problem reproduce in the current Trunk? If so, what is the recommended procedure for reproducing it?
Comment 32 Chris Montgomery 2017-02-25 23:40:49 UTC
This same behavior can also be replicated using the following steps:

1. Open the attachment named "Example document" (second attachment from the top, after "After the bug is experienced").
2. Notice how wide each of the words "TEXT" are (about 1/2 inch).
3. Click on an edge of the second frame so that you can resize it.
4. Resize the second frame such that it is over 1/2 inch narrower (horizontally).
5. Observe the second frame being crammed onto the first page.

Here, I have replicated this behavior without modifying the margins. Hence, changing the margins from Normal to Narrow is not the cause of the second frame being crammed onto the first page. What matters here is that the second frame fits within the margins alongside the other text on the first page. Meanwhile, continuing from step 5, I can cause the second frame to move back to the second page by modifying the text slightly, then when I undo that modification the frame stays on the second page. That is, I follow these steps (continuing from step 5):

6. Place your cursor in one of the occurrences of the word "TEXT".
7. Add characters to that word. (For example, change the word from "TEXT" to "TEXTTEXTTEXTTEXT".)
8. Observe that as soon as the word is too long to fit next to the second frame, the second frame moves down to the second page.
9. Press Ctrl+Z to undo the changes you made in step 7. The word you modified should have been changed back to "TEXT".
10. Notice that the second frame is still on the second page.

If you'd like to move the second frame back to the first page (continuing from step 10):

11. Place your cursor next to one of the occurrences of the word "TEXT".
12. Press Enter. The frame will be moved up again.

Modifying the margins should not be the concern here. What should be the concern is that the second frame behaves inconsistently depending on a previous state of the document, even if all the other content in the current state is the same.