[webkit-gtk] Disable pinch zoom on webview

Meliton Pal meliton.pal at xenial.com
Fri Jan 12 01:57:40 PST 2024


Hi ALL!
Is there any possibility to disable the pinch zoom on webview?

We are already tried:
webkit_settings_set_enable_developer_extras
webkit_settings_set_enable_site_specific_quirks
Combinated with:
<meta name="viewport" content="width=device-width, initial-scale=1,
maximum-scale=1, user-scalable=no"/>

And

webkit_web_view_set_zoom_level(... , 1.0);

Combinated with :
  gtk_gesture_zoom

Unfortunately, neither solution worked.

used version: webkitgtk-6.0

Best regards:
Toni

-- 
NOTICE: This email message is for the sole use of the addressee(s) named 
above and may contain confidential and privileged information. Any 
unauthorized review, use, disclosure or distribution of this message or any 
attachments is expressly prohibited. If you are not the intended recipient, 
please contact the sender by reply email and destroy all copies and backups 
of the original message. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20240112/05551af2/attachment.htm>


More information about the webkit-gtk mailing list