Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-46507

Need a way to show/hide native WebView in QML

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.5.0 RC
    • 5.5.0 Beta
    • WebView
    • None

    Description

      In porting an app to Android using the native WebView, I couldn't find a way to show or hide the web page. It always appears on top of other QML components regardless of what its or its parents "visible" property is set to.

      As a temporary workaround I'm setting the width and height of the WebView to 0, but this causes a re-layout of the page and some undesirable visual flicker as well.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            stromme Christian
            mrericsir Eric Gregory
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes