<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Georgia">Think about where it's used in the image now. I
      search for some text and it's not found. The screen flashes to let
      me know. I can't think of *anything* I want the UI process to be
      doing for the next 100ms while I wait for the photons to hit my
      retina. I'm even thinking a bit longer delay might even be better.
      Here are some experiments:<br>
      <br>
      Make a morph.<br>
      <br>
      m _ Morph new openInWorld.<br>
      <br>
      Then try this, with different proposed #flash implementations. <br>
      <br>
      m flash; delete.<br>
      <br>
      Another experiment. How low can you set the delay and still
      reliably see red? Try this in a completely empty project.<br>
      <br>
      m color: Color red.<br>
      World displayWorldSafely.<br>
      (Delay forMilliseconds: 20) wait.<br>
      m color: Color blue.<br>
      World displayWorldSafely.<br>
      <br>
      I think the senders of #flash want it to be seen and I don't think
      the UI needs to do anything else while the message is being
      received by the user (the U in UI).<br>
      <br>
      Cheers,<br>
      Bob<br>
      <br>
    </font>
    <div class="moz-cite-prefix">On 8/19/13 12:58 PM, tim Rowledge
      wrote:<br>
    </div>
    <blockquote
      cite="mid:D83B6E66-8995-459B-AACB-ADEB9C7D8478@rowledge.org"
      type="cite">
      <pre wrap="">Seems to me there are two rather different usages here
a) an alert within the normal UI, to let you know something odd happened
b) a diagnostic when debugging where you need a 'bigger' alert.

For b) a 100mS simple delay is probably perfectly fine. I've done debugging where it would be really nice for there to be a good way of 'interrupting the delay' to get in to the problem process; an associated visual widget to click on or something.

For a) a delay that holds up everything is not a good idea. Some form of alarm (like the morphicalarm is supposed to be) that keeps the UI moving is going to be least annoying. I think it's likely that there are better feedback concepts than simply flashing the morph. 

tim
--
tim Rowledge; <a class="moz-txt-link-abbreviated" href="mailto:tim@rowledge.org">tim@rowledge.org</a>; <a class="moz-txt-link-freetext" href="http://www.rowledge.org/tim">http://www.rowledge.org/tim</a>
A paperless office has about as likely as a paperless bathroom.




</pre>
    </blockquote>
    <br>
  </body>
</html>