Issue 864 in moose-technology: Updating a browser should preserve the visual selection in morphic

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

Issue 864 in moose-technology: Updating a browser should preserve the visual selection in morphic

moose-technology
Status: New
Owner: ----
CC: [hidden email]
Labels: Type-Defect Priority-Medium Component-Glamour Milestone-4.7

New issue 864 by [hidden email]: Updating a browser should preserve  
the visual selection in morphic
http://code.google.com/p/moose-technology/issues/detail?id=864

The following snippet should work.

browser := GLMFinder new.
browser show: [ :a | a list ].
browser openOn: ($a to: $d).
browser panes first presentations selection: $b.
browser update.

And at the end $b should continue to be selected.

_______________________________________________
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 864 in moose-technology: Updating a browser should preserve the visual selection in morphic

moose-technology

Comment #1 on issue 864 by [hidden email]: Updating a browser should  
preserve the visual selection in morphic
http://code.google.com/p/moose-technology/issues/detail?id=864

Strange that the following test does not fail:

testListWithExplicitSelection
        | browser treeMorph treeNodeMorph |
        browser := GLMFinder new.
        browser show: [ :a | a list ].
        window := browser openOn: ($a to: $d).
        browser panes first presentations selection: $b.
        treeMorph := window submorphs last submorphs first submorphs first  
submorphs first submorphs first.
        self assert: treeMorph model selectionPathItems last = $b.
        browser update.
        treeMorph := window submorphs last submorphs first submorphs first  
submorphs first submorphs first.
        self assert: treeMorph model selectionPathItems last = $b

_______________________________________________
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 864 in moose-technology: Updating a browser should preserve the visual selection in morphic

moose-technology
Updates:
        Status: Fixed
        Cc: -[hidden email]

Comment #2 on issue 864 by [hidden email]: Updating a browser should  
preserve the visual selection in morphic
http://code.google.com/p/moose-technology/issues/detail?id=864

The problem was fixed by introducing = in the node model behind the tree  
morph

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