Status: New Owner: ---- Labels: Type-Defect Priority-Medium Component-Roassal
New issue 1019 by usman.bh...@gmail.com: Roassal shows an error (red rectangle) when image reopned http://code.google.com/p/moose-technology/issues/detail?id=1019
Roassal gives an error (the red rectangle) problem when an image is saved and reopened.
Steps to reproduce: Do: ROMondrianExample new lines (or open any other Roassal visualization) save image quit image reopen image You should see a red rectangle in the Roassal window instead of the drawing.
Comment #1 on issue 1019 by alexandr...@gmail.com: Roassal shows an error (red rectangle) when image reopned http://code.google.com/p/moose-technology/issues/detail?id=1019
You are using Athens right? There is something to do with Session. When I will be in Lille I will see this with Igor.
Comment #2 on issue 1019 by step...@stack.nl: Roassal shows an error (red rectangle) when image reopned http://code.google.com/p/moose-technology/issues/detail?id=1019
That is indeed a well-known issue Igor commented on in the pharo dev mailing list. The connection to the Athens canvas is broken when closing, and can't reconnect.
Comment #3 on issue 1019 by tu...@tudorgirba.com: Roassal shows an error (red rectangle) when image reopned http://code.google.com/p/moose-technology/issues/detail?id=1019
Indeed, this is an annoying issue.
I did not to see the discussion on pharo dev. What is the outcome?
Comment #4 on issue 1019 by usman.bh...@gmail.com: Roassal shows an error (red rectangle) when image reopned http://code.google.com/p/moose-technology/issues/detail?id=1019
@Alex, yes I am using Athens that is the default surface for rendering with Roassal now in Moose. In that case, would not it be good to revert default canvas to Morphic until the bug is fixed? Because it should impact GraphET as well.
Comment #5 on issue 1019 by alexandr...@gmail.com: Roassal shows an error (red rectangle) when image reopned http://code.google.com/p/moose-technology/issues/detail?id=1019
Reverting to the Morphic platform would not be the best. Can you seat down with Igor? Maybe this is just a couple of lines of code to add. I know that a session has to be created. I am unfortunately very very busy until the next two weeks
Comment #6 on issue 1019 by usman.bh...@gmail.com: Roassal shows an error (red rectangle) when image reopned http://code.google.com/p/moose-technology/issues/detail?id=1019
Ok, I'll try to have a look at that with Igor.
Comment #7 on issue 1019 by usman.bh...@gmail.com: Roassal shows an error (red rectangle) when image reopned http://code.google.com/p/moose-technology/issues/detail?id=1019
Alex, can you try the patch attached here. It should normally solve the problem. I added session management in ROAthensMorph as discussed on Pharo list. I tested on Moose 5.0.
Attachments: RoassalAthens-usmanbhatti.15.mcz 7.9 KB
Comment #8 on issue 1019 by usman.bh...@gmail.com: Roassal shows an error (red rectangle) when image reopned http://code.google.com/p/moose-technology/issues/detail?id=1019
small correction because removing unnecessary code for surface initialization.
Attachments: RoassalAthens-usmanbhatti.16.mcz 8.0 KB
Comment #9 on issue 1019 by alexandr...@gmail.com: Roassal shows an error (red rectangle) when image reopned http://code.google.com/p/moose-technology/issues/detail?id=1019
Wonderful fix! Thanks Usman! This is now part of Roassal
Updates: Status: Fixed Labels: Milestone-5.0
Comment #10 on issue 1019 by tu...@tudorgirba.com: Roassal shows an error (red rectangle) when image reopned http://code.google.com/p/moose-technology/issues/detail?id=1019
(No comment was entered for this change.)