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

Review issue: functionality #2

Closed
andytwoods opened this issue Oct 23, 2018 · 5 comments
Closed

Review issue: functionality #2

andytwoods opened this issue Oct 23, 2018 · 5 comments

Comments

@andytwoods
Copy link

As per openjournals/joss-reviews#1044 Functionality, functionality.

on windows, in chrome, I couldn't undo via control-z.

@davekinkead
Copy link
Owner

Thanks for the bug report @andytwoods

I can't reproduce the problem on my setup but the relevant code is here

reasons/lib/ui.js

Lines 138 to 140 in 3c063b7

if (
(event.metaKey || Keycode.isEventKey(event, 'control') || Keycode.isEventKey(event, 'command'))
&& Keycode.isEventKey(event, 'z')) {

Cmd + z, Ctrl + z, or the browser specific metakey + z should all work. I'll try to find a windows machine with chrome shortly.

In the mean time, can you please try the following http://www.reasons.io/maps/e25636f to see if the issue is browser or environment caused.

@davekinkead
Copy link
Owner

@andytwoods could you also please visit https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/metaKey and see if you can get metaKey = true in the example

@andytwoods
Copy link
Author

I'm a reviewer for your submission to joss. I don't use your software. Not sure it's fair I am also involved in the debug process. Just use VirtualBox to check out the issue?

@davekinkead
Copy link
Owner

Quick update - I'm currently at a few conferences and will address this later this month when I'm back

@davekinkead
Copy link
Owner

Sorry for the delay. I was unable to reproduce the issue on a VirtualBox and have only just had access to a windows machine. ctrl z and ctrl y now work and I've manually tested windows 10 + chrome & windows 10 + firefox.

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

2 participants