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

Difference in allowed accelerator keys between Qt and Wx #2063

Open
drbsg opened this issue Nov 12, 2024 · 0 comments
Open

Difference in allowed accelerator keys between Qt and Wx #2063

drbsg opened this issue Nov 12, 2024 · 0 comments

Comments

@drbsg
Copy link

drbsg commented Nov 12, 2024

There are a number of accelerator keys that the Wx backend allows that the Qt backend does not, for example symbols such as "-" and "=". Under Qt key_event_to_name maps them to 'Unknown-Key' because they are not explicitly listed in key_map, but under Wx there is a fall-back condition that passes through any key code accepted by chr.

Is this intended behaviour, perhaps enforcing a style guide, or an accident of history? 😄

This was spotted under traitsui v6.0.0, but it looks like the issue affects all versions since (and I haven't checked earlier).

@drbsg drbsg changed the title Difference between allowed accelerator keys between Qt and Wx Difference in allowed accelerator keys between Qt and Wx Nov 14, 2024
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

1 participant