On Tue, 28 May 2024 07:04:19 GMT, Prasanta Sadhukhan <[email protected]>
wrote:
>> src/java.desktop/share/classes/javax/swing/ToolTipManager.java line 271:
>>
>>> 269: toFind = mouseEvent.getLocationOnScreen();
>>> 270: } else {
>>> 271: toFind = screenLocation;
>>
>> Why `toFind` is set to `screenLocation` ?
>
> If mouse movement is not there, then it is imperative to use the original
> screenlocation to find GraphicsConfiuration but as told this codepath was not
> used so probably a no-op and should not be an issue..
Thanks for clarification.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/19379#discussion_r1616718406