Apache OpenOffice (AOO) Bugzilla – Issue 92094
Insertion of cells in a spreadsheet via drag & drop doesn't work on Mac
Last modified: 2017-05-20 10:33:47 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.
cc pl
+me on CC
set target OOo 3.1
set target OOo 3.2
TBE->PL: Please take over.
target
and barely two years later I found a simple way to make GetPointerState work during D&D, too. fixed in CWS vcl111
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.
please verify in CWS vcl111
verified in internal build cws_vcl111