Issue 92094 - Insertion of cells in a spreadsheet via drag & drop doesn't work on Mac
Summary: Insertion of cells in a spreadsheet via drag & drop doesn't work on Mac
Status: CLOSED FIXED
Alias: None
Product: Calc
Classification: Application
Component: code (show other issues)
Version: DEV300m26
Hardware: Mac Mac OS X, all
: P3 Trivial with 2 votes (vote)
Target Milestone: ---
Assignee: oc
QA Contact: issues@sc
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-24 15:33 UTC by thomas.benisch
Modified: 2017-05-20 10:33 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description thomas.benisch 2008-07-24 15:33:28 UTC
The insertion of cells in a spreadsheet via drag & drop doesn't
work on the Mac platform. This feature was integrated with
CWS calccolrowmove for OOo 2.4, see also issue #i7180#.

When moving or copying a marked cell range via drag & drop to
a new row or column, by default the target cells are overwritten.
An insert drag & drop mode can be activated by pressing the ALT key
in addition to the SHIFT and CTRL keys before dropping.
In this case the source data are inserted at the new position,
that means the target cells are shifted to the right or down.
In the insert drag & drop mode also a new preview cursor is shown.
Please see the specification for more details:

http://specs.openoffice.org/calc/ease-of-use/Insertion_of_Cells.odt

The following table shows the drag & drop actions and the
corresponding modifier keys for the Windows platform:

action           modifier keys
-----------------------------------
move             no modifier, SHIFT
copy             CTRL
link             SHIFT+CTRL
move-insert      ALT, SHIFT+ALT
copy-insert      CTRL+ALT
link-insert      SHIFT+CTRL+ALT

On the Mac platform especially the move-insert and link-insert
actions are not supported.

The current implementation gets the information if the ALT key
is pressed while dragging from the Window::GetPointerState()
method. According to PL this doesn't work on the Mac platform.
An alternative solution would be to extend the set of available
drag & drop actions in our API.
Comment 1 thomas.benisch 2008-07-24 16:21:31 UTC
cc pl
Comment 2 eric.bachard 2008-07-25 09:07:21 UTC
+me on CC
Comment 3 thomas.benisch 2008-10-09 15:24:39 UTC
set target OOo 3.1
Comment 4 thomas.benisch 2008-12-09 14:48:37 UTC
set target OOo 3.2
Comment 5 thomas.benisch 2009-03-03 10:29:03 UTC
TBE->PL: Please take over.
Comment 6 philipp.lohmann 2009-09-05 11:23:44 UTC
target
Comment 7 philipp.lohmann 2010-03-25 17:58:31 UTC
and barely two years later I found a simple way to make GetPointerState work
during D&D, too.

fixed in CWS vcl111
Comment 8 philipp.lohmann 2010-03-25 18:18:54 UTC
and the fun thing is that this worked already in 3.2 - at least on MacOS 10.6
:-) At least this change brings us a step closer to removing carbon from the
aqua port.
Comment 9 philipp.lohmann 2010-05-20 18:14:46 UTC
please verify in CWS vcl111
Comment 10 oc 2010-06-03 10:35:06 UTC
verified in internal build cws_vcl111