hachikoharuno / Swipe-two-finger-to-back-forward

GNU General Public License v3.0
1 stars 0 forks source link

Animation only works when there's no page to go to #1

Open Skaldebane opened 1 year ago

Skaldebane commented 1 year ago

Hi there! Thanks a lot for this wonderful extension!

Being someone who's truly fascinated by the way epiphany does this, yet needing to use Firefox (because WebKit on epiphany is kinda moody, while Firefox is as reliable as Chromium but with amazing Linux support), I came searching for an add-on and found yours.

However, using it today, it doesn't seem to work quite well. When swiping to the side where there's actually a page to go back/forward to, the default Firefox behavior kicks in (an arrow comes into the screen as I swipe, then it abruptly switches the page), instead of the animation of your extension. The animation seems to only work on the side where there's no history. It animates towards emptiness, just to snap back without changing anything at all.

Firefox already supports touchpad gesture history navigation natively as mentioned, and I guess that conflicts with your extension (?)

Hope you can fix this!

Fxsch commented 10 months ago

Setting browser.gesture.swipe.left and browser.gesture.swipe.right to an empty string in about:config seems to work

Skaldebane commented 10 months ago

Thanks for the tip @Fxsch! I'll give it a shot.

hachikoharuno commented 10 months ago

Hello, unfortunately, as you can see on the main page, this is just a fork designed to solve the problem with touchpad sensitivity, since it is broken in firefox in linux. I am not the developer of the extension (fully), so I have no idea how it is all implemented and how it can be fixed, but I will leave a link to the original, perhaps it solved this problem.

Firefox store https://addons.mozilla.org/ru/firefox/addon/swipe-back/

His githab https://github.com/anuejn/swipe-back