Portals Disappearing on WebDirect When Resizing Browser Window
FileMaker Server 220.127.116.115
Operating system version
Windows Server 2008 R2 Standard, Mac OSX 10.8.5
Description of the issue
Portals seem to disappear upon resizing my browser window when all of the following conditions are true: the portal shows no records, the portal has an object hiding calculation specified, and at least one object on the layout is anchored to the right or bottom of the layout (so as to stretch the layout to fit the browser window) using the autosizing feature in the Position tab on the inspector.
Checking the "Allow creation of records" option on the relationship to the table the portal is based on prevents this issue from occurring. The object hiding calculation I was using on the portal(s) was just checking if the value of a global field does not equal "Yes". Changing this to a stored field instead of a global made no difference.
Running the Refresh Window script step via a button on the layout causes the portal to reappear. However, assigning a refresh window script to the OnLayoutSizeChange script trigger did not cause the portal to reappear. Navigating to different records or to a different layout and then back to the layout in question also cause the portal to reappear.
I tested on Chrome Version 35.0.1916.153 and Safari Version 6.1.4 and saw the issue on both. Tested on both a Windows server and Mac server and it happened with both of them. Also reproduced this with multiple FileMaker files, including a new one from scratch.
Steps to reproduce the problem
Create a database with 2 tables and a relationship between them. Add a portal to one of the table's layouts. Add an object hiding calculation to the portal object. Add any other kind of object to the layout and select the right and bottom autosizing anchors. Open in WebDirect and resize your browser window when viewing a record with no records in the portal.
Layout redraws with portals still appearing.
All portals meeting the above mentioned criteria disappear.
My workaround right now is to put all portals and other objects that should be hidden on a 1 panel slide control and apply the hiding calculation to the slide control itself instead of the other objects.