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

Cannot type capital letters in TextField widget #4

Closed
midwan opened this issue Apr 22, 2017 · 2 comments
Closed

Cannot type capital letters in TextField widget #4

midwan opened this issue Apr 22, 2017 · 2 comments

Comments

@midwan
Copy link
Collaborator

midwan commented Apr 22, 2017

Even when testing in the included Examples, the TextField does not seem to accept capital letters.
Using Shift (LShift or RShift) and/or Caps Lock, we always get small case letters instead.

To recreate:

  • compile the included examples
  • run sdlwidgets
  • try to type capital letters in a TextField

Is this a known issue?

@gbaudic
Copy link
Contributor

gbaudic commented Sep 2, 2017

No. After looking at the code, the problem affects both TextField and TextBox widgets. In their method keyPressEvent, character insertion does not take the Shift key status into account (although it can be obtained from the KeyEvent). For the Caps Lock key, it does not seem supported at all.

@Jarod42
Copy link
Collaborator

Jarod42 commented Dec 27, 2023

#23 (with its fix) fixes caps lock, and characters accessible with shift/alt-gr (as the one from 0-9)

@midwan midwan closed this as completed Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants