Detaching items via script seems to be not working for me at all in v14a10, untested on previous versions.

Detaching items via script seems to be not working for me at all in v14a10, untested on previous versions.

Tested with i.getProperties().edit().setBoolean(“i.enabled”,false).commit();

]]>

11 Commentsto Detaching items via script seems to be not working for me at all in v14a10, untested on previous versions.

  1. Anonymous says:

    < ![CDATA[

    I tested it in previous alpha version but regressions are more than likely. I’ll have a look at this.

    ]]>

  2. Anonymous says:

    < ![CDATA[

    You mean: i.onGrid ?

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Pierre Hébert


    Yes, of couse. I mistyped that. Also, this seems to be only a problem if the item was just created. At least it works on random items on my desktop, but not on items of the music widget in the creation script.



    Edit: To clarify: it also works on the created items if I edit them later on. Seems to be a less general problem than I initially thought.

    ]]>

  4. Anonymous says:

    < ![CDATA[

    Unable to reproduce in a simpler scenario. It fails consistently when I try to use the “Add to desktop” from the multitool music widget, but works in any other scenario I tested.

    ]]>

  5. Anonymous says:

    < ![CDATA[

    I’ll track the bug using Multitool then, thanks for the hint.

    ]]>

  6. Anonymous says:

    < ![CDATA[

    Copy/pasting the setup script makes it work. I suspect correlation to other background problems.

    ]]>

  7. Anonymous says:

    < ![CDATA[

    What is the symptom : is the property toggled but the item hasn’t the right geometry, or is it something else ?

    ]]>

  8. Anonymous says:

    < ![CDATA[

    None of the items is detached, and most are widely out of place (probably because of the use of setSize and setPosition later)

    ]]>

  9. Anonymous says:

    < ![CDATA[

    Update: Can reproduce by running the following script via tasker in Desktop mode:



    var i=LL.getCurrentDesktop().addShortcut(“test”,new Intent(),0,0);


    i.getProperties().edit().setBoolean(“i.onGrid”,false).commit();

    ]]>

  10. Anonymous says:

    < ![CDATA[

    Can reproduce on Real Device, Emulator, Real Setup and Clean Setup.

    ]]>

  11. Anonymous says:

    < ![CDATA[

    Thanks !

    ]]>

Leave a Reply

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