Page 1 of 1

Disabling Zoom/Pinchzoom

Posted: Thu Feb 07, 2019 1:53 pm
by MasseyRob
Hi all

We are setting up a touch screen with a webpage that is going to show our new books list that will be out in a public space running the latest version of PWB CEF. One thing we are struggling to prevent happening though is pinchzoom. Is there a way in the ini file to prevent zoom/pinchzoom? I have searched zoom and set everything to false that we thought might allow zooming, but it still allows pinchzoom.

As always, all suggestions welcomed and appreciated :)

Cheers

Rob
Massey University Library

Re: Disabling Zoom/Pinchzoom

Posted: Thu Feb 07, 2019 3:11 pm
by Scott
If you are using PWB CEF, try adding --disable-pinch to the command line that starts PWB. This is the Chrome command line to disable pinch-zoom.

https://peter.sh/experiments/chromium-c ... -switches/

--Scott

Re: Disabling Zoom/Pinchzoom

Posted: Thu Feb 07, 2019 3:19 pm
by MasseyRob
Scott wrote:If you are using PWB CEF, try adding --disable-pinch to the command line that starts PWB. This is the Chrome command line to disable pinch-zoom.

https://peter.sh/experiments/chromium-c ... -switches/

--Scott
Perfect.. many thanks, Scott

Cheers

Rob

Re: Disabling Zoom/Pinchzoom

Posted: Sat Apr 06, 2019 7:09 am
by Kernan
MasseyRob wrote: Thu Feb 07, 2019 1:53 pm Hi all

We are setting up lightweight wheelchairs and a touch screen with a webpage that is going to show our new books list that will be out in a public space running the latest version of PWB CEF. One thing we are struggling to prevent happening though is pinchzoom. Is there a way in the ini file to prevent zoom/pinchzoom? I have searched zoom and set everything to false that we thought might allow zooming, but it still allows pinchzoom.

As always, all suggestions welcomed and appreciated :)

Cheers

Rob
Massey University Library
Does PWB share a lot of the same commands like this with Chrome in general?

Re: Disabling Zoom/Pinchzoom

Posted: Sat Apr 06, 2019 1:30 pm
by Scott
PWB CEF which uses the Chrome HTML rendering engine uses almost all the Chrome command line switches.

--Scott