Issue 60734

Summary: In form design - pasting fields should paste at position where cursor is
Product: Base Reporter: kieser <brad>
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: bsuerig, issues
Version: OOo 2.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux, all   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---

Description kieser 2006-01-18 00:47:44 UTC
In form design mode, when copying a field and pasting the copy of the field, the
point at which it is pasted should be at spot on the form that the user clicked on. 

At the moment it pastes on top of the field that is being copied and you have to
drag the copy to where you want it to be.
Comment 1 marc.neumann 2006-01-19 15:02:34 UTC
Hi Bradley,

This is the correct behaviour.
When you copy the object you copy all the properties of the object and also the
position property so it's past to the same place.

May be a 'workaround':
You can set the 'anchor' of the object to different places. In the context menu
of a control you can set different anchors, f.e. as character. If you then copy
the control and click somewhere in you text and paste the object, then the
object paste to the currect position of you cursor, because the object behave as
a character.

Anyway this is a valid RFE( Request for Enhancement) form the user perspective,
so I reassign it to the right user.

have a nice day
Bye Marc

Comment 2 kieser 2006-01-20 13:13:34 UTC
Hi marc,

I tried the anchor as a character but that means you cannot place the copy
anywhere on the screen if your form is only fields and not text and fields. It
restricts you to the left hand margin of the page. I have since upgraded to
2.0.1 so this applies to the latest binary release for Linux.

I understand why this behaviour is happening, because the position is included
as an attribute, but that really is not correct because if you are copying and
pasting, you definitely do NOT want it on top of the control that you already
have! No point. 

This will seriously confuse users who will copy and paste... paste... paste...
then assume that the pasting simply doesn't work. 

At the very least, the new control should be placed in a blank area of the form
or at least slightly offset off its source control so that it's clear that the
new control has been created, is on the form, and which one is the copy and
which is the original.

I can see a lot of confusion with the way that it presently works.