On Fri, 11 Jul 2025 20:19:18 GMT, Alexander Zvegintsev <azveg...@openjdk.org> wrote:
>> When we try to pass `XK_KP_0` to >> [`NotifyKeyboardKeysym`](https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.portal.RemoteDesktop.html#org-freedesktop-portal-remotedesktop-notifykeyboardkeysym) >> in Remote Desktop API, it presses/releases `SHIFT` + `XK_KP_Insert`. >> >> To get the same result as XTest api when using `NotifyKeyboardKeysym` we >> should use `XK_KP_Insert` instead of `XK_KP_0` regardless of NumLock state. >> Similarly for other Numpad keys. > > Alexander Zvegintsev has updated the pull request incrementally with one > additional commit since the last revision: > > wasNumpadPressed check added Tested the fix on Ubuntu 24.04 (with `-Dawt.robot.screenshotMethod=dbusRemoteDesktop`) and Ubuntu 25.04, fix works as expected. ------------- Marked as reviewed by honkar (Reviewer). PR Review: https://git.openjdk.org/jdk/pull/26170#pullrequestreview-3011935266