[PD] copy-paste vs. duplicate behavior

Hans-Christoph Steiner hans at eds.org
Sat Jan 31 22:00:15 CET 2009

Yeah, that sounds like a good combo, something like this:

- same window, copy -> paste, shift by 10x10 pixels,
- same window, copy -> mouse-click -> paste, use mouse coords
- copy -> different window -> paste, use current mouse coordinates and  

The shift 10x10 part is trivial to do, just move the 10x10 shift code  
from canvas_duplicate to canvas_dopaste.  That just leaves me with the  
question: is there any harm in having it always shift 10x10 until the  
last option is sorted out?


On Jan 30, 2009, at 7:03 PM, Miller Puckette wrote:

> I think if pasting to the same window this would be reasonable - but  
> I've
> always had in mind, instead, to paste the objects to a new place  
> determined
> by current cursor position, which would be far better.  Just haven't  
> been
> able to think it through and do it.
> M
> On Fri, Jan 30, 2009 at 06:53:22PM -0500, Hans-Christoph Steiner  
> wrote:
>> Hey all,
>> I was thinking that it would be nice if copy-paste had the same
>> response and duplicate, i.e. shifting the position over by 10 pixels
>> in x and y, then pasting.  I can't see a good reason why paste  
>> doesn't
>> do that.  Anyone know of any?  Newbies get very frustrated by the
>> current behavior.  Regular users get used to the Duplicate command,
>> but I don't know of any other programs where you can't just copy- 
>> paste
>> and you need a special function.
>> .hc
>> ----------------------------------------------------------------------------
>> You can't steal a gift. Bird gave the world his music, and if you can
>> hear it, you can have it. - Dizzy Gillespie
>> _______________________________________________
>> Pd-list at iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list

More information about the Pd-list mailing list