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

Help does not show correct controls when custom #65

Open
Wuzzy2 opened this issue Nov 8, 2019 · 2 comments
Open

Help does not show correct controls when custom #65

Wuzzy2 opened this issue Nov 8, 2019 · 2 comments
Labels

Comments

@Wuzzy2
Copy link
Contributor

Wuzzy2 commented Nov 8, 2019

When you customized the controls, the help screen is incorrect in that it shows the wrong controls (it always shows the default ones).

Version: 2.0.3

@juzzlin
Copy link
Owner

juzzlin commented Nov 22, 2019

A good catch, but I'm afraid that this would be just way too painful to fix.

Could be possible to do something like this (if we don't mind breaking current translations of Help):
https://stackoverflow.com/questions/21764138/get-the-name-of-a-key-from-qkeyevent-in-qt

I tested this a bit and it seems to work for most of the keys, but not for all. Another thing is that the custom controls use QKeyEvent::nativeScanCode() instead of QKeyEvent::key() for a reason I don't remember anymore.

@juzzlin juzzlin added the bug label Nov 22, 2019
@Wuzzy2
Copy link
Contributor Author

Wuzzy2 commented May 6, 2020

Another solution would be to not use a word, but a symbol instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants