Apache OpenOffice (AOO) Bugzilla – Issue 96413
Aqua: Drag&Drop inconsistent with other platforms
Last modified: 2009-02-01 13:50:16 UTC
Drag&Drop operations in OOo3.0's Aqua port are not consistent with other platforms. To reproduce in Impress: - create an new empty document - insert a draw shape (e.g. a rectangle) - click on that shape and hold the mouse-button for a while - drag that rectangle to another position in the same window => the object gets copied instead of moved Draw: - create an new empty document - insert a draw shape (e.g. a rectangle) - click on that shape and hold the mouse-button for a while - drag that rectangle to another position in the same window => dragging fails (i.e. the "forbidden" cursor is shown)
Created attachment 58183 [details] suggested patch
The cause of the problem seems to be that in the method DropTarget::determineDropAction() the logic for the if(dropActions==default) case in doesn't get triggered in the cases mentioned. The patch just extends that if-condition so that unmodified drag requests get treated as default drag operations. @tra: please review
Fixed in CWS ooo301gsl2. Though this might not be the cleanest solution it improves the DnD behaviour of OOoAqua considerably.
@wg: please verify in CWS ooo301gsl2
Verified in CWS.
*** Issue 95268 has been marked as a duplicate of this issue. ***
*** Issue 95084 has been marked as a duplicate of this issue. ***
Tested in m38, closed.
*** Issue 96187 has been marked as a duplicate of this issue. ***
*** Issue 98692 has been marked as a duplicate of this issue. ***