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

          Issue ID: 127564
        Issue Type: DEFECT
           Summary: Font size in Toolbar different from actual values for
                    Title and Description when Page Height is set to very
                    small value
           Product: Impress
           Version: 4.1.4
          Hardware: All
                OS: Windows 10
            Status: UNCONFIRMED
          Severity: Trivial
          Priority: P5 (lowest)
         Component: ui
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 86227
  --> https://bz.apache.org/ooo/attachment.cgi?id=86227&action=edit
Please zoom in and click on the title and on the description and see the font
size displayed in the Toolbar from 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.

-- 
You are receiving this mail because:
You are the assignee for the issue.

Reply via email to