Hi Alex, all,
The latest mondrian (519) breaks forNode:do: again. Try test code below to get a DNU. Alex could you add some tests for this feature ...
view interaction on: MOMouseDown do: [:ann | view forNode: ann element model do: [ view interaction on: MOMouseDown do: [:ann2| view forNode: ann2 element model do: [ view shape triangle. view nodes: #(6 7 8 9).]]. view shape diamond. view nodes: #(3 4 5).]]. view nodes: #(1 2)
-- Johan Fabry jfabry@dcc.uchile.cl - http://dcc.uchile.cl/~jfabry PLEIAD Lab - Computer Science Department (DCC) - University of Chile
Hi,
I do not get any DNU. I click on inner nodes, and new nodes are normally created. forNode:do: is tested in #testInteraction10AddingSubNodesAndElementToDisplay #testInteraction13NestedInteractions #testInteraction14AddingSubnodeToIncreaseRootSize #testInteraction4AddingSubNodes
Using the example you gave in your email.
What are exactly the actions you perform to get the DNU?
Cheers, Alexandre
On 26 Jul 2010, at 17:58, Johan Fabry wrote:
Hi Alex, all,
The latest mondrian (519) breaks forNode:do: again. Try test code below to get a DNU. Alex could you add some tests for this feature ...
view interaction on: MOMouseDown do: [:ann | view forNode: ann element model do: [ view interaction on: MOMouseDown do: [:ann2| view forNode: ann2 element model do: [ view shape triangle. view nodes: #(6 7 8 9).]]. view shape diamond. view nodes: #(3 4 5).]]. view nodes: #(1 2)
-- Johan Fabry jfabry@dcc.uchile.cl - http://dcc.uchile.cl/~jfabry PLEIAD Lab - Computer Science Department (DCC) - University of Chile
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
In my image I get 2 DNU, in 2different threads, appearing in the following order
MORoot>>updateBounds (called in forNode:do: as 'node owner updateBounds.') causes the DNU when sending 'canvas updateBounds'. MORoot canvas is a Rectangle (0@0 corner: 25@10) when causing the DNU but when I debug MORoot canvas is a MOCanvas (MOCanvas<0@0 corner: 25@10>).
MORoot>>addSelection: aFigure causes DNU in 'selections add: aFigure' because selections is nil. Still nil when I debug it.
On 26 Jul 2010, at 12:21, Alexandre Bergel wrote:
Hi,
I do not get any DNU. I click on inner nodes, and new nodes are normally created. forNode:do: is tested in #testInteraction10AddingSubNodesAndElementToDisplay #testInteraction13NestedInteractions #testInteraction14AddingSubnodeToIncreaseRootSize #testInteraction4AddingSubNodes
Using the example you gave in your email.
What are exactly the actions you perform to get the DNU?
Cheers, Alexandre
On 26 Jul 2010, at 17:58, Johan Fabry wrote:
Hi Alex, all,
The latest mondrian (519) breaks forNode:do: again. Try test code below to get a DNU. Alex could you add some tests for this feature ...
view interaction on: MOMouseDown do: [:ann | view forNode: ann element model do: [ view interaction on: MOMouseDown do: [:ann2| view forNode: ann2 element model do: [ view shape triangle. view nodes: #(6 7 8 9).]]. view shape diamond. view nodes: #(3 4 5).]]. view nodes: #(1 2)
-- Johan Fabry jfabry@dcc.uchile.cl - http://dcc.uchile.cl/~jfabry PLEIAD Lab - Computer Science Department (DCC) - University of Chile
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- Johan Fabry jfabry@dcc.uchile.cl - http://dcc.uchile.cl/~jfabry PLEIAD Lab - Computer Science Department (DCC) - University of Chile
I confirm that it is something weird that is in my image. On the latest hudson build the test code below works fine. Do we persue this or drop it?
On 27 Jul 2010, at 12:15, Johan Fabry wrote:
In my image I get 2 DNU, in 2different threads, appearing in the following order
MORoot>>updateBounds (called in forNode:do: as 'node owner updateBounds.') causes the DNU when sending 'canvas updateBounds'. MORoot canvas is a Rectangle (0@0 corner: 25@10) when causing the DNU but when I debug MORoot canvas is a MOCanvas (MOCanvas<0@0 corner: 25@10>).
MORoot>>addSelection: aFigure causes DNU in 'selections add: aFigure' because selections is nil. Still nil when I debug it.
On 26 Jul 2010, at 12:21, Alexandre Bergel wrote:
Hi,
I do not get any DNU. I click on inner nodes, and new nodes are normally created. forNode:do: is tested in #testInteraction10AddingSubNodesAndElementToDisplay #testInteraction13NestedInteractions #testInteraction14AddingSubnodeToIncreaseRootSize #testInteraction4AddingSubNodes
Using the example you gave in your email.
What are exactly the actions you perform to get the DNU?
Cheers, Alexandre
-- Johan Fabry jfabry@dcc.uchile.cl - http://dcc.uchile.cl/~jfabry PLEIAD Lab - Computer Science Department (DCC) - University of Chile
Johan, do you have the Pharo.log file ?
Cheers, Alexandre
On 27 Jul 2010, at 18:15, Johan Fabry wrote:
In my image I get 2 DNU, in 2different threads, appearing in the following order
MORoot>>updateBounds (called in forNode:do: as 'node owner updateBounds.') causes the DNU when sending 'canvas updateBounds'. MORoot canvas is a Rectangle (0@0 corner: 25@10) when causing the DNU but when I debug MORoot canvas is a MOCanvas (MOCanvas<0@0 corner: 25@10>).
MORoot>>addSelection: aFigure causes DNU in 'selections add: aFigure' because selections is nil. Still nil when I debug it.
On 26 Jul 2010, at 12:21, Alexandre Bergel wrote:
Hi,
I do not get any DNU. I click on inner nodes, and new nodes are normally created. forNode:do: is tested in #testInteraction10AddingSubNodesAndElementToDisplay #testInteraction13NestedInteractions #testInteraction14AddingSubnodeToIncreaseRootSize #testInteraction4AddingSubNodes
Using the example you gave in your email.
What are exactly the actions you perform to get the DNU?
Cheers, Alexandre
On 26 Jul 2010, at 17:58, Johan Fabry wrote:
Hi Alex, all,
The latest mondrian (519) breaks forNode:do: again. Try test code below to get a DNU. Alex could you add some tests for this feature ...
view interaction on: MOMouseDown do: [:ann | view forNode: ann element model do: [ view interaction on: MOMouseDown do: [:ann2| view forNode: ann2 element model do: [ view shape triangle. view nodes: #(6 7 8 9).]]. view shape diamond. view nodes: #(3 4 5).]]. view nodes: #(1 2)
-- Johan Fabry jfabry@dcc.uchile.cl - http://dcc.uchile.cl/~jfabry PLEIAD Lab - Computer Science Department (DCC) - University of Chile
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- Johan Fabry jfabry@dcc.uchile.cl - http://dcc.uchile.cl/~jfabry PLEIAD Lab - Computer Science Department (DCC) - University of Chile
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev