| Summary: | [misc] Moving a file with D&D to overwrite another file creates a copy | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Jean-Francois Lecomte <jflecomte> |
| Component: | Text | Assignee: | JDT-Text-Inbox <jdt-text-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P4 | CC: | jerome_lanneluc, martinae |
| Version: | 3.3.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 2000 | ||
| Whiteboard: | stalebug | ||
|
Description
Jean-Francois Lecomte
JDT Core is used here to move the compilation unit ISourceManipulation.move(...) The problem occurs only if Java editors are opened on both MyClass.java.
In this case, the Java element delta is:
Test[*]: {CHILDREN}
src[*]: {CHILDREN}
a[*]: {CHILDREN}
[Working copy] MyClass.java[-]: {MOVED_TO([Working copy] MyClass.java [in b [in src [in Test]]])}
b[*]: {CHILDREN}
[Working copy] MyClass.java[+]: {MOVED_FROM([Working copy] MyClass.java [in a [in src [in Test]]])}
However it looks like the Java editor is not reacting to this change and not closing the editor on a/MyClass.java.
As a consequence, the primary working copy still exists for this editor, and this working copy is returned in Open Type.
Moving to JDT/Text
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |