Bug 65547 - [consistency]DND inconsistencies
Summary: [consistency]DND inconsistencies
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Veronika Irvine CLA
QA Contact:
URL:
Whiteboard:
Keywords: consistency
Depends on:
Blocks:
 
Reported: 2004-06-03 10:37 EDT by Veronika Irvine CLA
Modified: 2004-11-26 17:05 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Veronika Irvine CLA 2004-06-03 10:37:09 EDT
TextTransfer and RTFTransfer
----------------------------
				
set data to null or "":
win:   NULL
gtk:   NULL
mac:   nothing
motif: nothing

FileTransfer
------------			

set data to null:
win:   NULL
gtk:   NULL
mac:   nothing
motif: nothing

set data to array of nulls:
win:   "null\nnull"
gtk:   NULL
mac:   NPE in DragSource.drag	
motif: null\nnull

set data to array length 0
win:    nothing
gtk:    NULL
mac:    nothing
motif:  nothing

Throw an Exception in DragSource event dragSetData:
win: NULL
gtk: NULL
mac: no DND starts
motif: no drop event

Throw an Exception in DropTarget event dragOperationChanged:
win:   "abc" (temp NONE cursor)
gtk:   nothing
mac:   "abc" (cursor changes to NONE and stays)
motif: nothing (cursor changes to NONE and stays)
Comment 1 Veronika Irvine CLA 2004-11-26 17:05:07 EST
Fixed by adding validate method and supporting the throwing of exceptions.