Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 199023 - [dnd] Drag from Type Hierarchy does not show default op on target in some cases
Summary: [dnd] Drag from Type Hierarchy does not show default op on target in some cases
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: 3.4 M1   Edit
Assignee: Benno Baumgartner CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 199054 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-08-07 04:57 EDT by Karsten Becker CLA
Modified: 2007-08-09 04:39 EDT (History)
2 users (show)

See Also:


Attachments
Working Drag (27.27 KB, image/png)
2007-08-07 06:14 EDT, Karsten Becker CLA
no flags Details
Non working Drag (27.11 KB, image/png)
2007-08-07 06:15 EDT, Karsten Becker CLA
no flags Details
fix (8.15 KB, patch)
2007-08-08 05:35 EDT, Benno Baumgartner CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Karsten Becker CLA 2007-08-07 04:57:42 EDT
Create:
Project B:

package p;
public class Test {
}
package p;
public class Test3 {
}

Project A:
package test;
public class Test2 {
}

Open Test3 in Type Hierarchy. Dragging the class to p.Test works, but dragging to test.Test2 not.
Comment 1 Benno Baumgartner CLA 2007-08-07 05:36:47 EDT
I can not reproduce this on XP. I can not drop Test3 on Test2 nor on Test dragging from the Type Hierarchy. I can drop it on Test2 and on Test dragging from the Outline view. Can you try that again please. What happens on vista if you start dragging Test3 from the outline view?
Comment 2 Karsten Becker CLA 2007-08-07 06:14:32 EDT
Created attachment 75520 [details]
Working Drag
Comment 3 Karsten Becker CLA 2007-08-07 06:15:17 EDT
Created attachment 75521 [details]
Non working Drag
Comment 4 Benno Baumgartner CLA 2007-08-07 06:42:10 EDT
You have to press the copy modifier... The Type Hierarchy does only allow to drag-copy and drag-link its content. But the PE should be smart enough to feedback to the user, that copy is available without the user needing to press the modifier. Have to investigate why it fails.
Comment 5 Benno Baumgartner CLA 2007-08-07 07:59:57 EDT
*** Bug 199054 has been marked as a duplicate of this bug. ***
Comment 6 Benno Baumgartner CLA 2007-08-08 05:35:13 EDT
Created attachment 75645 [details]
fix

- regression to 3.3
- low risk fix
Comment 7 Benno Baumgartner CLA 2007-08-08 05:37:07 EDT
fixed > I20070807-0010
Comment 8 Benno Baumgartner CLA 2007-08-09 04:39:53 EDT
verified in I20070808-1800