RFR: 8360647: [XWayland] [OL10] NumPad keys are not triggered
Phil Race
prr at openjdk.org
Wed Jul 9 20:18:38 UTC 2025
On Mon, 7 Jul 2025 19:21:57 GMT, Alexander Zvegintsev <azvegint at 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.
The test *expects* to receive Insert (not 0) even if numlock is on ? Why is that ?
It isn't really mentioned but this about Robot, isn't it ?
What happens if a user types directly ?
Can you please put an evaluation in the bug report.
Also is this a regression of JDK-8351907 ? Looks that way since it is reported as working in JDK 25 b23.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26170#issuecomment-3053879198
More information about the client-libs-dev
mailing list