fix: forward display keyboard and clipboard input #1854
Reference in New Issue
Block a user
Delete Branch "fix/display-keyboard-clipboard"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes desktop-control takeover input problems in Canvas/noVNC.
User-visible symptoms:
Changes:
data-display-streamRFB.clipboardPasteFrom()Verification:
npm test -- --run src/components/tabs/__tests__/DisplayTab.test.tsx src/components/canvas/__tests__/useKeyboardShortcuts.test.tsx=> 46 passednpm run build=> passed; existing warnings onlynpx tsc --noEmit --pretty falsewas attempted but the repo currently has unrelated pre-existing test typing failures across many test files, so it is not a useful gate for this change.Approved. Focused Canvas/noVNC input fix: display-targeted keys bypass Canvas/global shortcuts, paste is forwarded via RFB.clipboardPasteFrom, remote clipboard is surfaced with browser-permission fallback controls. Verified focused tests (46 passed), npm run build, and Gitea action runs 88387-88402 resolved Success via mol_action_status.
Approved. Focused Canvas/noVNC input fix: display-targeted keys bypass Canvas/global shortcuts, paste is forwarded via RFB.clipboardPasteFrom, remote clipboard is surfaced with browser-permission fallback controls. Verified focused tests (46 passed), npm run build, and Gitea action runs 88387-88402 resolved Success via mol_action_status.