Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 198410

Summary: [dnd] Strange dialog quickly appears when dropping on invalid target
Product: [Eclipse Project] JDT Reporter: Dani Megert <daniel_megert>
Component: UIAssignee: Benno Baumgartner <benno.baumgartner>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: benno.baumgartner
Version: 3.3   
Target Milestone: 3.4 M1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
fix none

Description Dani Megert CLA 2007-07-31 11:08:39 EDT
I20070731-0800.

1. select a top-level type in the Package Explorer and open it in the editor
2. select the type in Package Explorer again
3. drag it onto the Outline view
==> feedback says dropping forbidden
4. drop it anyway
==> you quickly see a dialog which should not happen
Comment 1 Benno Baumgartner CLA 2007-07-31 12:01:04 EDT
For some reason the FileTransferDragAdapter refreshes the dragged resources on drag finish and shows a ProgressMonitorDialog while doing so. This code is in there since day one (which is 02.05.2001)...
Comment 2 Benno Baumgartner CLA 2007-07-31 12:03:13 EDT
However, it does not happen in 3.3. Have to investigate.
Comment 3 Benno Baumgartner CLA 2007-08-02 07:46:46 EDT
Created attachment 75210 [details]
fix
Comment 4 Benno Baumgartner CLA 2007-08-02 07:47:19 EDT
fixed > I20070731-0800