Community
Participate
Working Groups
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.
Created attachment 3037 [details] The sample project for the testing.
I am pretty sure this is related to http://dev.eclipse.org/bugs/show_bug.cgi?id=29778
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 ***
I tested it with build I20030129-linux-motif, the same problem still occurs.
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.
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.
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.
Created attachment 3312 [details] Configuration detail
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.
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.
I've reviewed this. I agree Veronika's opinion. Please write this in readme as a restriction of open-motif.
This has been added to the README.
As noted in comments, this is an OS issue. Closing as NOT_ECLIPSE.