Bug 384206 - Copy/Paste Between Two XML Files Will Result In Pasting In Original File
Summary: Copy/Paste Between Two XML Files Will Result In Pasting In Original File
Status: CLOSED NOT_ECLIPSE
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xml (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Salvador Zalapa CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2012-07-03 17:43 EDT by Key Shin CLA
Modified: 2012-07-26 15:06 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Key Shin CLA 2012-07-03 17:43:22 EDT
I have never submitted a bug here before so excuse me if I made some mistakes in the attributes or do not include enough details.

I am unsure if this is caused by the newest version of the Android Developer Tools (v20) as I upgraded to Juno/ADT at the same time.

I have two xml files, let's say a.xml and b.xml. I am trying to copy and paste from a.xml to b.xml by using OSX keyboard shortcuts (command  + c/v). When I paste from a.xml to b.xml, when b.xml is viewable, it is pasted into a.xml instead.

I have tested this with with Edit -> Copy/Paste and the same result happens.

When I copy (either using keyboard shortcut or Edit -> Copy) and then Right Click -> Paste in b.xml, then it pastes correctly.

-- Configuration Details --
Product: Eclipse 1.5.0.20120131-1544 (org.eclipse.epp.package.java.product)
Installed Features:
 org.eclipse.jdt 3.8.0.v20120525-1249-8-8nFqlFNOfwKDRGz-pXLdGxEM83
Comment 1 Walter Harley CLA 2012-07-03 19:46:54 EDT
Just to be clear - JDT/APT is Java Development Tools / Annotation Processing Tooling.  So it has nothing to do with XML or with Android.  ADT != APT :-)

I'll move this to the team that owns the Eclipse XML editor. However, if it turns out to be an ADT issue, that'll need to be reported through the ADT forums, i.e., through Google, not through Eclipse.
Comment 2 Nitin Dahyabhai CLA 2012-07-05 11:15:44 EDT
This is seen when opening two files with the "XML Editor" (check the files' Open With context menu in an explorer/navigator View)?
Comment 3 Stas Korzovsky CLA 2012-07-13 02:47:33 EDT
Reproducible in Windows 7 64bit/Juno/ADT v20. A report for the same issue was already created in the Eclipse bug tracker: 383212 (https://bugs.eclipse.org/bugs/show_bug.cgi?id=383212) and in the Android bug tracker: 34630 (http://code.google.com/p/android/issues/detail?id=34630)
Comment 4 Stas Korzovsky CLA 2012-07-13 06:25:22 EDT
This bug is probably a duplicate to 384665 (https://bugs.eclipse.org/bugs/show_bug.cgi?id=384665)
Comment 5 Salvador Zalapa CLA 2012-07-26 15:06:04 EDT
This is already fixed in ADT 20.0.2, and it is not in the WTP or Eclipse side