7 Replies Latest reply on Jun 1, 2012 2:56 AM by SergeBerney-KinSA

    Script manager lost focus if ExecuteOnTimer script step is launched

    SergeBerney-KinSA

      Summary

      Script manager lost focus if ExecuteOnTimer script step is launched

      Product

      FileMaker Pro

      Version

      12 Pro & 12 Advanced - French version

      Operating system version

      Windows 7 64bits - French version

      Description of the issue

      If a script is executed every X seconds with script step "ExecuteOnTimer", the script manager (scripts list or script editor) loose focus each time the script is executed.

      Sometimes, users report that they are unable to type in a field on a template or got a "beep" when trying to enter in a field...

      Steps to reproduce the problem

      Create 2 scripts :
      1)
        Name : DoSomething
        Script : you can leave it blank

      2)
        Name : StartTimer
        Script : Execute On Timer : "DoSomething" every 2 seconds

      Lauch "StartTimer" and put focus on Script manager (or script name field), every 2 seconds, the focus is lost...

      Expected result

      No lost focus when script on timer is executed (execute in background).

      Actual result

      Every 2 seconds, the focus is lost on the script manager

      Workaround

      Must stop first "ExecuteOnTimer" script to enable editing script...

      scriptontimer_focus_bug.png