I need an element to show on screen for a period of time, and then optionally "timeout" and disappear.
I have all of the functionality in place, and It was working great.
Essentially I used @pturmel's Later.py
script module (placed into General.Later
) to make it happen with:
def close_snack():
self.custom.closeTrigger = True
timeout = int(value or 5000)
General.Later.invokeLater(close_snack, timeout)
However for some reason, that is no longer working and triggering the following exception in the logs:
Execution rejected... running in calling thread [perspective-worker-45091] immediately. [org.python.proxies.Later$_runnable$399@56f2181c]
This causes the action to perform immediately, instead of waiting 5 seconds.
I looked at my commit history to see if anything has changed in this script, and nothing has changed... Any ideas?