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

Refresh issue in WebEngineView when window.open() is called

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • 5.14.0, 5.14.1
    • WebEngine
    • None
    • Archlinux, Qt 5.14.1, x86-64, X11, NVidia driver.
      Also reproduced on LuneOS with these platforms:
       - Qt 5.14 (and 5.14.1)
       - arm64 but also qemu-x86
       - Wayland
       - Mesa 19.3
    • Linux/Wayland, Linux/X11

    Description

      This is a regression from Qt 5.13.

      When opening a new window from javascript with window.open(), the newly opened window shows nothing, though the content is actually loaded. It looks like a refresh issue.

      To reproduce with quicknanobrowser:

      1. start quicknanobrowser
      2. open DevTool pane
      3. in the console, type window.open("https://www.google.com")

      The result is that a new tab opens, but stays blank. However, switching back-and-forth between tabs is enough to trigger a visual redraw and see the content.

      Attachments

        1. QuickNano-qt515b4.PNG
          121 kB
          G.C. (Herman) van Hazendonk

        Issue Links

          Activity

            People

              juri.valdmann Jüri Valdmann (Inactive)
              tofe Christophe Chapuis
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: