[squeak-dev] Deferred UI messages in MVC can be deferred for a really long time
Thiede, Christoph
Christoph.Thiede at student.hpi.uni-potsdam.de
Wed Sep 16 18:47:19 UTC 2020
Hi all!
Quick experiment:
Open an MVC project, open a Workspace in it, and do it:
Project current addDeferredUIMessage: [self inform: #foo]
In Morphic, this produces a dialog message "nearly immediately". But in MVC, apparently, I can sit there for hours and wait for the dialog and it will not pop up before I move my cursor out of the Workspace, giving the world controller (is this the correct naming?) a chance to process the deferred UI messages.
Is this desired behavior? If not, has someone already considered a chain of responsibility pattern for every controller that could allow its parent controller to take some actions (such as deferred UI messages or also handling system events like a VM window close request)? Or would this be contrary to the MVC idea? :-)
Best,
Christoph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200916/f71bac86/attachment.html>
More information about the Squeak-dev
mailing list
|