Bug report:

Bug report:

In firsts alphas, you fixed a bug related to the events of a script taking a different containerwhen scrolling…well, it was fixed.

But time to time I had this bug, in latest stable version. Now I think I can provide steps:

In a desktop, different from the main one, set the position change to a script that takes an item LL.getCurrentDesktop().getItemById(#) and a property, for example the PositionY()

Add a folder, don’t open it.

Move a little the desktop (the script will act)

Open the folder.

Press back as crazy (action set to ‘go back’) the folder will close and almost immediately the desktop will change to the main one and ERROR: cannot call method getpositiony of null.

]]>
« (Previous Post)

2 Commentsto Bug report:

  1. Anonymous says:

    < ![CDATA[

    I would say this is a normal behavior: LL.getCurrentDesktop is not bound to the event, but behaves according to the context. Hence, when the script is executed several times (due to an animation) the current desktop  may change, leading to the error because of the item not found. Is my understanding correct ?

    ]]>

  2. Anonymous says:

    < ![CDATA[

    True, I didn’t thought about it. I’ll need to have this in mind. Thanks.

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *