I have: ``` a fastTree act: [ :tree :projects | projects add. tree update ] iconName: #add on: $n entitled: 'New Project'; … ```
The tree does not get updated with the new project, but if I close the browser and reopen it is up to date. Ideas?
----- Cheers, Sean -- Sent from: http://forum.world.st/Moose-f1310756.html
Hi,
How is the display:?
Cheers, Doru
On Dec 15, 2017, at 5:46 PM, Sean P. DeNigris sean@clipperadams.com wrote:
I have:
a fastTree act: [ :tree :projects | projects add. tree update ] iconName: #add on: $n entitled: 'New Project'; …
The tree does not get updated with the new project, but if I close the browser and reopen it is up to date. Ideas?
Cheers, Sean -- Sent from: http://forum.world.st/Moose-f1310756.html _______________________________________________ Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
-- www.tudorgirba.com www.feenk.com
"Reasonable is what we are accustomed with."
Tudor Girba-2 wrote
How is the display:?
`display: [ :l | l projects ];` but it doesn't seem to be evaluated after the action.
Experimenting further, if I change to fastList (and comment out #children: obviously), the list gets updated - even if I comment out `list update`, except that the update only shows after moving the scroll bar.
----- Cheers, Sean -- Sent from: http://forum.world.st/Moose-f1310756.html
Sean P. DeNigris wrote
Tudor Girba-2 wrote Experimenting further…
This script adapted from a Glamour example recreates the problem:
browser := GLMTabulator new. browser column: #one. browser act: [:list | list entity add: Number subclasses atRandom. list update ] iconName: #back on: $n entitled: 'Update'. browser transmit to: #one; andShow: [ :a | a fastTree title: 'Fast Tree'; act: [:list | list entity add: Number subclasses atRandom. list update ] iconName: #add on: $n entitled: 'Update'; children: [ :class | (class subclasses first: class subclasses size atRandom) sort: [ :b :c | b asString < c asString ] ]. a fastTree title: 'Fast Expanded'; children: [ :class | class subclasses sort: [ :b :c | b asString < c asString ] ]; allExpanded. ]. browser openOn: (GLMPresentation subclasses asOrderedCollection)
For both the top-level and tree actions: - neither updates the current tab - both update the inactive tab, but only if it has not been clicked on yet
----- Cheers, Sean -- Sent from: http://forum.world.st/Moose-f1310756.html
Sean P. DeNigris wrote
This script adapted from a Glamour example recreates the problem:
Bump. Is there a better place to bring issues? Discord? GH?
----- Cheers, Sean -- Sent from: http://forum.world.st/Moose-f1310756.html
Hi,
This is a bug.
Please open an issue on Fogbugz.
Doru
On Dec 21, 2017, at 3:25 PM, Sean P. DeNigris sean@clipperadams.com wrote:
Sean P. DeNigris wrote
This script adapted from a Glamour example recreates the problem:
Bump. Is there a better place to bring issues? Discord? GH?
Cheers, Sean -- Sent from: http://forum.world.st/Moose-f1310756.html _______________________________________________ Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
-- www.tudorgirba.com www.feenk.com
"Problem solving should be focused on describing the problem in a way that makes the solution obvious."
Tudor Girba-2 wrote
Please open an issue on Fogbugz.
https://github.com/moosetechnology/Moose/issues/1275 "Tree Presentations - Can't Update"
----- Cheers, Sean -- Sent from: http://forum.world.st/Moose-f1310756.html