Summary: | [DND] DBCS: Can't drag a file into Run-time workbench | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | SC Development 01 <scdev01> | ||||||
Component: | SWT | Assignee: | Duong Nguyen <duongn> | ||||||
Status: | RESOLVED NOT_ECLIPSE | QA Contact: | |||||||
Severity: | major | ||||||||
Priority: | P2 | CC: | fuse, Mike_Wilson, steve_northover, veronika_irvine, yasuday, ycpeng | ||||||
Version: | 2.1 | Keywords: | readme | ||||||
Target Milestone: | --- | ||||||||
Hardware: | Other | ||||||||
OS: | Linux-Motif | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
SC Development 01
2003-01-20 03:54:26 EST
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. |