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

Remove old hotkeys in favor of new YouTube style #1581

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

dsernst
Copy link
Contributor

@dsernst dsernst commented May 6, 2019

This is a follow on to the discussions in #1579 and #1443.

The unresolved question was whether it's better to have both the old hotkeys as well as the new ones, or to simply replace the old with the new.

#1579 was merged in to add both. This PR would remove the old hotkeys to only have the new ones.

image

Currently these new hotkeys are undocumented.


👍 This PR has been tested to work locally on macOS 10.14.4.

@dsernst
Copy link
Contributor Author

dsernst commented May 6, 2019

Relevant previous comments on this:

image


image


image

Speaking personally, I think I lean a little bit towards replacing the old with the new (merging this PR).

The biggest advantage is that it consolidates the documentation for the new hotkeys (the only ones I plan to use) into the menu. It's also nice that it removes the onKeyDown code that doesn't match other conventions.

The one big disadvantage is that some people may be depending upon the old hotkeys? I'm not sure, I have no sense of how widely they are used, or if it's a problem for people for people to switch over to these simpler ones.

(cough xkcd 1172 cough)

@dsernst
Copy link
Contributor Author

dsernst commented May 6, 2019

If the new ones are preferred, but it's still important to preserve the legacy hotkeys, another option is to move these new ones into the menu, but still leave the old ones available (undocumented) using the onKeyDown logic.

Copy link
Member

@Borewit Borewit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dsernst and @mathiasvr.: It's in your call.

@Borewit Borewit requested a review from mathiasvr May 13, 2019 15:35
@stale
Copy link

stale bot commented Aug 11, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale label Aug 11, 2019
@stale stale bot removed the stale label Aug 13, 2019
@feross
Copy link
Member

feross commented Aug 16, 2019

Hey all,

My take is that we should show the YouTube shortcuts in the menus and prefer those as the defaults since they're easier and probably more familiar to users but we should support the existing shortcuts as well. The existing shortcuts are used by VLC, which is our preferred video player when a video is unsupported, and I think it will cause unnecessary confusion for users like me who only use VLC when WebTorrent can't play back the video. I'm constantly playing videos in both places and I don't want to mentally switch between the two sets of shortcuts.

We can use https://github.com/parro-it/electron-localshortcut to register the alternative shortcuts (the ones that don't appear in the menu).

@github-actions
Copy link

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

@github-actions github-actions bot added the stale label Sep 15, 2022
@alxhotel alxhotel added accepted and removed stale labels Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants