This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | During one Drag operation are used diff instances of DragSourceContext. | ||
---|---|---|---|
Product: | platform | Reporter: | Peter Zavadsky <pzavadsky> |
Component: | Window System | Assignee: | Peter Zavadsky <pzavadsky> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P1 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | TASK | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 21610 |
Description
Peter Zavadsky
2002-03-20 17:19:55 UTC
Fortunatelly it was my fault. Fixed on [winsys_dnd_2002Feb] branch. I keep the dragsource context via weak reference (to be able used them in dragEnterHack and dragExitHack methods, since the dragEnter and dragEcit methods work not correclty in MDI, will fire a bug about it). There happens sometimes between the two drag operations wasn't the drag source context instance succesfully garbaged yet, thus the weak ref pointed to the old instance. The fix just removes the weak ref after finish of the DnD. issue doesn't apply to new window system - verified |