<div dir="ltr"><div><div><div><div><div>Many actions, you know I was not tracking the bug but rather changing the Compiler, and the bug just broke my flow, so it's difficult to tell exactly.<br></div>But I have instrumented :<br>
<br>ChangeList>>listSelectionAt: index put: value<br> setSelectionListSelector ifNil:[^false].<br> ^model perform: setSelectionListSelector with: index with: value<br><br></div>and the winner is PluggableListMorphOfMany>>mouseMove: maybe due to unvoluntary drag and drop gesture?<br>
</div>Last line<br> self listSelectionAt: index put: dragOnOrOff.<br></div>is happily putting a nil where it should not.<br><br></div>There is a protection few lines above:<br><div><br> dragOnOrOff ifNil: <br> ["Was not set at mouse down, which means the mouse must have gone down in an area where there was no list item"<br>
dragOnOrOff := (self listSelectionAt: index) not].<br><br></div><div>Hey but this is an inst var and it's not immutable !<br>For example, mouseUp: can set it to nil.<br></div><div>Why a mouseUp: could occur before a mouseMove: is fully processed, I can't tell...<br>
</div><div>That gets interesting.<br></div><div>Do I have 2 concurrent UI processes ? The ProcessBrowser does not tell so...<br><br>Those lines just above did not fail:<br><br> "Set or clear new primary selection (listIndex)"<br>
dragOnOrOff <br> ifTrue: [self changeModelSelection: index]<br> ifFalse: [self changeModelSelection: 0].<br><br></div><div>So dragOnOrOff still was a boolean there.<br></div><div>Could dragOnOrOff mutation be triggered by changeModelSelection: send ?<br>
<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/17 Bob Arning <span dir="ltr"><<a href="mailto:arning315@comcast.net" target="_blank">arning315@comcast.net</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<font face="Georgia">What sort of select/deselect/removes had you
done to this ChangeList?<br>
<br>
Cheer,<br>
Bob<br>
<br>
</font><div class="im">
<div>On 9/17/13 4:26 PM, Nicolas Cellier
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Ah, sorry, it was not a debugger, it was a
ChangeList, and curiously, the listSelections effectively
contains a non boolean (nil)<br>
#(false false false true true nil true false false false false
false false false false false false)<br>
</div>
<div class="gmail_extra"><br>
</div>
</blockquote>
<br>
</div></div>
<br><br>
<br></blockquote></div><br></div>