History | Log In     View a printable version of the current page.  
Issue Details (XML)

Key: SDK-15488
Type: Bug Bug
Status: Waiting on Info Waiting on Info
Priority: None None
Assignee: Patrick Lemiuex
Reporter: Patrick Lemiuex
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Flex SDK

NativeDragEvent DRAG_DROP doesn't work on a list component in air

Created: 05/07/08 09:13 AM   Updated: 05/16/08 06:01 PM
Component/s: Drag and Drop
Security Level: Public (All JIRA Users )

Severity: Non Functioning
Reproducibility: Every Time
Discoverability: Medium
Found in Version: SDK Flex 3 (Released)
Affected OS(s): All OS Platforms
Steps to Reproduce:
Steps to reproduce:
1. addEventListener(NativeDragEvent.NATIVE_DRAG_DROP,onDrop);
2.
3.
 
 Actual Results:
 nothing happens
 
 Expected Results:
  event would fire
 
 Workaround (if any):
 this.... kludgy as hell, has to sit on the main application to work

 
  public function onDrop(e:NativeDragEvent):void{
var pointUnder:Array = this.getObjectsUnderPoint(new Point(e.localX,e.localY) );

for (var i:int=0;i<pointUnder.length;i++){

if ( pointUnder[i].hasOwnProperty("document") && pointUnder[i]['document'] is CustomRallyRenderer){

Debug.out("RallyPointId = "+pointUnder[i]['document']['rId']);

var rpId:int = pointUnder[i]['document']['rtId'];
var sendFileProxy:SendFileProxy = facade.retrieveProxy(SendFileProxy.NAME) as SendFileProxy;

}
Language Found: English
Bugbase Id: none
QA Owner: Joan Lafferty
Participants: Joan Lafferty and Patrick Lemiuex


 All   Comments      Sort Order:
Joan Lafferty - [05/08/08 07:27 PM ]
Do you have dragDrop=true on your List component? If so, then, the List component will trigger Flex drag events most likely clobbering any NativeDragEvents. Please provide a test file so I can see what is going on. Thanks.