Summary: | problem dragging element in DragEditPartsTracker when grid is visible | ||||||
---|---|---|---|---|---|---|---|
Product: | [Tools] GEF | Reporter: | Thuc <tqnguyen> | ||||
Component: | GEF-Legacy GEF (MVC) | Assignee: | Pratik Shah <ppshah> | ||||
Status: | RESOLVED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | melaasar, min123, nyssen | ||||
Version: | 3.1 | ||||||
Target Milestone: | 3.1.1 | ||||||
Hardware: | PC | ||||||
OS: | Windows 2000 | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Thuc
2005-08-04 18:55:10 EDT
Created attachment 25857 [details]
Patch for DragEditPartsTracker
A simple fix for 3.1.1 is to not get the snapToHelper from the target editpart
if there is nothing to be dragged. Then the code where the NPE occurs won't be
entered for this case.
The more correct fix would be to not enter into drag state if there's nothing
to be dragged. We can do that for 3.2, but it's too risky for 3.1.1. I'll
open another bug for that.
Randy to approve the attached patch.
+1 fixed *** Bug 110944 has been marked as a duplicate of this bug. *** Bug 106411 was opened to consider a better fix for this problem in 3.2. *** Bug 71392 has been marked as a duplicate of this bug. *** Comment on attachment 25857 [details]
Patch for DragEditPartsTracker
Remove iplog+ flag as contributor was committer (who applied the change).
|