Issue 122203 - With a large user-set page width, the left margin cannot be set to values larger than 99,99cm
Summary: With a large user-set page width, the left margin cannot be set to values lar...
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: 3.4.1
Hardware: Mac Mac OS X, all
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2013-05-01 19:44 UTC by Stephan
Modified: 2015-01-24 16:41 UTC (History)
4 users (show)

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


Note You need to log in before you can comment on or make changes to this issue.
Description Stephan 2013-05-01 19:44:45 UTC

Hard & Software environment: 2.16 GHz Intel Core Duo, iMac, 4GB RAM, OS X 10.7.5

Scenario: User want to create very wide document with large left margin

Steps to reproduce:

1. Create new OO Writer document (or open an existing one).
2. Using the Format->Page dialog set the page width to 300cm (which happens to be the maximum).
3. The set the left margin to a value larger than 100 cm.
4. Confirm dialog with 'OK'

Actual behaviour:

5. Confirm the displayed warning dialog 'The margin settings are out of print range' with 'OK' too. (I always assumed that there may be a problem with too small margins, because the paper traction system of printers may prevent printing to the very edge of the paper, but that's clearly not the case here, so I wonder why the dialog is displayed.)
6. The display shows the paper sheet and the text frame, but the left margin is clearly not set to the entered value, even though I confirmed to use the value I entered.
7. Reopening the Format->Page dialog confirms this: The left margin is set to 18,40cm. Note that this is not the maximum possible value I can enter. The biggest number I can enter with out causing the program to revert to a small value is 115cm (which is reduce to 99,99cm). 
A left margin of 116 cm is automatically reduce to 0.40cm.

Expected behaviour:

1. If there actually is an upper limit, the program should reduce all values that are too big to this maximum number.
2. Since for the A4 format the left and right margin can be large, as long as the text frame is at least 0,5cm wide. A4 is 21cm wide, so a left margin of 10,5cm and a right margin of 10cm are fine. Given this behavior I expect the program to be consistent and apply the same constraint to other page widths, such as the 300cm I used in the example.

A video illustrating the basic case as described above is attached.
Comment 1 Stephan 2013-05-01 20:00:40 UTC
The video is available here:
Comment 2 Gaurav Kamani 2014-11-18 00:07:46 UTC
AOO411m6(Build:9775)  -  Rev. 1617669
2014-08-13 09:06:54 (Mi, 13 Aug 2014)

System: Windows 8.1 Pro
Bug is replicated.

I want to add that, the value that the left margin is reset to is not constant. It drops down to different values for different entered values.
Upon my testing:

Page Width= 118.11"  Left Margin= 97"     Dropped to = 5.98"
Page Width= 118.11"  Left Margin= 112"    Dropped to = 20.98"
Page Width= 118.11"  Left Margin= 45"     Accepted

This is really strange.
Comment 3 Raluca Popa 2015-01-24 16:27:59 UTC
Configuration information:
Windows 7 Ultimate, 64-bit OS
AOO411m4(Build:9774)  -  Rev. 1614269

Specific description of the steps:
1. Create new Writer document
2. Change measurement unit from inch to cm [ Tools > Options > OpenOffice Writer > Settings ] if needed.
3. Go to Format > Page
4. Choose from Format dropdown value ‘User’
5. Enter value 300 cm in Width field
6. Enter value 134 cm in Left Margin field
7. Click ‘Yes’ when dialog box with ‘The margin settings are out of print range. Do you still want to apply these settings ?’
Feedback from program: The page left margin has 18.40 cm.
8. Go to Format > Page and enter value 115 cm in Left margin field.
Feedback from program: The page left margin has 99.99 cm.
9. Go to Format > Page and enter value 116 cm in Left margin field.
Feedback from program: The page left margin has 0.40 cm.

Specific description of the failure:
The maximum value accepted in left margin field is inconsistent: input 134 cm, has as ‘output’ 18.40, input 115 cm -> 99.99 cm, input 116 -> 0.40. 

Expected result:
I would expect that after steps 7, 8 and 9, the same maximum value to be in left margin field.

Other notes:
Width of A4 paper is 21.00 cm, everything that is > 21.00 cm is considered ‘User’ format of the page.
I was not able to reproduce the inconsistency with lower values than the ones from steps, such as: width: 50 cm, left margin: 20 cm.
Consistency with other comparable products: Microsoft Word 2010 - when trying to enter 300 cm as width of page for Custom page format, user is announced that ‘The measurement must be between 0.26 and 55.87 cm.’ I would expect Writer to display a similar message.
Comment 4 hanya 2015-01-24 16:41:51 UTC
Maximum page size and margins are defined in:
These value can not be changed larger than the restriction without changing related configuration.