JDK-4219272 : Sol: drag & drop from CDE native application, to support non-latin string
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.2.1
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_2.5.1
  • CPU: sparc
  • Submitted: 1999-03-11
  • Updated: 2000-11-28
  • Resolved: 2000-11-28
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
Although bug #4168286 DnD core dump has been solved. There were no solution provided to dropping characters from Native apps. When it contains non-Latin1 strings, like Japanese, nothing is dropped.

From the evaluation of 4168286,

>There are inconsistance of DnD behaviour between Win32 and Solaris now. 
>X11-COMPOUND_TEXT is too platform specific and JAVA should abstruct it. On 
>Win32, 'charset=ascii' mime type can pass native characterts to Java app. 

It's better to support this feature from JavaVM side. So one java apps can run on both platform without mentioning platform specific features.

[koushi.takahashi@japan 1999-03-11]

Comments
EVALUATION We will look at this for Merlin. Could the submitter provide a test case? roger.brinkley@Eng 2000-01-11 The person who submitted this bug is no longer with the company. I am removing the incomplete status. If you can not proceed on this without a test case, please close this out. sheri.good@Eng 2000-04-06 Name: dsR10078 Date: 10/26/2000 In ladybird we made a partial fix for the problem by sorting arrays of DataFlavors returned by DropTargetDropEvent from most richly descriptive to least descriptive. This way if the native application used as drag source properly provides a text in the default encoding you will be able to retrieve this text with the first text/plain data flavor in the returned array. ###@###.### 2000-10-26 ====================================================================== All problems which contributed to this bug, except for proper support of X11 COMPOUND_TEXT, have been resolved. Thus, I am closing this bug as a duplicate of the remaining problem. david.mendenhall@east 2000-11-28
28-11-2000