Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 461473

Summary: Zooming problems on basic shapes
Product: [Modeling] Sirius Reporter: Frederic Madiot <frederic.madiot>
Component: DiagramAssignee: Maxime Porhel <maxime.porhel>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: cedric.brun, maxime.porhel, pierre-charles.david
Version: 2.0.0Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Sample project none

Description Frederic Madiot CLA 2015-03-05 04:40:59 EST
When zooming on a basic shape the image is not adapted, even after a restart of the environment. So it seems that it is not a problem with the cache (cf https://bugs.eclipse.org/bugs/show_bug.cgi?id=442268).

It should be a SVG image (cf http://www.obeodesigner.com/component/content/article/71-whatisnew/372-whatisnewinod60#diagram).
Comment 1 Cedric Brun CLA 2015-03-05 04:53:56 EST
Please,
Could you attach your project(s) to this bug so that we can be sure to reproduce the same issue ?
Comment 2 Frederic Madiot CLA 2015-03-11 05:36:33 EDT
Created attachment 251453 [details]
Sample project

To reproduce the problem : select the Zoom viewpoint on a Ecore project and create a Zoom diagram on a EPackage
Comment 3 Maxime Porhel CLA 2015-03-19 05:59:57 EDT
IMO, this bugzilla is a duplicate of Bug 442268. 

Basic shapes are implemented with SVG images. This is visible when the user resize the nodes styled with a basic shapes style. 

But when the zoom is used, GEF simply zoom the resulting image. This resulting image has been computed and cached for the node bounds at 100%. When the the zoom is > 100%, the cached image is reused in Figure.paint(). 

See Bug 442258 for further analysis

*** This bug has been marked as a duplicate of bug 442258 ***