Yes something _has_ changed.

https://github.com/livecode/livecode/pull/5456

The issue is really in GLX and can be fixed two ways:

Code your stack to handle all the GLX managed window messages or change the GLX 
ThrowError front script handler to something like this:

private command ThrowError pError
    ## used to throw errors that are not the result of ViewInitialize, 
viewOpen, etc. not being in the message path
    if pError is empty or \
         (item 1 of line 1 of pError is 573 and \
         (the number of lines of pError is 1 or \
         (the number of lines of pError is 2 and \
         item 1 of line 2 of pError is 241))) then
       exit ThrowError
   end if
   throw pError
end ThrowError

There’s probably more robust patches involving checking the handler name in 
item 4 of line 1 of the error string against the handler that was sent and not 
handled but the above should at least get people out of hot water.

Cheers

Monte

> On 27 Jun 2017, at 1:58 pm, james--- via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Hi, just decided to return to a project after a few months and launched it in 
> 8.15rc2.
> It bombed out into the debugger after launching the main stackfile.
> The error is thrown from the glxapp_framework stack.
> "on preopencard" to be exact.
> After playing around it seems this handler throws an error whenever I change 
> cards so it is not to do with a specific card but the window management in 
> the GLX framework.
> I tried this in both Indy and business version.
> Before pulling my hair out as I tried to work out what I had done wrong I 
> thought I would try previous builds of my app. Ones that I know worked before.
> These too gave the same error.
> So I tried previous LC releases.
> The error only occurs in LC8.15rc1 or rc2.
> LC8.14 works fine and the error is not thrown.
> 
> So something seems to have changed between 8.14 and 8.15 which is not liked 
> by the GLX framework.
> 
> Has anyone else had this?
> If so, have you fixed it?
> 
> James
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to