Issue 127562 - Inconsistency on Header Height max. value when enabled first time
Summary: Inconsistency on Header Height max. value when enabled first time
Status: UNCONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: 4.1.3
Hardware: All Windows 10
: P5 (lowest) Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-21 09:19 UTC by camelia.chisalita
Modified: 2017-10-21 09:19 UTC (History)
0 users

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


Attachments
First Scenario Screenshots (949.10 KB, application/pdf)
2017-10-21 09:19 UTC, camelia.chisalita
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description camelia.chisalita 2017-10-21 09:19:10 UTC
Created attachment 86226 [details]
First Scenario Screenshots

Software and hardware configuration used:
- Operating System: Windows 10 Home, 64-bit;
- Processor: Intel Core i5, 1.7GHz;
- RAM Memory: 4Gb;
- Open Office 4.1.3.

First scenario
--------------

Steps:
1. Open OpenOffice Writer;
2. Set the measurement unit to 'cm': Tools menu | Options...| OpenOffice Writer | General | Choose as Measurement Unit 'Centimeters';
3. Create a new document: Menu File | New | Text Document; 
4. Set the Paper Format to A4: Format Menu | Page...| Page tab | Select from Format drop-down list;
4. go to Header Tab;
5. Enable Header;
6. Set Header Height to 29.7 cm;
7. Change focus from Hearder Height;
[header height = 20.06 cm]
8. Repeat steps 6 and 7;
[header height = 20.56 cm]

Expected output:
- header height should be set to the same value after steps 7 and 8;

Actual output:
- header height was set to different values after step 7 and step 8.

This shows an inconsistency in handling the same boundary value. For A4 paper format, 29.7 cm is the paper height. I have enclosed screenshots for this scenario.


Second scenario
---------------

Steps:
1. Open OpenOffice Writer;
2. Set the measurement unit to 'cm';
3. Create a new document;
4. keep the default Paper Format to Letter;
4. go to Header Tab;
5. Enable Header;
6. Set Header Height to 27.94 cm;
7. Change focus from Hearder Height;
[header height = 18.65 cm]
8. Repeat steps 6 and 7;
[header height = 19.15 cm]
9. go to Page tab again;
10. Set the Paper Format to A4;
11. go to Header Tab;
12. Set Header's Height to 29.7 cm;
13. Change focus from Hearder Height;
[header height = 20.56 cm]
14. Repeat steps 12 and 13;
[header height = 20.56 cm]


Expected output:
- header height should be set to the same value after steps 7 and 8 for Letter paper format;
- header height should be set to the same value after steps 12 and 13 for A4 paper format;

Actual output:
- header height was set to different values after steps 7 and 8 (first paper format); the header was not enabled before;
- header height was set to the same value after steps 12 and 13 (second paper format); the header was enabled before for the Letter paper format.


This shows an inconsistency in handling the same boundary value. For Letter paper format, 27.94 cm is the paper height.


Final considerations
--------------------

1. the first scenario indicates there is an inconsistency in handling boundary values when setting the header height;
2. the second scenario shows that this happens always to the first paper format used; it doesn't matter the user selects a new one from the list or not;
3. this issue is related to the first time the header gets enabled, no matter what paper format is used:
 - 1st time: if header is enabled and footer isn't enabled, the program considers the footer height = 0.50 cm;
 - 2nd time: if the footer isn't enabled, the program considers the footer height = 0.00 cm.