<div dir="ltr"><div>Hi,</div><div>When the preference is false the scrollpane should not activate or deactivate keyboard fokus.</div><div> </div><div>Best regards,</div><div>Karl</div><div> </div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Jun 25, 2014 at 3:01 AM, Javier Diaz-Reinoso <span dir="ltr">&lt;<a href="mailto:javier_diaz_r@mac.com" target="_blank">javier_diaz_r@mac.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 24/06/2014, at 19:27, Javier Diaz-Reinoso &lt;<a href="mailto:javier_diaz_r@MAC.COM">javier_diaz_r@MAC.COM</a>&gt; wrote:<br>
<br>
&gt; On 24/06/2014, at 01:19, Marcel Taeumel &lt;<a href="mailto:marcel.taeumel@student.hpi.uni-potsdam.de">marcel.taeumel@student.hpi.uni-potsdam.de</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; Well, I think it basically is a good idea to respect that preference<br>
&gt;&gt; &quot;mouseOverForKeyboardFocus&quot;. However, you cannot simply access this<br>
&gt;&gt; preference in ScrollPane&gt;&gt;handlesMouseOver: because scroll panes may handle<br>
&gt;&gt; mouse over in other cases than keyboard focus change. In<br>
&gt;&gt; PluggableListMorph&gt;&gt;mouseUp:, this seems to be more appropriate because here<br>
&gt;&gt; you have the code that can actually set the keyboard focus.<br>
&gt;&gt;<br>
&gt;&gt; Please, adapt your modification and check for the preference in, e.g.,<br>
&gt;&gt; PluggableListMorph&gt;&gt;mouseUp:. #mouseEnter: should grab the keyboard if this<br>
&gt;&gt; preference is true. #mouseUp: could ensure it if that preference is false.<br>
&gt;&gt;<br>
&gt;&gt; Best,<br>
&gt;&gt; Marcel<br>
&gt;<br>
&gt; What about this modification of PluggableTextMorph&gt;&gt;mouseEnter: ?<br>
</div></div>&gt; &lt;PluggableTextMorph-mouseEnter.st.gz&gt;<br>
<br>
Sorry, the condition is reversed:<br>
<br><br>
<br></blockquote></div><br></div>