You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2015/03/22 14:55:32 UTC

[Issue 126198] New: Dialog sizes differs on different operating systems

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

          Issue ID: 126198
        Issue Type: DEFECT
           Summary: Dialog sizes differs on different operating systems
           Product: App Dev
           Version: 4.1.1
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: P5
         Component: scripting
          Assignee: issues@openoffice.apache.org
          Reporter: mroe.nospam@gmx.net

Created attachment 84611
  --> https://bz.apache.org/ooo/attachment.cgi?id=84611&action=edit
Document with a dialog and screenshots to show the problem

Look at the attached document and press the [Dialog] button.
The size of the dialog depends on the used operating system. (My testing says
that it occurs independent from the resolution.)

Inside the document you find also two screenshots of the document with the
dialog.
Because of that the fonts are rendered with the same size (size is always
identical with the font size inside the text document text frame), it seems for
me that there is a forgotten scaling factor for the dialog and its controls.

AOO documents should work in the same way on all operating systems.

(Btw: There should be a bugzilla keyword for OS interoperability.)

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

[Issue 126198] Dialog sizes differs on different operating systems

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126198

--- Comment #5 from mroe <mr...@gmx.net> ---
(In reply to bmarcelly from comment #4)

Thank you for your comment, but it points not to the problem and it isn't
helpful.

> Certainly not a regression, not a bug: Map AppFont is used since
> OpenOffice.org version 1.1, probably introduced by version 1.0.

Maybe not a regression but a bug, see comment 1:

>> To ensure platform independence for the appearance of dialogs,
>> OpenOffice.org uses the Map AppFont (ma) internal unit
>> to specify the position and size within dialogs.
[...]
>> By using ma units,
>> OpenOffice.org ensures that a dialog looks the same on different systems
>> under different system settings.

The font size is calculated correctly on every system (no matter which font),
but the dialog (and its controls) are calculated different on different
systems.

100% dialog size/100% document size should be the same relation on every
system!


> Use fonts that are available like DejaVu (provided by OpenOffice
> installation), or give alternative fonts in the controls; avoid too small
> dimensions of controls or dialog.

The font is not(!) the problem!

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

[Issue 126198] Dialog sizes differs on different operating systems

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126198

--- Comment #2 from mroe <mr...@gmx.net> ---
> The Map AppFont (ma) replaces the Twips unit to achieve better platform independence.

When was the replacement? => regression?

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

[Issue 126198] Dialog sizes differs on different operating systems

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126198

mroe <mr...@gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #3 from mroe <mr...@gmx.net> ---
> By using ma units, OpenOffice.org ensures that a dialog looks the same on different systems under different system settings.

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

[Issue 126198] Dialog sizes differs on different operating systems

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126198

brinzing <ol...@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oliver.brinzing@gmx.de

--- Comment #1 from brinzing <ol...@gmx.de> ---
https://wiki.openoffice.org/wiki/Documentation/BASIC_Guide/Properties:

> To ensure platform independence for the appearance of dialogs, OpenOffice.org uses
> the Map AppFont (ma) internal unit to specify the position and size within dialogs.
> An ma unit is defined as being one eighth of the average height of a character from
> the system font defined in the operating system and one quarter of its width.
> By using ma units, OpenOffice.org ensures that a dialog looks the same on different
> systems under different system settings.
> If you want to change the size or position of control elements for runtime,
> determine the total size of the dialog and adjust the values for the control
> elements to the corresponding part ratios.
> The Map AppFont (ma) replaces the Twips unit to achieve better platform independence.

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

[Issue 126198] Dialog sizes differs on different operating systems

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126198

bmarcelly <ma...@club-internet.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marcelly@club-internet.fr

--- Comment #4 from bmarcelly <ma...@club-internet.fr> ---
Certainly not a regression, not a bug: Map AppFont is used since OpenOffice.org
version 1.1, probably introduced by version 1.0.

In your document the snapshot under Windows shows that it does not use font
Times New Roman. On my Windows 7 system the dialog show Times New Roman,
similar but not identical to your snapshot for Linux.
If a font is not available in a system, OpenOffice substitutes another font,
considered as similar.

The creator of a dialog must remember that the display may slightly change from
system to system, from a version to another (Win XP -> Win 7 -> Win 8), and
even within an Operating System version (in Windows : the display themes).
Use fonts that are available like DejaVu (provided by OpenOffice installation),
or give alternative fonts in the controls; avoid too small dimensions of
controls or dialog.

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