Quantcast
Channel: FileMaker Forum > Report an issue
Viewing all articles
Browse latest Browse all 3510

Window focus and context when scripting sequence with multiple windows (2 Comments)

$
0
0

Issue report by Jeroen Aarts

Product

FileMaker Pro

Version

13

Operating system version

Windows 7

Description of the issue

Create a script - or sequence of scripts - that opens more than 1 offscreen window (height = -2000pt for example). If you run the script and click (multiple times) on the background window, focus is shifted and the script is run in an incorrect context. It also appears that windows are mixed up because after closing all windows, the background window has "disappeared". It does not matter if User Abort is On or Off.

Steps to reproduce the problem

Create a script - or sequence of scripts - that open more than 1 offscreen window (height = -2000pt). For example, create a new window, Go To Layout B create a record, create a new offscreen window, Go To Layout C and create a new record. If you run the parent script, if a user clicks (multiple times) on the background window focus is shifted and the script is run in an incorrect context. It also appears that windows are mixed up because after closing all windows, the background window has "disappeared"

Expected result

Each window should maintain its focus properly and the script should keep its expected context in all circumstances

Actual result

Script is executed against wrong context (Layout and TO) and is a real hazard.

Exact text of any error message(s) that appear

Depends on what is executing. May be "Object is not part of a related table" if trying to perform a Set Field script step

Configuration information

-

Workaround

- Do no use offscreen windows. But they are handy to prevent window flickering
- Go To Original Layout before closing additional windows

Viewing all articles
Browse latest Browse all 3510

Trending Articles