Hi Johan,
Your problem is now solved.
I am still having the same problem in AspectMaps: If I
change the contents of a node with forNode:do: the interaction specified for the new
contents does not work. Below is a test case to run in the easel. Click once on a
rectangle, should open it to show 3 diamonds. (first error: shows 2)
The fact that you have just 2 diamonds is normal. You wrote {3.4.5} in your script, which
is understood as {3.4 . 5} by the Pharo compiler. The first element is 3.4, and the second
is 5.
Click on a diamond, should open it to show 4
triangles. (second error: nothing happens).
Indeed. The reason is that the bitmap cache and the list of elements to lookup when you
click on the screen were not reseted by forNode:do:. The tests I've written for
forNode:do: did not check for this.
Note that you are the only customer of forNode:do:, so you may encounter some bugs that
nobody (even my tests) detected.
I will be highly responsive for the next two/three weeks (half-holidays at my parents). It
is a good moment for you to emit bug report. Afterward, the semester will begin and I may
slow down the pace of programming sessions (hopefully not :)
Regards,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.