Bug in GLMTreeMorphNodeModel?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug in GLMTreeMorphNodeModel?

Jan Kurš
Hi, From time to time I see a bug in GLMTreeMorphNodeModel>>pathIn:

It happens like this:
1) PPSmalltalkGrammar new inspect.
2) Click to the tree view and do some clicking here and there, expanding and collapsing nodes.
3) After some time, pharo freezes in a enldess recursion call. You can see it in the attached screenshot.

This behaviour is there for quite a time (at least half a year, as far as I remeber).

Cheers,
Jan

PS: Where shall I report bugs like this? GoogleCode or FogBugz?


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

GLMTreeMorphNodeModel.png (304K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Bug in GLMTreeMorphNodeModel?

Andrei Chis
Hi Jan,

This is because of a recursion bug in the tree presentation.

To address it when you create the tree presentation showing the productions add:

shouldValidate: false;
allowsRecursiveSearch: false;

You should add this to all tree presentation that might display a recursive structure.

Cheers,
Andrei


On Mon, May 4, 2015 at 9:30 AM, Jan Kurš <[hidden email]> wrote:
Hi, From time to time I see a bug in GLMTreeMorphNodeModel>>pathIn:

It happens like this:
1) PPSmalltalkGrammar new inspect.
2) Click to the tree view and do some clicking here and there, expanding and collapsing nodes.
3) After some time, pharo freezes in a enldess recursion call. You can see it in the attached screenshot.

This behaviour is there for quite a time (at least half a year, as far as I remeber).

Cheers,
Jan

PS: Where shall I report bugs like this? GoogleCode or FogBugz?


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev