Issue 793 in moose-technology: TreePresentation does not show the selected item when rendering with Morphic

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

Issue 793 in moose-technology: TreePresentation does not show the selected item when rendering with Morphic

moose-technology
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Component-Glamour Milestone-4.7

New issue 793 by [hidden email]: TreePresentation does not show the  
selected item when rendering with Morphic
http://code.google.com/p/moose-technology/issues/detail?id=793

You can reproduce the problem with the example found in:
GLMBasicExamples>>treeWithInitialSelection
        "
                | browser |
                browser := self new treeWithInitialSelection.
                browser openOn: {
                        #first->{$a->{}. $c->{}. $d->{}}.
                        #second->{$e->{}. $f->{}}.
                        #third->{$h->{}}
                }.
                (browser panes first port: #selection) value: (browser panes first port:  
#entity) value.
        "

        | browser |
        browser := GLMTabulator new.
        browser
                column: #one;
                column: [ :c |
                                        c
                                                row: #two;
                                                row: #three ].
        (browser transmit)
                to: #one;
                andShow: [ :a |
                                        (a tree)
                                                title: 'first tree';
                                                children: [ :x | x value ].
                                        (a tree)
                                                title: 'second tree';
                                                children: [ :x | x value ] ].
        (browser transmit)
                to: #two;
                from: #one;
                andShow: [ :a | a text title: 'Selection preview' ].
        (browser transmit)
                to: #three;
                from: #one port: #selectionPath;
                andShow: [ :a | a text title: 'Selection path preview' ].
        ^ browser

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 793 in moose-technology: TreePresentation does not show the selected item when rendering with Morphic

moose-technology
Updates:
        Cc: [hidden email]

Comment #1 on issue 793 by [hidden email]: TreePresentation does not  
show the selected item when rendering with Morphic
http://code.google.com/p/moose-technology/issues/detail?id=793

This issue is due to the modifications in MorphTreeMorph that appear in  
Pharo 1.4.

@Esteban, could you take a look at this one, because maybe you know more  
given that you handled most of the original port?

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 793 in moose-technology: TreePresentation does not show the selected item when rendering with Morphic

moose-technology
Updates:
        Status: Fixed

Comment #2 on issue 793 by [hidden email]: TreePresentation does not  
show the selected item when rendering with Morphic
http://code.google.com/p/moose-technology/issues/detail?id=793

Alain fixed the issue. The problem was that in Pharo 1.4, updating  
MorphTreeMorph has changed

from:
self changed: #roots.

to:
self changed: #rootNodes.

Thanks, Alain.


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