Why is the createscript of a customview called more than once? Docs don’t say anything unfortunately.

Why is the createscript of a customview called more than once? Docs don’t say anything unfortunately.

Expected behaviour would be one call only?

]]>

2 Commentsto Why is the createscript of a customview called more than once? Docs don’t say anything unfortunately.

  1. Anonymous says:

    < ![CDATA[

    This could happen if the custom view is displayed on more than one desktop at once (floating desktop, lock screen or included in more than one visible folder / panel). More generally it will happen if a single item has multiple representations. It may also happen on boot although this would be unwanted, otherwise I would say this is a bug.

    ]]>

  2. Anonymous says:

    < ![CDATA[

    The custom view isnt placed on more than one desktop.


    It is only on one.


    To be more specific, it is placed in a folder.



    The create event is triggered whenever the folder is being opened, i.e. the resumed event of the custom is also fired several times. It seems, initially, on custom view creation, the event is fired 4 times, after that, it is fired 2 times whenever it is resumed.



    Smells like a bug then?

    ]]>

Leave a Reply

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