Status: New Owner: ---- Labels: Type-Defect Priority-Medium
New issue 1056 by v.blonde...@gmail.com: Can't export as PNG with Roassal export button http://code.google.com/p/moose-technology/issues/detail?id=1056
Describe the problem: what do you get? what do you expect?
When you add the export button, on a Roassal view and you select PNG export, you get: MessageNotUnderstood: ROAthensImageExporter class>>subclassRespondibility
How to reproduce the problem: step by step if necessary
ROMondrianViewBuilder new exportButton ; open.
Clic on Export and Export as PNG.
Additional information: platform, context which may impact the problem
Moose 5.0 - W7
Please fill in the labels with the following information: * Type-Defect * Component-Roassal
Comment #1 on issue 1056 by v.blonde...@gmail.com: Can't export as PNG with Roassal export button http://code.google.com/p/moose-technology/issues/detail?id=1056
Fixed in the attached file.
There is another issue:
when you export in PNG, the image exported contains only the visible objects in the Roassal window. But the image size is like all the visualisation (with the hidden parts) will be exported.
Attachments: RoassalAthens-VincentBlondeau.20.mcz 8.3 KB
Comment #2 on issue 1056 by v.blonde...@gmail.com: Can't export as PNG with Roassal export button http://code.google.com/p/moose-technology/issues/detail?id=1056
And even when you change the size of the Roassal window, the exported image is always of the same size...
The solution I propose is to export all the elements of the view, hidden or not. See the attached fix.
However the tests ROMorphTest>>testBitmapSize and testImageForm have to be modified to not fail.
Attachments: RoassalMorphic-VincentBlondeau.172.mcz 298 KB
Updates: Labels: Component-Roassal
Comment #3 on issue 1056 by tu...@tudorgirba.com: Can't export as PNG with Roassal export button http://code.google.com/p/moose-technology/issues/detail?id=1056
I integrated these changes now and it works. Thanks.
As you said, the two tests are failing. Can you provide correct versions of these tests?
Comment #4 on issue 1056 by v.blonde...@gmail.com: Can't export as PNG with Roassal export button http://code.google.com/p/moose-technology/issues/detail?id=1056
Yes! The tests are attached
Attachments: RoassalMorphic-VincentBlondeau.173.mcz 298 KB
Updates: Labels: Milestone-5.0
Comment #5 on issue 1056 by tu...@tudorgirba.com: Can't export as PNG with Roassal export button http://code.google.com/p/moose-technology/issues/detail?id=1056
Thanks! I integrated them now.
Updates: Status: Fixed
Comment #6 on issue 1056 by tu...@tudorgirba.com: Can't export as PNG with Roassal export button http://code.google.com/p/moose-technology/issues/detail?id=1056
(No comment was entered for this change.)
Updates: Cc: alexandr...@gmail.com
Comment #7 on issue 1056 by tu...@tudorgirba.com: Can't export as PNG with Roassal export button http://code.google.com/p/moose-technology/issues/detail?id=1056
Issue 995 has been merged into this issue.