Noitidart / Smart-Zoom

Firefox Addon: Simulates the smart zoom of mobile devices and tablets on desktop. Instead of double tapping though, click and hold to smart zoom into the article. Inspired by jmiller29.
https://addons.mozilla.org/en-US/firefox/addon/smart-zoom/
5 stars 4 forks source link

Auto-panning request #16

Open ticalc-travis opened 7 years ago

ticalc-travis commented 7 years ago

I'm wondering if there could be a way to disable the auto-panning during zoom when the mouse is near the window edges, or perhaps change how it works in some way. Unfortunately, I often find that it gets in my way. In particular, it's not easy to move the mouse pointer outside the content area to work on something else, such as to the menu bar or tabs, or over to a different nearby window on the screen, without triggering scrolling whether I actually want it or not. Also, it can be a bit of an annoyance if I'm simply trying to click or highlight something that happens to be near the edge of the screen.

Having an option to disable it might be nice, or perhaps it would help to have scrolling automatically stop if the mouse cursor has left the document area entirely, as opposed to merely being near the edge but still inside.

Noitidart commented 7 years ago

I totally see how this is an issue. I'll add this as an option definitely. I think I'll have it turned off by default, as it is not intuitive. What do you think?

ticalc-travis commented 7 years ago

I'll leave it up to you, but that sounds good to me. I can appreciate that it might have been meant to make scrolling easier, though personally I end up preferring the existing built-in scrolling methods that I'm so used to (keyboard arrows, mouse wheel, etc.) and which already work well for me. I can't speak for everybody, but maybe this would be how a lot of others would feel as well.

ticalc-travis commented 7 years ago

I just had an idea about the default option thing: If it's possible to detect whether the add-on is being installed for the first time vs. being updated to a version with the new option, it might be a good idea to have the option default to off only in brand-new installations, so that existing users who update and might be expecting the feature to be there don't get confused when it suddenly stops working (because an option for it was added and then defaulted to off, which they might not know about). The idea would be to avoid confusing new users with the panning feature but also to avoid disturbing existing users by changing the current behavior when they update, since they might actually be making use of it (and they could always go in and turn it off if they want). Hopefully what I said made sense. :-)

Noitidart commented 7 years ago

This is a great idea!! Yes its possible to detect udpate. I'll definitely do that!

Noitidart commented 7 years ago

Hey there just wanted to update you, I am currently hit by the WebExtension phenomenon, where all my addons will stop working, so I am working hard to put together future proof addons, so I might not get to this soon, but I will try :(

I really appreciate your idea contribution!

SyncronizedFOX commented 7 years ago

Hey mate, i'd like to put my hand up for this feature also to be added. =] take your time. I'm not fussed. lol

Noitidart commented 7 years ago

Thank you @SyncronizedFOX for your up vote and your patience! :)

Noitidart commented 7 years ago

@Francesco has a slightly different version of the same thing. Me and him then joined to make this. You might find his addon better - https://addons.mozilla.org/en-US/firefox/addon/zoomjs/

It is a webextension so it doesnt work on all webpages but thats the default nature of webextension and why we chose to join up and create smart zoom.