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

Unreliable shortcuts due to shortcuts not being browser-wide. #359

Closed
oxysoft opened this issue Mar 19, 2018 · 7 comments
Closed

Unreliable shortcuts due to shortcuts not being browser-wide. #359

oxysoft opened this issue Mar 19, 2018 · 7 comments

Comments

@oxysoft
Copy link

oxysoft commented Mar 19, 2018

This extension would be absolutely amazing if only Firefox didn't shit itself with keyboard shortcuts.

From my understanding, this is most likely not a problem with the extension, but more with the fact that we currently cannot define browser-wide shortcuts with webextensions. The rendered page most likely needs to have focus in one way or another for Tridactyl shortcuts to work, and this is a major pain in the ass as 1/4 of the time, I have to wrestle with the escape key or F6 when the URL bar has focus in order to hopefully move focus back to the page. I hope the situation will change with webextensions, because it's very cumbersome as it stands.

In the time being, I think it would be productive to add a way to at least see that Tridactyl will receive shortuts if they are pressed with an indicator in the bottom-left/bottom-right corner. Wrestling would still take place, but at least we wouldn't be in the dark about it. Why not take down two birds with one stone and make that indicator display further information as well, such as the current mode (e.g. normal mode, 'g key mode`, hint mode, etc.) If this is to be added, it must be very non-intrusive and discreet. Perhaps a thin little bar with a few characters, and the respective character of the current mode would be lit up or something, with no character lit up meaning that NO shortcut will go through if they are pressed!

Thanks, Tridactyl is awesome by the way and I appreciate the efforts to ditch the mouse.

@IsaacKhor
Copy link
Contributor

We are currently in the middle of writing said ui, and will welcome suggestions for it. The plan right now is to basically reimplement vimperator’s completion in this extension but with modern frameworks like inferno.

@bovine3dom
Copy link
Member

I've found that I'm using the default Firefox shortcuts (^t, ^Tab) more and more because ours are not totally reliable, especially when flicking through lots of tabs which haven't loaded. That is probably a bad sign.

@bovine3dom
Copy link
Member

@oxysoft mode indicator is now in the latest betas. It's not perfect - it doesn't show up on some sites, see #410.

@cmcaine
Copy link
Member

cmcaine commented Apr 22, 2018

Fixed #410 now.

@bovine3dom
Copy link
Member

#109 is somewhat related to this: if you do set csp clobber, you'll get slightly worse security against cross-site scripting attacks, but Tridactyl will then work on pretty much every page that Mozilla allows us to.

@bovine3dom
Copy link
Member

Closing in favour of https://github.com/cmcaine/keyboard-api, which we haven't forgotten about.

@bovine3dom
Copy link
Member

fixamo helps a bit in the latest betas : )

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

No branches or pull requests

4 participants