fvpolpeta / devide

Automatically exported from code.google.com/p/devide
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Pasted modules should not overlap existing ones. #100

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build a network
2. Select the modules, press ctrl-C
3. Paste a copy of the modules with ctrl-V
4. Paste another copy with ctrl-V

What is the expected output? What do you see instead?
The second copy appears in the same location as the previously pasted copy. 
A similar issue happens occasionally when a single copy (partially) 
overlaps existing modules. Ideally, DeVIDE should paste new modules in an 
empty part of the canvas.

Options to improve the current situation:
* When pasting, find an empty area on the canvas large enough to hold the 
(bounding box of the) new modules and place the new modules there. The view 
could be moved / zoomed to show the new location if it is off-screen.
* After pasting, the new modules are selected. This makes it easier to move 
the pasted network to a new location manually.

Original issue reported on code.google.com by stef.bus...@gmail.com on 18 Sep 2008 at 2:41

GoogleCodeExporter commented 9 years ago

Original comment by cpbotha on 18 Sep 2008 at 5:00

GoogleCodeExporter commented 9 years ago

Original comment by cpbotha on 4 Dec 2008 at 1:04

GoogleCodeExporter commented 9 years ago

Original comment by cpbotha on 23 Dec 2008 at 5:36

GoogleCodeExporter commented 9 years ago
Fixed in r3308.

Original comment by cpbotha on 29 Jan 2009 at 6:17