RFR: JDK-8302618: [macOS] Problem typing uppercase letters with java.awt.Robot when moving mouse [v7]
Harshitha Onkar
honkar at openjdk.org
Mon Jul 24 19:36:45 UTC 2023
On Mon, 24 Jul 2023 19:06:23 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
> What I mean is to look further whether this situation affects any internal state of Robot so that wrong mouse events are posted.
>
> It could still be a possible scenario. Consider Robot is moving mouse slowly, the user presses a mouse button; the following events generated by the robot should indicate the mouse button is pressed until the user releases the mouse button.
>
> There's also the **fourth possibility**: Robot generates keyboard events while the user presses modifier keys on the keyboard. It's an invalid scenario for tests but not impossible. Should the robot combine its internal state with the global hardware state?
@aivanov-jdk Makes sense. Thanks for clarifying. I'll verify flag state for the cases discussed above and that we are not making any unexpected state changes.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14744#issuecomment-1648494523
More information about the client-libs-dev
mailing list