Disabling Zoom/Pinchzoom

Questions and comments about currently under development PWB v3

Moderators: Tyler, Scott

Post Reply
MasseyRob
Contributor
Contributor
Posts: 32
Joined: Sun Nov 11, 2007 3:10 pm

Disabling Zoom/Pinchzoom

Post 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

Scott
Site Admin
Site Admin
Posts: 2527
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Re: Disabling Zoom/Pinchzoom

Post 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

MasseyRob
Contributor
Contributor
Posts: 32
Joined: Sun Nov 11, 2007 3:10 pm

Re: Disabling Zoom/Pinchzoom

Post 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

Kernan
Spectator
Spectator
Posts: 1
Joined: Fri Apr 05, 2019 3:18 am

Re: Disabling Zoom/Pinchzoom

Post 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?
Last edited by Kernan on Fri Feb 16, 2024 5:41 am, edited 2 times in total.

Scott
Site Admin
Site Admin
Posts: 2527
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Re: Disabling Zoom/Pinchzoom

Post by Scott »

PWB CEF which uses the Chrome HTML rendering engine uses almost all the Chrome command line switches.

--Scott

Post Reply