On Tue, 19 Mar 2024 17:18:44 GMT, Alexey Ivanov <[email protected]> wrote:

>> test/jdk/java/awt/dnd/ImageDecoratedDnD/ImageDecoratedDnD.java line 56:
>> 
>>> 54:                 In WIN32 systems the image under cursor would be 
>>> visible ONLY over
>>> 55:                 the drop targets with activated extended OLE D'n'D 
>>> support (that are,
>>> 56:                 the desktop and IE).
>> 
>> @prrace Do we retain the testing instructions related to Win32 as they are 
>> quite old?
>
> Win32 is not that old… Java still uses these APIs in 64-bit world.
> 
> I haven't run the test myself (yet). I suggest replacing _Win32_ with 
> _Windows_. Is image under cursor visible when you drag'n'drop on Windows? It 
> should be.

Case 1: A circle + anchor is seen (without a green window) when just Mouse is 
used to perform DnD.
Case 2:  A green window below the anchor + circle is seen when CTRL + Mouse is 
used to perform DnD. (I believe the green window, is the image they are 
referring to ?)

https://github.com/openjdk/jdk/assets/95945681/4ed2aa47-611c-4957-b930-b86732a95f76

https://github.com/openjdk/jdk/assets/95945681/d8990f71-e90f-4ee2-a7b2-ba5458fbd879

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/18315#discussion_r1530818930

Reply via email to