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

Webview with wrong size when parent is scaled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.7.1, 5.9.0
    • WebView
    • None
    • Tested on:

      QT on 5.9 64Bits VS2013

      QT on 5.7.1 32Bits VS2013

       

      I suppose that this issues occurs in other versions

    Description

      Hi,

       to replicate this bug behavior, I used "minibrowser" sample, and just wrapped webview with an Item and scaled it.

       

      Item { 

         anchors.fill: parent 

         scale: 0.5 

         Rectangle{ 

           anchors.fill: webView 

            color: "red" 

         }  

         WebView { 

            id: webView

           anchors.fill: parent 

         url: initialUrl

            onLoadingChanged: { 

               if (loadRequest.errorString) console.error(loadRequest.errorString); 

            } 

        } 

      }

       

      Visual effect:

       

       

       

      Attachments

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

        Activity

          People

            stromme Christian
            mdias mdias
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes