<AWT Dev> Patch feedback?

Denis S. Fokin Denis.Fokin at Sun.COM
Thu Feb 11 02:47:56 PST 2010


Hi Damjan,

I thought, that my problems could be concerned with Alexey's patch but 
your test does not work for me even with b81 (

I should look at that deeper.

Thank you,
    Denis.

Damjan Jovanovic wrote:
> On Mon, Feb 8, 2010 at 7:38 PM, Denis S. Fokin <Denis.Fokin at sun.com> wrote:
>   
>> Hi Damjan,
>>     
>
> Hi Denis
>
>   
>> Thank you for the samples.
>>
>> I tried to execute them.
>>
>> I executed Drop and it did not work for me.
>>
>> As I understand the class requires an URI as a parameter to store a dropped
>> file in the location.
>>
>> I tired to pass '.' and 'file://....' as parameters but the transfered file
>> did not  appear at the specified locations.
>>
>> Form the other hand, the drop of a file from ubuntu GNOME desktop was
>> refused (I am not sure whether it is a nautilus window) and from ubuntu
>> GNOME nautilus window the drop was accepted (but as I mentioned above the
>> file was not transfered).
>>
>> More details from you about the expected behavior would be appreciated )
>>     
>
> file:///tmp works for me.
>
> You have to use a drag source which supports XDS, like an archive
> opened in Gnome's File Roller, to drop to Drop.java. Nautilus as a
> drag source doesn't provide the XDS format, which is why dragging from
> it doesn't work and wasn't listed in my test scenarios.
>
>   
>> As for the BasicDnD.java I either did not catch the scenario.
>>
>> What should be dragged from the test? An item from the JTree?
>>     
>
> Check "Turn on Drag and Drop" then drag any item from the JList into
> Nautilus. It will make a "hello world file.txt" in the dropped
> directory, containing "Hello world" as the text.
>
>   
>> Thank you,
>>   Denis.
>>     
>
> Thank you
> Damjan
>
>   
>> Damjan Jovanovic wrote:
>>     
>>> On Wed, Feb 3, 2010 at 5:22 PM, Denis S. Fokin <Denis.Fokin at sun.com>
>>> wrote:
>>>
>>>       
>>>> Hi Damjan,
>>>>
>>>>         
>>> Hi Denis
>>>
>>>
>>>       
>>>> Could you provide more details...
>>>>
>>>>
>>>>         
>>>>> 8. Needs jtreg tests.
>>>>>
>>>>>           
>>>> It would be great to look at a sample application, that you used to write
>>>> your prototype :-)
>>>> Could you attach it?
>>>>
>>>>         
>>> Attached. One is to test drops, the other drags. They're quite hacked :-)
>>>
>>>
>>>       
>>>>> It's been tested with Nautilus and File Roller on Linux,
>>>>> Windows Explorer and Windows Mail on Windows. All work.
>>>>>
>>>>>           
>>>> Could you give us more details about scenarios that you have used for the
>>>> testing?
>>>>
>>>>         
>>> Drag file from Java, drop to Nautilus
>>> Drag file from an archive (eg. ZIP file) opened in File Roller, drop to
>>> Java
>>> Drag file from Java, drop to Windows Explorer
>>> Drag email or attachment from Windows Mail, drop to Java
>>> And finally: drag from Java, drop to Java
>>>
>>> All tests need the patch applied to compile and run.
>>>
>>>
>>>       
>>>> Thank you,
>>>>    Denis.
>>>>
>>>>         
>>> Thank you
>>> Damjan
>>>
>>>
>>>       
>>>> Damjan Jovanovic wrote:
>>>>
>>>>         
>>>>> Hi
>>>>>
>>>>> Can I please get some feedback and maybe a sponsor for
>>>>> https://bugs.openjdk.java.net/show_bug.cgi?id=100124
>>>>>
>>>>> I've been waiting for the past 6 weeks. I need to at least know
>>>>> whether it's worth continuing work on this patch.
>>>>>
>>>>> Thank you
>>>>> Damjan
>>>>>
>>>>>           
>>>>         
>>     




More information about the awt-dev mailing list