Issue 96413 - Aqua: Drag&Drop inconsistent with other platforms
Summary: Aqua: Drag&Drop inconsistent with other platforms
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: OOo 3.0
Hardware: Mac Mac OS X, all
: P3 Trivial (vote)
Target Milestone: OOo 3.0.1
Assignee: wolframgarten
QA Contact: issues@porting
URL:
Keywords: aqua
: 95084 95268 96187 98692 (view as issue list)
Depends on:
Blocks: 95084
  Show dependency tree
 
Reported: 2008-11-21 08:05 UTC by hdu@apache.org
Modified: 2009-02-01 13:50 UTC (History)
2 users (show)

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


Attachments
suggested patch (946 bytes, patch)
2008-11-21 10:18 UTC, hdu@apache.org
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description hdu@apache.org 2008-11-21 08:05:29 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)
Comment 1 hdu@apache.org 2008-11-21 10:18:06 UTC
Created attachment 58183 [details]
suggested patch
Comment 2 hdu@apache.org 2008-11-21 10:27:29 UTC
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

Comment 3 hdu@apache.org 2008-11-21 11:08:27 UTC
Fixed in CWS ooo301gsl2. Though this might not be the cleanest solution it improves the DnD behaviour 
of OOoAqua considerably.
Comment 4 hdu@apache.org 2008-11-21 11:25:39 UTC
@wg: please verify in CWS ooo301gsl2
Comment 5 wolframgarten 2008-11-28 11:32:57 UTC
Verified in CWS.
Comment 6 philipp.lohmann 2008-12-12 13:04:29 UTC
*** Issue 95268 has been marked as a duplicate of this issue. ***
Comment 7 hdu@apache.org 2009-01-19 07:45:28 UTC
*** Issue 95084 has been marked as a duplicate of this issue. ***
Comment 8 wolframgarten 2009-01-19 10:19:11 UTC
Tested in m38, closed.
Comment 9 dridgway 2009-01-31 04:18:27 UTC
*** Issue 96187 has been marked as a duplicate of this issue. ***
Comment 10 Regina Henschel 2009-02-01 13:50:16 UTC
*** Issue 98692 has been marked as a duplicate of this issue. ***