Issue 126348 - Page area alert does not fire when user drags right margin manually
Summary: Page area alert does not fire when user drags right margin manually
Status: UNCONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: 4.1.1
Hardware: All All
: P5 (lowest) Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-30 20:20 UTC by Msanfrey
Modified: 2016-02-28 00:18 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Msanfrey 2015-05-30 20:20:32 UTC
Steps to reproduce:
1.Click on the right margin in the ruler bar
2.Drag the margin all the way to the right.

Issue:
Page area alert that reads "The margin settings are out of print range. Do you still want to apply these settings?" does not fire.

*Note: If you change the margin through Format -> Page -> Page to a number lower than .13 this alert does fire.
Comment 1 halsubhi 2015-09-23 02:49:20 UTC
Configuration Information: 
Windows 8 64-bit 
OpenOffice 4.2.0 AOO420m1(Build:9800)  -  Rev. 1692551

I followed Msanfrey's steps to successfully replicate the bug: 
1.Click on the right margin in the ruler bar
2.Drag the margin all the way to the right.
Also, I successfully replicated the bug on each one of the four margins (left-right-top-bottom).

Related Report:
https://bz.apache.org/ooo/show_bug.cgi?id=123719
Comment 2 Lgreen 2015-09-30 01:36:27 UTC
I was able to replicate the bug caused by manually dragging the margin outside the allotted range and not receiving the edit "The margin settings are out of print range. Do you still want to apply these settings?"

I am using AOO 4.0.1
Windows 7 
EliteBook 8460p machine

1. Launch AOO 4.0.1
2. Click on the right margin in the ruler bar
3. Drag the margin all the way to the right.
4. Edit "The margin settings are out of print range. Do you still want to apply these settings?" should have fired.


This problem also appears if you manually drag margin: 
* Outside range to left 
* Outside range to top
* Outside range to bottom

Note: 
*If you change the margin through Format -> Page -> Page -> Margins and select dropdown number .15” or lower this will fire the edit. 

*If you follow the same steps and manually key in .16” or lower this will also fire the edit. 

Are these valid differences based on testing in V4.0.1?
Comment 3 Andre Leone 2016-02-28 00:18:29 UTC
Configuration:

	Mac OS X Yosemite
	Version 10.10.2

	MacBook Air (11-inch, Mid 2011)
	Processor 1.6 GHz Intel Core i5
	Memory 2 Gb 1333 MHz DDR3
	Graphics Intel HD Graphics 3000 288 MB

	Apache OpenOffice 4.1.2
	AOO412m3(Build:9782) – Rev. 1709696
	2015-10-21 09:36:46 (Wed, 21 Oct 2015)
		
I was able to reproduce the bug by doing the following:

Expected:
1.	Open Writer
2.	Click Format -> Page… -> Page
3.	Edit one of the margins to 0.01”
4.	Receive a popup that says, “The margin settings are out of print range. Do you still want to apply these settings?”

Unexpected:
1.	Open Writer
2.	Drag one of the margins all the way to the edge of the document
3.	Nothing happens, there is no warning, Writer allows you to move the margin

This bug seems to relate more to the design of Open Office Writer. Some people may feel that this isn’t a bug at all and that it is just a feature that could be added. In the original creation of the page area alert, it seems like there was a conscious decision made to only alert the user if they are using the Format -> page -> page tabs. This could have been due to the fact that when a user manually drags the tab over, they are seeing visually what is going on. When a user changes the margins using the format->page->page tab, they are simply entering a number but cannot visualize what is going on in the background. It could be argued that the alert box is only needed in the scenario when the user can’t physically see their page layout until after they click the save changes button.

Even though you are alerted when making the margins too small from the format tab, it doesn’t necessarily mean that you have exceeded the print range. The actual printable area of a document depends on your current print driver. It is not determined from the type of word processor that you have. If you print the document on a different printer then the one that is connected when you format the document, the margins may be able to be wider or taller. 

http://stackoverflow.com/questions/3503615/what-are-the-minimum-margins-most-printers-can-handle

Microsoft Word

The same behavior can be seen in Microsoft Word 2011, version 14.1.3 (110805). If you open a new document, drag the left margin all the way to the left, MS Word allows you to do this but if you click the layout tab and set the left margin to 0.01” an alert box comes up that says “This margin will lie outside of the document’s printable region. Part of the document may not print on the page.”

The feature request mentioned in the link below may be something that would help with this.

Issue 8246 - Print margin settings

Halsubhi also mentioned the following link:

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

It should be noted that this link also describes a different bug in that writer can have the right and left margins overlap. It is similar to the bug that Msanfrey describes but not exactly the same.