AnsweredAssumed Answered

Get( LayoutObjectWidth ) Reports Double Width with 1 Retina 1 Regular screen

Question asked by JohnDuncan on Dec 8, 2014
Latest reply on Dec 8, 2014 by TSGal

Summary

Get( LayoutObjectWidth ) Reports Double Width with 1 Retina 1 Regular screen

Product

FileMaker Pro

Version

13.0v4

Operating system version

Mac OS X 10.10.1

Description of the issue

The configuration is a Retina MacBook Pro 2014 with an attached Thunderbolt display (non-retina).  The GetLayoutObjectAttribute( "object" ; "width" ) and GetLayoutObjectAttribute( "object" ; "height" ) return a value that is double the actual height and width of the object when all FileMaker windows are displayed on the non-retina screen.  The new Get( ScreenScaleFactor ) returns 1 when on the non-retina screen and 2 when on the retina screen so it is not possible to use this to apply resolution-based scaling to the result.

Steps to reproduce the problem

Set up a system configured as above with 1 retina and 1 non-retina display.  Set up an object on the layout and put in a tooltip that displays the object height and width.

Expected result

The result should not be multiplied by 2 on the non-retina display

Actual result

The result is multiplied by 2 on the non-retina display

Exact text of any error message(s) that appear

N/A

Workaround

None Found

Outcomes