Bug 129096 - The paste command doesn't paste at the cursor
Summary: The paste command doesn't paste at the cursor
Status: RESOLVED FIXED
Alias: None
Product: karbon
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Tim Beaulen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-13 16:22 UTC by greatbunzinni
Modified: 2011-03-22 19:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description greatbunzinni 2006-06-13 16:22:40 UTC
Version:           1.5 (using KDE KDE 3.5.2)

When a certain drawing element is pasted, the new copy is presented right next to the copied element and independent of the mouse cursor's position.

It would be great if the paste command pasted the new copy at the mouse cursor's position instead of a fixed position relative to the original drawing element.
Comment 1 Jan Hambrecht 2011-03-22 19:57:08 UTC
Git commit 26f7ac0c2204af1d9f2da4b4d879efe132400a85 by Jan Hambrecht.
Committed on 19/03/2011 at 21:09.
Pushed by jaham into branch 'master'.

added support for pasting shape at mouse cursor position

there are now two alternative ways of positioning the shapes when
pasting them to the document. the first (old) way is to use a user
defined paste offset wich gets applied to the shapes position before
adding them to the document. the second (new) way is to determine the
position of the mouse cursor on the active canvas and paste the shapes
so that the center of the pasted shapes bounding box is at the mouse
position.

BUG:129096

M  +63   -15   libs/flake/KoShapePaste.cpp     
M  +20   -4    libs/main/config/KoConfigMiscPage.cpp     

http://commits.kde.org/calligra/26f7ac0c2204af1d9f2da4b4d879efe132400a85