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] Hexadecimal Unicode Input Results in Incorrect Character #187

Open
NotRexButCaesar opened this issue Jul 22, 2023 · 8 comments
Open
Labels
accepted Requirement understood and waiting implementation. bug Something isn't working help wanted Extra attention is needed

Comments

@NotRexButCaesar
Copy link

NotRexButCaesar commented Jul 22, 2023

About Bug

Hexadecimal Unicode input is altered (seemingly randomly—I see no pattern) changed when the program is running

Steps to reproduce

  1. Enable Hexadecimal Unicode input
  2. Activate Win Vind
  3. enable insert mode
  4. focus a text field
  5. type "+301" on the numberpad with alt held
  6. the character - is created, rather that the expected ́

(https://unicodelookup.com/#0x301/1)

Environments

Environments
Windows Edition 10 Home
Windows Version []
Windows Build []
Architecture 64bit
win-vind Version []
win-vind Install Type zip
@pit-ray
Copy link
Owner

pit-ray commented Aug 5, 2023

Insert mode should be outside the jurisdiction of win-vind.
Isn't that a bug in your text editor?

@NotRexButCaesar
Copy link
Author

NotRexButCaesar commented Aug 5, 2023 via email

@pit-ray
Copy link
Owner

pit-ray commented Aug 6, 2023

When I set the keyboard layout to EN(US), I could confirm the problem that HexNumpad does not work only when win-vind is running. However, I could not reproduce the behavior where - is typed instead. It may depend on the environment.

I put some debugging code in the keyboard hooks and conducted various tests, but could not find the cause of the problem.

Please let me know if you can find out the cause of the problem.

@pit-ray pit-ray added bug Something isn't working help wanted Extra attention is needed accepted Requirement understood and waiting implementation. labels Aug 6, 2023
@pit-ray
Copy link
Owner

pit-ray commented Aug 6, 2023

I added this problem into the project board.
https://github.com/users/pit-ray/projects/2?pane=issue&itemId=35151380

@NotRexButCaesar
Copy link
Author

I noticed that using the arrow keys sometimes affects the behavior: if I have a macro which inputs Unicode, using the arrow keys will sometimes allow the macro to input the correct character if it is used immediately after the arrow keys.

It may be this information is helpful.

@pit-ray
Copy link
Owner

pit-ray commented Aug 19, 2023

Thanks you for investigating this problem.

Which macro you mentioned, the one in win-vind or the one in the other tool?
If it is a win-vind, please give me a sample .vindrc for reference.

I will look into the causality between arrow keys and HexNumpad.
Thanks.

@NotRexButCaesar
Copy link
Author

NotRexButCaesar commented Aug 19, 2023 via email

@pit-ray
Copy link
Owner

pit-ray commented Aug 21, 2023

As seen in #158 and #153, the relation between the timer of the keyboard and that of Windows may be a factor in many issues.

However, if win-vind supports the configurable timer for updates, we must consider a lot of aspects, such as the mouse speed or the CPU usage and so on.

I think that we need to investigate the direct factor of this issue.
Thanks for the important information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Requirement understood and waiting implementation. bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants