Community
Participate
Working Groups
Reporter: Brook Zhang OS: windows 2003 Language: CHS/CHT/Korean Build level: 200403261517 JDK Version: IBM JDK 1.4.2 Beta Test case #: Summary: DBCS:The context in java file can not be copied into a simple text file Description: Steps to recreate problem: 1-Create a java project with DBCS project name 2-Add "new class" in the java project . 3-Switch over to the packages view and expand the java file 4-Right click on the java file name and select "COPY" from the context menu 5-Open the simple text file with the DBCS name if it isn’t already 6-Bring up a context menu within the file itself by right clicking anywhere in the editor that has a white color 7-Select "COPY" from the context menu <<Error>> The name of java file have been copied, But the context haven't been copied <<Expected Result>> The context of java file can be copied into a simple text file correctly
*** This bug has been marked as a duplicate of 57003 ***
#57003's problem seems font problem. but #57026 maybe is not font problem. In #57026, we try to copy the java file context, the result is that the java file name is copied on M8. It works well on Eclipse 2.1.2. After we change the default font on M8 build, #57003 problem was resolved, but #57026 problem was still exist.
please reopen if you still see this after bug 57003 has been fixed. *** This bug has been marked as a duplicate of 57003 ***
This problem aslo exist on RHEL WS-3.0 Korean.
This defect also occured on wswb-I20040407-200404081318 build.
see comment 3.
The 57003 is fixed but This defect is also exist on wswb-I20040413-200404151406 build.
Isn't there some <PASTE> step missing in the scenario?
Created attachment 9693 [details] Select "Copy" in Package View Select "Copy" in Package View
Created attachment 9695 [details] Select "Paste" in simple *.txt file Select "Paste" in simple *.txt file
Created attachment 9696 [details] Only the java file name be copied,not context Only the java file name be copied,not context
Aah - DBCS tag confused me: this has nothing to do with DBCS: we copy the name to the text clipboard by design. If you copy an element and then paste it into a container (not text drop target) we paste the full element.
I performed this test on new build wswb-I20040413-200404191247,The JDT build id is 200404131323.This problem is also exist.I tried to perform this on Eclipse 2.1.2 but this function works well.The JDT build id is 200311030802 on Eclipse 2.1.2.So I think this defect is not fixed .Sorry to reopen it.
This is not a bug but works as designed (for 3.0). I know that - like many other things in 3.0 - it behaves differently than in 2.x: we changed this on purpose to be consistent with other selections in the Package Explorer and Navigator. You can still copy & paste the an element if the drop target accepts it. Please do not reopen this bug if you disagree - file a new one and explain why you want the old behavior back ;-)
It sounds reasonable, I think it's the design change about "copy & paste" .It have diffrences between eclipse2.1 and 3.0 .So I closed this defect.