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

Can't use numpad for activating links #879

Open
asgerhallas opened this issue Jul 12, 2013 · 8 comments
Open

Can't use numpad for activating links #879

asgerhallas opened this issue Jul 12, 2013 · 8 comments

Comments

@asgerhallas
Copy link

I have changed my hint letters to 0123456789 and are now trying to activate the links using the numpad, but nothing happens. It works fine when using the other numeric keys.

Is this by design or a bug?

Chrome: 28.0.1500.71 (Official Build 209842) m
Vimium: 1.43

@asgerhallas
Copy link
Author

Great extension by the way!!! :)

@philc
Copy link
Owner

philc commented Jul 12, 2013

Great bug. This will require some debugging -- I'm not sure whether we're switching on the key char or key code, but if it's the key code, that may cause different behavior between regular numbers and numpad keys.

@thynctank
Copy link

Was this ever fixed? I just reported an identical issue in Vrome!

@dragon788
Copy link

Sadly I don't have my numpad equipped laptop nearby to test, but I'm almost certain that the numpad does send different keyscan codes than the number row, but as philc said, matching shouldn't be tough.

@thynctank
Copy link

I committed a fix for the equivalent issue in vrome which is working just fine for me. It was merged in but I’m not sure it’s been released to the store or whatever.

@smblott-github
Copy link
Collaborator

Looks like this is @thynctank's fix in vrome.

@thynctank
Copy link

Aye! Thanks for dredging it up!

On Sunday, May 10, 2015, Stephen Blott [email protected] wrote:

Looks like this
thynctank/vrome@3b776a8
is @thynctank https://github.com/thynctank's fix in vrome.


Reply to this email directly or view it on GitHub
#879 (comment).

Sent from my Mobile

@mrmr1993
Copy link
Contributor

Alternatively, we could stop using a keydown listener for character filtering in link hints, and use a keypress one instead. This will automatically fix this issue and the internationalisation issues we've been seeing for link hints.

Edit: keypress won't work properly with modifer keys, so this won't work for us.

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

6 participants