Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] TextEdit/LineEdit: Hold right shift and press Left/Right arrow can't select text on Win10 #5316

Open
asuper0 opened this issue May 29, 2024 · 0 comments
Labels
a:platform-windows Issue specific to Windows (mT,bS) bug Something isn't working

Comments

@asuper0
Copy link
Contributor

asuper0 commented May 29, 2024

Slint Version: latest
OS: Win10

The right shift does not work, while left shift do.

I have checked the code of TextInput, KeyboardModifiers, InternalKeyboardModifierState, both of them seem correct.

Then I checked the define of key_code in internal\common\key_codes.rs, it says ShiftR is 0x15 and has a comment

// The modifier key codes comes from https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode.

However, Section Non-printable keys (function keys) in the page says both left shift and right shift are 0x10.

@hunger hunger added a:platform-windows Issue specific to Windows (mT,bS) bug Something isn't working labels May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:platform-windows Issue specific to Windows (mT,bS) bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants