-
Notifications
You must be signed in to change notification settings - Fork 55
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
Pinch un/zooming not as smooth as other programs on Chromebook #216
Comments
I think, since Viking does not have fractional zooming, using pinch zooming seems susceptible to the sensitivity of the hardware gestures and/or however the low level events get passed on to Viking by GTK, resulting in either too little or too large zoom changes especially noticeable due to the whole number jump(s) in zoom levels. Thus there is a bespoke fudge factor - basically a work around - since I not knowingly otherwise have a way to solve it - that can be applied in an effort to make it seem smoother for any particular system. See Miscellaneous Settings in the Help Guide and especially try setting (and adjusting) the window_pinch_gesture_factor value in your |
OK, setting
(my => may) both on and off didn't help fix the fact that at least on chromebook, Update 2024/4: the discussion that later ensued is over my head so I'll kind of fade out here. |
#249 Has recently been applied which may help this issue regarding smoothness. I'll have to investigate the unpinching behaviour - I do have a laptop with a trackpad - but I don't tend to use the trackpad myself unless my (wireless) mouse has run out of power! |
"Viking treats unpinches as a combination of pans and zooms" I think this depends on ones point of view of the reference point on where the zoom should occur. When these gestures occur, Viking gets the X,Y position of where the gesture occurred - which for a trackpad is where ever the mouse pointer is - and thus the zoom is performed around this point. However (as one is using trackpad), you may be expecting the zoom to occur on the centre of the viewport - so as the zoom is keeping the mouse pointer at the same position - the viewport centre will change. So IMO Viking isn't accidentally performing 'pan' action. I don't know what other similar programs do in this situation; potentially one might be able to detect if the source of the gesture is from a trackpad (rather than say on a touchscreen) and potentially have an advanced option of whether a trackpad gesture should zoom on centre or the mouse pointer. Maybe @yourealwaysbe has an opinion on this. |
I'm also not sure what other apps do. I do like that Viking zooms around the mouse pointer. Then i can point at what I'm interested in and zoom into it, rather than having to try to centre it and realign every now and then. (I'm always using a track pad.) Edit: the pinch zoom by track pad on Viking behaves the same to me as the pinch zoom on Firefox. |
Today on a Chromebook, I compared the super smooth pinch zooming/unzooming of
https://en.wikipedia.org/wiki/Antler,_North_Dakota#/media/File:742d_Missile_Squadron_-_ALL.png with doing the same action on Viking.
It would be great if Viking could be made as smooth as that. Or as smooth as Google Earth zooming.
The text was updated successfully, but these errors were encountered: