Sometimes a newly created item disappears again after running a script by positionchanged event immediately after…

Sometimes a newly created item disappears again after running a script by positionchanged event immediately after creating it.

]]>

7 Commentsto Sometimes a newly created item disappears again after running a script by positionchanged event immediately after…

  1. Anonymous says:

    < ![CDATA[

    And sometimes a deleted item reappears in the same scenario, but it then has no icon

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Does it involves setting the container properties somewhere else in the script ?


    More generally, does the script trigger a reload of the container somehow ? It could explain that the item is added but the list of items is not saved as it should before the container is reloaded.


    The “no icon” symptom makes me think that not everything has been saved, now I have troubles to understand why and in which situation exactly. Are you able to reproduce this ?

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Almost everything can be set by this script.


    Container, Item Properties,…


    I can’t determine what exactly is set in this moment…


    Yes, I am able to reproduce it. Thats how I got that video

    ]]>

  4. Anonymous says:

    < ![CDATA[

    I was able to fix these two bugs by calling LL.save() at the beginning of the script. It makes it laggy, but none of these bugs occur anymore…



    Can you tell me before which calls I should call save()?


    I don’t want to call it generally, because it makes it laggy as I said.

    ]]>

  5. Anonymous says:

    < ![CDATA[

    Before any action that will trigger a reload of the container. A reload is done when all items need to be updated. For instance if you change the icon scale at the container level, it will drop all items at once and reload them all. How to reproduce the bug ?

    ]]>

  6. Anonymous says:

    < ![CDATA[

    Pierre Hébert


    I’ve sent you a mail.

    ]]>

  7. Anonymous says:

    < ![CDATA[

    The exact command line causing this was:


     c.getProperties().edit().setString(“scrollingDirection”,whatever).commit();

    ]]>

Leave a Reply

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