Issue 127564

Summary: Font size in Toolbar different from actual values for Title and Description when Page Height is set to very small value
Product: Impress Reporter: Dolly <dolores.pente>
Component: uiAssignee: AOO issues mailing list <issues>
Status: UNCONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P5 (lowest) CC: dhelrod
Version: 4.1.4   
Target Milestone: ---   
Hardware: All   
OS: Windows 10   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Please zoom in and click on the title and on the description and see the font size displayed in the Toolbar for both of them. none

Description Dolly 2017-10-21 15:45:07 UTC
Created attachment 86227 [details]
Please zoom in and click on the title and on the description and see the font size displayed in the Toolbar for both of them.

Product: OpenOffice Impress 
Environment: Windows 10 Pro ; Product Version: Apache OpenOffice 4.1.4, Apache OpenOffice 4.1.2
Environment: Mac OS X El Capitan v.10.11.6 ; Product Version: Apache OpenOffice 4.1.2


STEPS:
1. Open a new presentation or a new slide if you don’t have any templates applied
2. Add a title and leave the default font size applies: 44
3. Add a description and leave the default font size applies: 32
4. Go to the Format menu
5. Click on the Page option
5. In the  Page Setup Dialog, set the Page Height to 1 or 0.5 cm
6. Click on the title and description to see what is the new font size applied and verify the size displayed in the font size dropdown.

EXPECTED: I noticed that the default font sizes (not modified manually in any way) will change with the page height. If the user sets a greater page size, the font sizes will be greater. If the user sets a smaller page size, the font sizes will be smaller. However, I would expect that the size of the font changes proportionally and the title is always bigger than the description. If not, if both get to the same font size, this should be reflected in the output: the page. 

ACTUAL: 
Both the title and description shows a 2 pt. font size in the font size dropdown, when clicking on them. But there is a visible difference between the size of the title and the size of description. 
The description reaches the smallest accepted font size, which is 2 in the dropdown, when the page height is 1.1 cm.
The title reaches this value when the page height is 1 cm.

CRITICAL CONDITION: Do not change the font size no matter the page height you set: e.g. If you open a new presentation, and change the page height to 300 cm, in order to reproduce this issue, do not change the font size when typing text into the fields. 

TRIGGER: The ratio between the title and description starts decreasing from the font sizes 14 for the title and 10 for the description, which are common font sizes. So this might cause bigger issues when using other variables related to font sizes. For higher font sizes, the ratio between the default title and the default description is around 1.375, but for Page heights under 10 cm, the ratio decreases until the font size become the same but the difference on the page is visible.

SEVERITY: This is a trivial issue because it’s easy to recover from this error: the user might set other font sizes or increase the page height. 

Attached you will find the document with the actual behavior. Please zoom in to see the text.

NOTES:
I noticed that this is happening:
* for any page heights, It’s not necessary to start with the default page height which is 21 cm.

And this is not happening if:
* The user changes the font size. Even if he changes to a different font size and then change it back immediately to 44 (title) or 32 (description), this issue will not reproduce.
* The user changes the Page Width to 1 cm. The font sizes are kept to initial values.
Comment 1 Marcus 2017-10-21 18:08:57 UTC
*** Issue 127565 has been marked as a duplicate of this issue. ***
Comment 2 Marcus 2017-10-21 18:09:01 UTC
*** Issue 127566 has been marked as a duplicate of this issue. ***
Comment 3 dhelrod 2017-10-22 00:09:38 UTC
It is hard to imaging how 127566 is a duplicate of 127564.
Maybe it is because they are both font related?

I hope whoever fixes this tries out all of the duplicates to see if the fix covers them also.