Community
Participate
Working Groups
To reproduce: 1. Copy a shape. 2. Paste the shape. RESULT: The new shape appears right on top of the old shape. It's not obvious that the paste worked. The new shape should be offset a bit. It used to work like this.
Changing component to "Runtime Diagram"
Pushing the priority up since this can be very confusing. It's difficult to know that the paste even occurred causing the user to do multiple pastes... Additional note: if the original shapes aren't in the viewport, then it should paste to the center of the viewport.
Created attachment 30138 [details] patch Attached is the fix. Two files.
Purpose: Bugzilla#110848 Paste puts new shapes right on top of old shapes - Regression caused be refactoring changes. Simple fix to org.eclipse.gmf.runtime.diagram.ui.internal.commands.PasteCommand. I also now reveal the editpart in DiagramGlobalActionHandler. Activities: Bugzilla#110848 gmf_head cmahoney 051117 Paste puts new shapes right on top of old shapes Code Reviewed by: Steve How tested: Verified paste put new view slightly offset from copied view as it previously did and pasted shape gets revealed. JUnit Tests: diagram.ui -- 71/71
[GMF Restructure] Bug 319140 : product GMF and component Runtime Diagram was the original product and component for this bug