tridactyl / tridactyl

A Vim-like interface for Firefox, inspired by Vimperator/Pentadactyl.
https://tridactyl.xyz
Other
5.34k stars 404 forks source link

Problems on JIRA pages #1318

Open jpalus opened 5 years ago

jpalus commented 5 years ago

After quite some time I've checked Tridactyl again and must admit you guys made a huge progress. Seems like a viable alternative to VimFx on Firefox builds with MOZ_ALLOW_LEGACY_EXTENSIONS=1!

However there's still one web app that I find problematic namely JIRA. For example with some tickets scrolling is somewhat "delayed" as if hitting "j" was scrolling some invisible part and only after some time page actually starts to scroll. On public JIRA following ticket is a reproducer:

https://issues.apache.org/jira/browse/MCOMPILER-197

Also sometimes Tridactyl keybindings don't work at all, but I cannot reproduce it reliably. Hopefully those two issues are somehow related.

glacambre commented 5 years ago

For example with some tickets scrolling is somewhat "delayed" as if hitting "j" was scrolling some invisible part and only after some time page actually starts to scroll

That's exactly what's happening, Tridactyl first tries to scroll three span.aui-nav-item-label (they're the buttons in the vertical bar on the left) before actually scrolling the right element, div.issue-view. Not sure what we could do about this though, since these elements can be scrolled (changing their scrollTop value works).

jpalus commented 5 years ago

That behavior is even more problematic on pages like:

https://issues.apache.org/jira/projects/MCOMPILER/issues

I don't know about Tridactyl internals but I guess it tries to scroll whatever it can from left to right:

Not sure if Tridactyl can do anything about it, however VimFx managed to scroll ticket content by default and it was still possible to scroll ticket list by focusing one of its elements with "et".

jpalus commented 5 years ago

That also has some "funny" consequences. Imagine reading through a long ticket. You scroll down all the panes with "j" going to half of ticket content, you spend some time reading but want to go back and check something earlier so you scroll up with "k". However that means waiting again until all preceding panes are scrolled all the way up.

bovine3dom commented 5 years ago

If you can write some js that scrolls JIRA reliably, you could just use bindurl to rebind j and k on the pages you need.

delirus commented 3 years ago

The JIRA is broken entirely when using tridactyl 1.21.0 in FF 86.0.1 with JIRA v8.13.1#813001-sha1:1f8e8da. No content is loaded at all when loading JIRA board but it appears as soon as the tridactyl addon is disabled and page reloaded. There are two errors in the console saying "InternalError: too much recursion".

glacambre commented 3 years ago

Have you tried the troubleshooting steps? https://github.com/tridactyl/tridactyl/blob/master/doc/troubleshooting.md

delirus commented 3 years ago

@glacambre it looks like one of the settings did the trick! thanks a lot!