Bug 29777 - [DND] DBCS: Can't drag a file into Run-time workbench
Summary: [DND] DBCS: Can't drag a file into Run-time workbench
Status: RESOLVED NOT_ECLIPSE
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.1   Edit
Hardware: Other Linux-Motif
: P2 major (vote)
Target Milestone: ---   Edit
Assignee: Duong Nguyen CLA
QA Contact:
URL:
Whiteboard:
Keywords: readme
Depends on:
Blocks:
 
Reported: 2003-01-20 03:54 EST by SC Development 01 CLA
Modified: 2008-04-12 10:26 EDT (History)
6 users (show)

See Also:


Attachments
The sample project for the testing. (40.06 KB, application/x-zip-compressed)
2003-01-20 04:02 EST, SC Development 01 CLA
no flags Details
Configuration detail (6.54 KB, text/plain)
2003-02-06 05:06 EST, SC Development 01 CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description SC Development 01 CLA 2003-01-20 03:54:26 EST
Reporter: Tiffany

Language: Korean / Simplfied Chinese / Tranditional Chinese
        
Build driver: eclipse-SDK-M4-linux-motif

OS: RedHat 8

JDK Ver.: IBM JDK1.3.1 + SR3
               
Test case #:  3.8 Using Content assist with DBCS strings
 
Summary: DBCS: Can't drag a file into Run-time workbench

Steps to recreate problem:
	1. Unzip the attachment (sef.zip)
	2. Launch workbench with motif build.
	3. Import the plug-in com.ibm.wsweducation.solution.sef
	4. Open the PDE perspective, then Select the project name.
	5. Click Run icon > Run AS... > Run-time Workbench.
	6. Run-time workbench pops up.
	7. Create a Java project and a folder in the project in Run-time 
workbench.
	8. Grab the test.release file in the original workbench then drag it 
into the folder which was created at step 7 in Run-time workbench.
	

<<Error>>
	After step 8, the test.release file can't be draged into Run-time 
workbench
	

<<Expected Result>>
	The test.release file should be draged into Run-time workbench 
successfully.
Comment 1 SC Development 01 CLA 2003-01-20 04:02:19 EST
Created attachment 3037 [details]
The sample project for the testing.
Comment 2 Veronika Irvine CLA 2003-01-22 09:19:19 EST
I am pretty sure this is related to 

http://dev.eclipse.org/bugs/show_bug.cgi?id=29778
Comment 3 Veronika Irvine CLA 2003-01-24 16:52:58 EST
This is the same error as reported in:

http://dev.eclipse.org/bugs/show_bug.cgi?id=29778


*** This bug has been marked as a duplicate of 29778 ***
Comment 4 SC Development 01 CLA 2003-01-30 05:15:11 EST
I tested it with build I20030129-linux-motif,
the same problem still occurs.
Comment 5 Veronika Irvine CLA 2003-02-04 11:55:11 EST
Tested this in build I20030129-linux-motif and it is working correctly.

In motif, you need to use the middle mouse button to perform a drag and drop 
operation.  Are you using the middle mouse button (if you only have a two 
button mouse then you must press both buttons simultaneously)?

If you are using the middle mouse button, can you describe in more detail what 
is happening.  Does your cursor change at all?  Does the folder expand when you 
are over it?  Do you get any logs in your log file?

Can you please do the following:
Open the Help -> About Eclipse dialog.  
Click on the Configuration Details button and copy the contents into this bug 
report.

Thank you.
Comment 6 Veronika Irvine CLA 2003-02-04 13:54:12 EST
I am going to close this bug report because I am pretty sure this is a problem 
of not using the correct mouse button.
Please reopen if I am incorrect.
Thank you.
Comment 7 SC Development 01 CLA 2003-02-06 05:05:26 EST
I re-tested it with build I20030129-linux-motif and it works correctly on CHT 
and KOR.

On CHS, I did the following steps:
1. Run the plugin on workbench.
2. The run-time workbench pop up.
3. Open the Java perspective in the run-time workbench.
4. Grab test.release from workbench, then drag it into run-time workbench.
   NOTE: The folder expand when I'm over it

I perform a grab and drag operation using the middle mouse button.
I can grab and drag a file successfully, but after I drop the file, the file 
can't be copied to the folder in Java perspective of run-time workbench 
successfully.

There is no .log file. 
I attach the Configuration Details for your reference.
please refer to Configuration.txt.
Comment 8 SC Development 01 CLA 2003-02-06 05:06:17 EST
Created attachment 3312 [details]
Configuration detail
Comment 9 Veronika Irvine CLA 2003-02-06 12:07:50 EST
On CHS, you can not drag between processes.  When dragging between processes, 
the OS reports that the available data types from the drag source is 0:

// get the export targets
int ppExportTargets = OS.XtMalloc(4);
int pNumExportTargets = OS.XtMalloc(4);
int[] args = new int[]{
	OS.XmNexportTargets,          ppExportTargets,
	OS.XmNnumExportTargets,       pNumExportTargets
};
OS.XtGetValues(callbackData.dragContext, args, args.length / 2);
int[] numExportTargets = new int[1];
OS.memmove(numExportTargets, pNumExportTargets, 4);

--> Here numExportTargets[0] is 0.

I think this is a limitation of Open Motif - I will investigate further.

It is still possible to drag and drop files within one eclipse, even between 
different windows in the same eclipse workspace.
Comment 10 Veronika Irvine CLA 2003-02-10 17:35:33 EST
I am going to lower the priority of this bug report since most of the required 
functionality is there and it does not stop the user from using the tool.
Comment 11 Masayuki Fuse CLA 2003-03-05 21:11:17 EST
I've reviewed this. I agree Veronika's opinion. Please write this in readme as 
a restriction of open-motif.
Comment 12 Veronika Irvine CLA 2003-03-07 09:48:35 EST
This has been added to the README.
Comment 13 Mike Wilson CLA 2008-04-12 10:26:04 EDT
As noted in comments, this is an OS issue. Closing as NOT_ECLIPSE.