Skip to content

Conversation

@alanocallaghan
Copy link
Contributor

When Ctrl is held, the input display shows � for keypresses from the event text to uppercase. This uses the more conservative keycode name toUpper in the case when the key event is a letter. I'm sure this won't have unforeseen consequences.

Related to comments in qupath/qupath#2033

When Ctrl is held, the input display shows � for keypresses
from the event text to uppercase. This uses the more
conservative keycode name toUpper in the case when the key event
is a letter. I'm sure this won't have unforeseen consequences.
@petebankhead
Copy link
Member

Thanks, makes sense but we’ll need to see how this behaves on all platforms - which have you tried?

@alanocallaghan
Copy link
Contributor Author

alanocallaghan commented Nov 7, 2025

Only Linux so far, since they discontinued Win10 I don't have easy access to Win dev environment at home

@petebankhead
Copy link
Member

This seems ok to me on Mac and Windows.

I appended a couple of extra changes that hopefully haven't broken things. They changes attempt to handle:

  • Windows key
  • Caps lock and num lock
  • A few more symbols

@petebankhead petebankhead merged commit 8d36808 into qupath:main Nov 10, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants