Status: New Owner: ---- Labels: Type-Defect Priority-Medium Component-MooseCore
New issue 816 by anquetil...@gmail.com: MooseMetaBrowser's Map re-display after selection of a node http://code.google.com/p/moose-technology/issues/detail?id=816
In the Moose MetaBrowser, when selecting a node in the Map, this map is redisplayed at a new location which can even hide the selected node.
How to reproduce the problem: - open MetaBrowser - the map (drawing) must be larger than the Map panel - scroll to the right of the map - select a node (at the right) - the map is redisplayed scrolled back to its initial position (full left)
Same thing happens vertically (scroll down, select a node down, map is redisplayed from top)
Updates: Cc: alexandr...@gmail.com Labels: Milestone-4.7
Comment #1 on issue 816 by tudor.gi...@gmail.com: MooseMetaBrowser's Map re-display after selection of a node http://code.google.com/p/moose-technology/issues/detail?id=816
Tough one. In Mondrian, this is not possible to solve. Perhaps by moving to Roassal we would have a better chance.
Alex, do you want to give a try to work on this one (hint: it's a cool case study :))?
Comment #2 on issue 816 by alexandr...@gmail.com: MooseMetaBrowser's Map re-display after selection of a node http://code.google.com/p/moose-technology/issues/detail?id=816
This problem cannot occur in Roassal. Roassal has been designed to not depend on the underlying gui framework .
Comment #3 on issue 816 by alexandr...@gmail.com: MooseMetaBrowser's Map re-display after selection of a node http://code.google.com/p/moose-technology/issues/detail?id=816
Doru, simply changing "mondrian" for "roassal" in #metamodelMapIn: is apparently a good start. However, when I click on a node in the view, the tree widget do not get updated. It is as if the event are not listened. Any idea?
Comment #4 on issue 816 by tudor.gi...@gmail.com: MooseMetaBrowser's Map re-display after selection of a node http://code.google.com/p/moose-technology/issues/detail?id=816
The current implementation is based on drawing the visualization from scratch for every selection. The scrolling is thus, reset after every redraw.
However, with Roassal we should be able to update the visualization. That is why I said it can be a nice case study for Roassal.
Comment #5 on issue 816 by alexandr...@gmail.com: MooseMetaBrowser's Map re-display after selection of a node http://code.google.com/p/moose-technology/issues/detail?id=816
I see. But redrawing the whole visualization is not a problem in this particular case. The tree is really small. If I would have hundred thousands of nodes then yes, something smarter will have to be done for the selection and the scrolling. But currently this situation has not shown up.
I understood that the pb of Nicolas is to reset the visible frame on the most left when I select something on the most right. This problem does not occur in Roassal.
I was thinking about using a roassal visu instead of a mondrian one. But the events are still broken. Any idea how to fix this?
Comment #6 on issue 816 by tudor.gi...@gmail.com: MooseMetaBrowser's Map re-display after selection of a node http://code.google.com/p/moose-technology/issues/detail?id=816
I do not understand what you mean by events. I just updated the browser to use Roassal instead of Mondrian, and it works. I just had to: - replace curvedLine with line because there is no curved line at the moment. - fixed line width
The next step is to not redraw, but just to animate the existing visualization. That is needed because if you redraw the Roassal visualization from scratch, the scrollbar will be reset, too.
Updates: Labels: -Milestone-4.7
Comment #7 on issue 816 by tu...@tudorgirba.com: MooseMetaBrowser's Map re-display after selection of a node http://code.google.com/p/moose-technology/issues/detail?id=816
Not for 4.7
Updates: Blockedon: moose-technology:870
Comment #8 on issue 816 by tu...@tudorgirba.com: MooseMetaBrowser's Map re-display after selection of a node http://code.google.com/p/moose-technology/issues/detail?id=816
This issue waits for the ROFocusView to work properly within a Glamour context
Comment #9 on issue 816 by alexandr...@gmail.com: MooseMetaBrowser's Map re-display after selection of a node http://code.google.com/p/moose-technology/issues/detail?id=816
Maybe my answer to http://code.google.com/p/moose-technology/issues/detail?id=870 helps
Updates: Status: WontFix
Comment #10 on issue 816 by tu...@tudorgirba.com: MooseMetaBrowser's Map re-display after selection of a node https://code.google.com/p/moose-technology/issues/detail?id=816
(No comment was entered for this change.)