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

When a new tab is created via Javascript calling window.open() then the new tab does not render right away

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.14.2
    • WebEngine
    • Windows 10

    Description

      When a new tab is created via Javascript calling window.open() then the new tab does not render right away. If you switch away from the tab and back again then it will show up correctly. This can be reproduced using the quicknanobrowser using:

      https://www.w3schools.com/html/tryit.asp?filename=tryhtml_intro

      and the code:

      <!DOCTYPE html>
      <html>​
      <body>​
      ​
      <h2>The window.print() Method</h2>​
      ​
      <p>Click the button.</p>​
      ​
      <button onclick=op()>Show new page</button>​
      <script>​
      function op(){​
      ​
      window.open("https://cdn.freebiesupply.com/logos/large/2x/qt-logo-png-transparent.png")​
      ​
      }​
      </script>​
      ​
      </body>​
      </html>
      

      Attachments

        Issue Links

          Activity

            People

              juri.valdmann Jüri Valdmann (Inactive)
              andysh Andy Shaw
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: