<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 13, 2014 at 2:26 AM, Bert Freudenberg <span dir="ltr">&lt;<a href="mailto:bert@freudenbergs.de" target="_blank">bert@freudenbergs.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 13.02.2014, at 03:24, tim Rowledge &lt;<a href="mailto:tim@rowledge.org">tim@rowledge.org</a>&gt; wrote:<br>
<br>
&gt;<br>
&gt; On 12-02-2014, at 8:18 AM, Chris Muller &lt;<a href="mailto:asqueaker@gmail.com">asqueaker@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; Keep track of your morphs.<br>
&gt;&gt;<br>
&gt;&gt; In Maui, you can have multiple views of the same identical object on<br>
&gt;&gt; the screen at once. &nbsp;Whenever you hover any one of them, all views of<br>
&gt;&gt; that same object on the screen are highlighted. &nbsp;When the mouse stops<br>
&gt;&gt; hovering over it, all views are unhighlighted.<br>
&gt;<br>
&gt; That&rsquo;s handling the converse (obverse?) of my problem; you get an event to one of your morphs and need to do something with all of them. In effect I get an event to not-one-of-my-morphs, need to find that out and do something. My current hack-around catches the event at a very early stage when no-one is quite sure who gets the event, but I rather suspect that it can&rsquo;t work if the morph I *do* know about is embedded in another morph in the wrong place. Right now my morph is in the World, so it does get asked to reject. Not very satisfactory really.<br>

&gt;<br>
&gt; I would think that quite a few cases could be handled cleanly if the focus got removed &lsquo;properly&rsquo;. Menus are one, but surely Halos would be more neatly handled that way too? And help balloons - both are specially tracked in PasteUpMorph/HandMorph et al. What about windows - when you swap to another window shouldn&rsquo;t the old one get a defocus event to allow it to do whatever? Come to that, how *do* windows know to change the display of their windowframe buttons? (Oh, nasty - they track the specific top window)<br>

&gt;<br>
&gt; I suspect that from the similarity of the code between the keyboard focus and mouse focus that that original intent was to make them behave very similarly. It&rsquo;s certainly possible that, like so many things, it wasn&rsquo;t needed urgently and got left behind. I&rsquo;m not even sure that the mouse focus is consistently set at the moment, so trying to deal with changing it is a bit un-nerving.<br>

<br>
What is mouse focus anyway? This only applies to some modal thingy, no?<br></blockquote><div><br></div><div>Ugh. &nbsp;I *hate* the lack of mouse focus. &nbsp;I don&#39;t &nbsp;know how many times in filling in the commit dialog my typing stream has been redirected to the package version, or to the void of the desktop. &nbsp;This lack of focus for text input is so broken.</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I would think of mouse focus as the morph that handled the last mouse-down event: all mouse events should be routed to that morph until all mouse buttons are released. Something more permanent than this fleeting mode seems odd to me to call &quot;mouse focus&quot;.<br>

<br>
Having a &quot;unified&quot; framework for handling halos/menus/balloons etc sounds good, but it&#39;s not there, yet.<br>
<span class="HOEnZb"><font color="#888888"><br>
- Bert -<br>
<br>
<br>
</font></span><br><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div>
</div></div>