On Fri, 20 Dec 2024 19:42:53 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:

> > > I wonder if this is even a bug in `Robot`.
> > 
> > 
> > I think it makes sense for Robot to clamp mouseMove so that 
> > MouseInfo.getPointerInfo() will never return these junk coordinates, but I 
> > understand what you mean since the clamping (or updating) could be done in 
> > getPointerInfo() instead.
> 
> I agree, to some extent, that these two things need to align… it makes 
> perfect sense.
> 
> Yet I worry that this current fix could break more scenarios… while fixing 
> one corner case.

It is quite possible that we need to figure out what is going on with 
PointerInfo and fix something there first ..

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

PR Comment: https://git.openjdk.org/jdk/pull/22781#issuecomment-2557744566

Reply via email to