slint
slint copied to clipboard
LineEdit and TextEdit component can not use 'ctrl + v' to paste in caps lock mode
As reported in https://github.com/slint-ui/slint/issues/4198
LineEdit and TextEdit component can not use 'ctrl + v' to paste in caps lock mode (Or ctrl + c, or ctrl + a, ...)
I could reproduce this on X11 with the winit backend in Slint 1.3 The Qt backend works well. It might have worked in Slint 1.2
The TextInput uses StandardShortcut::Paste
, as created by KeyEvent::shortcut() -> Option<StandardShortcut>
. It's looking for text.as_str() == 'v'
and I guess that's V
. Not sure though if this should be fixed in the winit backend (since it works with Qt).
slightly related: https://github.com/slint-ui/slint/issues/4498 and https://chat.slint.dev/public/pl/pmdrea74y7bh8ba7f1tzai4cjr