Apache OpenOffice (AOO) Bugzilla – Issue 121116
Page margins change unexpectedly when changing from Landscape to Portrait
Last modified: 2014-11-16 18:09:16 UTC
OpenOffice version: 3.4.0 Build 9590 Operating System: Mac OS X 10.8.2 Reproduction steps: 1. Open Impress, create a new empty slide deck with German A4 settings for the page layout (28.00 cm wide, 21.00 cm high) 2. Open the Page Format dialog through menu Format -> Page... 3. Change the left page margin to 2.00 cm, leave the other margins at 0.00 cm. 4. Change slide orientation from Landscape to Portrait The page margin left changes from 2.00 cm to 0.35 cm. Page margin right turns to 0.35 cm as well. Page margin top changes to 0.18 cm, page margin bottom to 1.16 cm. I would have expected the margins to either stay the same when changing the orientation, or that the left page margins moves to the top margin. I also receive a similar effect when starting from page margin left of 3.00 cm, and changing the orientation, but with different values. Follow-up tests I also tried are with extreme values like page margin left close to page width, but that didn't reproduce the problem. The same goes with extreme values like 0.00 cm.
(Isaac Howard, 10/25/12) Additional Information on reproducibility OpenOffice Version: 3.4.1 Build 9593 OS: MacOS X 10.7.5 Unable to reproduce this behavior: 1. Open Impress, create a new empty slide deck with German A4 settings for the page layout (28.00 cm wide, 21.00 cm high) 2. Open the Page Format dialog through menu Format -> Page... 3. Change the left page margin to 2.00 cm, leave the other margins at 0.00 cm. 4. Change slide orientation from Landscape to Portrait The page margin left does not change from 2.00 cm.
(Isaac Howard, 10/25/12) Additional Information on reproducibility OpenOffice Version: 3.5.0 Build 9611 OS: MacOS X 10.7.5 Unable to reproduce this behavior: 1. Open Impress, create a new empty slide deck with German A4 settings for the page layout (28.00 cm wide, 21.00 cm high) 2. Open the Page Format dialog through menu Format -> Page... 3. Change the left page margin to 2.00 cm, leave the other margins at 0.00 cm. 4. Change slide orientation from Landscape to Portrait The page margin left does not change from 2.00 cm.
(Isaac Howard, 10/25/12) Additional Information on reproducibility using extremes Summary: The results are unpredictable given the lower values of 0 or 0.1 and the upper values of 30 OpenOffice Version: 3.4.1 Build 9593 AND 3.5.0 Build 9611 (both exhibited the same behavior) OS: MacOS X 10.7.5 * Open Impress, create a new empty slide desk with German A4 setting for the page layout (28.00cm, 21.00cm) * Open the Page Format dialog (Format -> Page) * Change the paper to A4 * Make sure the Orientation is set to Portrait * Set (Left, Right, Top, Bottom) to 0.00cm * Select Landscape orientation * OBSERVE the values are reset to (1.00, 1.41, 1.00, 1.41) * Make sure the Orientation is set to Portrait * Set (Left, Right, Top, Bottom) to 0.10cm * Select Landscape orientation * OBSERVE the values are reset to (.64, 1.41, .64, .64) * Select Portrait orientation again * OBSERVE the values are reset to (.64, 1.41, .64, .1.41) * Make sure the Orientation is set to Landscape * Set (Left, Right, Top, Bottom) to 0.10cm * Select Portrait orientation * OBSERVE the values are reset to (.64, .64, .64, 1.41) * Select Landscape orientation again * OBSERVE the values are reset to (.64, 1.41, .64, 1.41) ISSUE Not sure if the values of the Left and Top should be 1.00 or .64
Test Environment Mac OS X 10.7.5 OpenOffice 3.4.1 (Build 9593) Observation about the format In my environment there are two different predefined paper formats. 1. Format: Screen, Width: 21.00 cm, Height: 28,00 cm (in Portrait), all margins set to 0,00 cm 2. Format: A4, Width: 21.00 cm, Height: 29,70 cm (in Portrait), left, right & top margin: 1.00 cm, bottom margin 1.45 cm It's not entirely clear to me which of these two formats (if any) was used in the original report and follow-up commenter. Observations while not altering the Margin fields: * For a new presentation the format is pre-set to Screen/Landscape. * Height and Width are swapped when I change from Portrait to Landscape orientation, independent of the selected format. * No margins are changed when changing the orientation as long as no other changes are made, in particular the margins for the 'A4' format stay the same. * Going from 'Screen/Landscape' to 'A4' without changing the orientation sets the right margin to 1.45cm and the other margins to 1.00cm. * Going from 'Screen/Landscape' to 'Screen/Portrait' and then to 'A4' set the right margin to 1.45cm and the other margins to 1.00cm. * Going from 'Screen/Landscape' to 'A4' and then changing from Landscape re-sets the margins as mentioned above. Changing to Portrait while staying in 'A4' leaves the margins unchanged. I'd expect the same state independent of the order in which format & orientation are changed. Some follow-up tests * Start with a new presentation, the 'Page Setup' is as in point 1. above * Leave the orientation setting in Landscape * Entering anything a left margin LM > 27,50 cm automatically adjusts the value to 27,50 cm no matter whether I click the OK button and redisplay the Page Setting dialog or leave the text field using the TAB key. * Negative values entered are changed to 0,00 cm. Now change the orientation while the format is 'Screen' * When the pre-set margins are not altered by the user, changing the orientation form the pre-set Landscape to Portrait, the margins are not changed. * Entering (for example) 1.00, 2.00, 3.00 and 4.00 cm for the left, right, top and bottom margin before changing the orientation to Portrait sets the margins to 0,64 cm for the left, right and top margin and the bottom margin to 1,45 cm. Using 'A4' as the Paper format * Start with a new presentation and change the paper format to 'A4' before doing anything else * Entering a value of 0.63cm (or one that's rounded down to this value) for the left, top or bottom margin yields a warning dialog saying "The margin settings are out of print range". For the right margin the lowest value not triggering this warning is 1.45 cm.
I was able to reproduce this bug. Test Environment OpenOffice version: 4.1.1 Build Operating System: Windows 7 Steps to reproduce the bug 1. OpenOffice application: Click on presentation icon to Open Impress 2. Presentation Wizard: Choose any of the three types to create or open an exsisting presentation: Empty presentation, From Template, or Open an existing presentation. 4. Menu bar: Click View -> click Normal Click on Normal, Notes, or Handout icon 5. Menu bar: click Format -> click Page…: this will open the Page Setup dialog 6. Page Setup dialog: A)Paper format: For the default options for Format: “Screen”, the Width, and Height are (28.00 cm, and 21.00 cm). The default slide orientation is “Landscape”. B)Margins: For the default options for Format: “Screen” The default values for Left, Right, Top, and Bottom are (0.00 cm, 0.00 cm, 0.00 cm, and 0.00 cm). NOW: 1.Change the left page margin to 2.00 cm, leave the other margins at 0.00 cm. 2.Change slide orientation from Landscape to Portrait Actual Results: The margins values for Left, Right, Top, and Bottom change from: (2.00 cm, 0.00 cm, 0.00 cm, and 0.00 cm) to: (0.64 cm, 0.63 cm, 0.30 cm, and 0.50 cm) Expected results: We expect that changing the orientation should not change the margins values to a totally different values. The Left, Right, Top, and Bottom values (2.00 cm, 0.00 cm, 0.00 cm, and 0.00 cm)should stay the same without any changes or should change to (0.00 cm, 2.00 cm, 0.00 cm, and 0.00 cm) when changing the orientation from Landscape to Portrait. Note: Changing the slide orientation after Changing any of the page margin values (Left, Right, Top, or Bottom) to any values rather than 0.00 cm, always results in changing the page margin values to the new fixed values (0.64 cm, 0.63 cm, 0.30 cm, and 0.50 cm). Note: The same issue exists for the Format option: “User”. Note: The same issue exists for View menu (Notes page, or Handout page) and the Format option: “Screen” or “User”.