Status: New Owner: ---- Labels: Type-Defect Priority-Medium Component-Glamour Milestone-4.7
New issue 793 by tudor.gi...@gmail.com: 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
Updates: Cc: esteba...@gmail.com
Comment #1 on issue 793 by tudor.gi...@gmail.com: 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?
Updates: Status: Fixed
Comment #2 on issue 793 by tudor.gi...@gmail.com: 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.