Disable camera zoom? [answered]
I only use the camera zoom by accident. Is there a way to disable it, to make an accidental pinch do nothing?
We have moved to a new Sailfish OS Forum. Please start new discussions there.
I only use the camera zoom by accident. Is there a way to disable it, to make an accidental pinch do nothing?
Yes, it is possible. You will need to edit a file in root, this means using terminal, or I can make a patch for you. If you choose the patch option, this means you will need to install Patchmanager from Openrepos.
Which would you prefer?, edit yourself or apply a patch?
Here's the file and line the requires a simple edit to get the effect you want;
/usr/share/jolla-camera/pages/capture/CaptureOverlay.qml
Line 113
The original line looks like this;
onPinchUpdated: {
camera.digitalZoom = Math.max(1, Math.min(
The line needs to look like this;
onPinchUpdated: {
camera.digitalZoom = Math.min(1, Math.max(
Save the file and fire up the camera, zoom should now be disabled although the zoom bar/indicator still shows, it doesn't move.
IF you are not keen on editing the file yourself, let me know and I can make a patch.
This thread is public, all members of Together.Jolla.Com can read this page.
Asked: 2016-10-20 01:20:49 +0300
Seen: 503 times
Last updated: Oct 23 '16
Is digital zoom coming soon to Jolla's? [duplicate]
Camera zoom out doesn't perform well
What is the best maps/navigation application to use on Jolla? [answered]
[Implemented in 1.0.3.8] Zoom support in Camera [answered]
Toggle between video and still modes in camera app (faster than now) [released]
Dark video in low light from front camera [released]
Possibility to turn off "zoom in" when selecting text to copy
[Feature-request] Swirl gestures to zoom in/out in browser(like N900)