Webview fails to load if screen not showing
Description of the issue
I think this is a bug, and am wondering if anyone else has had this problem. I have a php page that loads some data from a Filemaker table, sends an email using php mail, then stores the results back into the table. I have a layout that has a webviewer pointing to that php page. I typically go to the layout, wait until the page loads (which sends the email), then go back. Everything works as expected, except under one situation: if the screen is not active, the page will not load. For example, if the screen saver is on, or if the user is logged into a remote desktop and the remote connection is dropped (even though the user stays logged in on the remote machine.) I have been able to verify this by doing the following. I made a script that goes to the layout, pauses 1 second, then checks the webcontent. If the content is empty, it loops up to 180 times (3 minutes). I then log the results. The script runs perfectly every time if I am viewing the page, but if the screen is not available, the page will will not load and the email is not sent. (It loops 180 times). I know the script works, because it makes the log entries. The moment the screen is alive, the page loads. So, here are the details:Filemaker 9.03 client (also tried Filemaker Advanced)Tried a local file and files served on Filemaker Server Advanced 10Tried Windows XP SP2, Windows 2003 and Windows 2008 Steps to reproduce the problem1. host a simple php page that sends a test email when loaded2. Create a filemaker file, no tables or fields necessary3. setup a blank layout and a layout with a webview pointing to that php page4. setup a script that goes to to the webview layout, pauses 180 seconds (or whatever value you want), returns to a blank layout, then exits the application.5. setup the file options to run the script on open.6. close and save the file on a pc that has remote access capability7. Test the file by opening it. The script should run, the email should be sent, and the application should quit.8. set up a scheduled task to run the file every 5 minutes (or whenever).9. Sit back and watch. It should generate an email every time the script triggers.10. log out of the pc. The script should continue to run, but the emails will no longer be sent.11. Log back in. The emails will continue. If you happen to login while the script is running, the email will be sent immediately.12. Log out again. The emails will stop.13. remote access into that pc.14. Sit back and watch. The emails will continue. If you happen to login while the script is running, the email will be sent immediately.15. While still logged in remotely, close the remote access window. The user will stay logged in and the script will continue to run, but the emails will stop.16. reopen the remote access connection. The emails will continue. If you happen reestablish the connection while the script is running, the email will be sent immediately.17. stop the scheduled script. I would think the page should load whether or not the screen is active. Maybe there is a setting that I am missing? Thanks, Steven Burgstevenburg@comcast.net.