In b3 when opening folder in RESUMED event flag “isOpen” of folder is true.

In b3 when opening folder in RESUMED event flag “isOpen” of folder is true. Before it was false on first RESUMED (=opening), true later (when paused/resumed in between). Bug since now one cam no longer distinguish these states.

]]>

4 Commentsto In b3 when opening folder in RESUMED event flag “isOpen” of folder is true.

  1. Anonymous says:

    < ![CDATA[

    Maybe try to store some data on the folder object instead and check it (on first open the data would be undefined). I don’t think that relying on the event order is good, it wasn’t supposed to be inverted, this was not intended and not consistent.

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Pierre Hébert​ The problem is, sometimes it’s necessary to detect wether resumed/paused events fired by open/close operation. For example my Material Folders script is now broken because I added check for isOpen. Without this check the effect is restarted over and over when adding or moving items or returning from app started from folder.



    Best would be dedicated events for open/close, resumed/paused has become UNUSABLE now. Sorry. 

    ]]>

  3. Anonymous says:

    < ![CDATA[

    I can’t find usage of isOpen in V1.9 (downloaded from http://goo.gl/S1Scji). Do you have a newer version ?

    ]]>

  4. Anonymous says:

    < ![CDATA[

    Pierre Hébert Yes, did not have time to post. But posted that in comments. It’s like this:



    if (iFld.isOpen() || evtSrc!=”C_RESUMED”) {


    return;


    }



    To avoid re-execution when folder is already open. Now completely stops execution at all. 

    ]]>

Leave a Reply

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