collections becomes visible after 5 - 10 seconds. Message until it appears.
Hi,
I have a plug-in that creates serveral collections and adds photos to a 1000 - 2000 photos to these.
Also in the loop the message is shown of the progress. After the loop has finished the processing is also finished.
This all works fine.
The code is something like:
After the loop has finished and the created collectiona are populated the collections becomes visible after 5 to 10 seconds. There is a delay. On slower systems this can be longer.
The problem is that the user sees and thinks that nothing happens and tries again.
What I want is to show a message which automatically disappears when the collections gets visible. No pushing buttons, only the message that he should we for the collection to become visible.
Other solutions are also welcome.
A little example would help alot.
| xxxxCollection = catalog:createCollection( ... ) |
| for i, photo in ipairs(cat_photos) do |
| message = 'processed: ' .. i | ||||
| progressScope:setCaption(message) | ||||
| .. processing |
| -- adding photo to collection. | |||||
| xxxxCollection:addPhotos{ photo } | |||||
| progressScope:setPortionComplete( i, nCountSelected ) | |||||
| end | |||||
| progressScope:done() | |||||
| end) | |||||
| end) | |||||
| end |