Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Is it possible to disable Pinch To Zoom in QWebView?
Forum Updated to NodeBB v4.3 + New Features

Is it possible to disable Pinch To Zoom in QWebView?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 1.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    JonathanA
    wrote on last edited by
    #1

    This has been asked a few times, but I don't see any answers, so I thought I would ask again - is there anyway to disable the pinch to zoom "feature" in a QWebView? We do our UI in a WebView and some users, particularly on the Mac, accidentally "zoom" our UI and it is very difficult, if not impossible, to get it back to normal. One of our users reboots his Mac book every time this happens!

    Surely there is some way to disable this "feature", either via the page's JavaScript or via some setting in QWebView / QWebEngine.

    Jonathan

    raven-worxR 1 Reply Last reply
    0
    • J JonathanA

      This has been asked a few times, but I don't see any answers, so I thought I would ask again - is there anyway to disable the pinch to zoom "feature" in a QWebView? We do our UI in a WebView and some users, particularly on the Mac, accidentally "zoom" our UI and it is very difficult, if not impossible, to get it back to normal. One of our users reboots his Mac book every time this happens!

      Surely there is some way to disable this "feature", either via the page's JavaScript or via some setting in QWebView / QWebEngine.

      Jonathan

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @JonathanA
      something like this?
      https://doc.qt.io/qt-5/qtwebengine-features.html#touch

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      J 1 Reply Last reply
      1
      • raven-worxR raven-worx

        @JonathanA
        something like this?
        https://doc.qt.io/qt-5/qtwebengine-features.html#touch

        J Offline
        J Offline
        JonathanA
        wrote on last edited by
        #3

        @raven-worx
        Thanks - I'll give these a try.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved