Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Blank page as a result of using IFrames?
Forum Update on Monday, May 27th 2025

Blank page as a result of using IFrames?

Scheduled Pinned Locked Moved Unsolved Qt WebKit
7 Posts 2 Posters 1.1k Views
  • 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.
  • A Offline
    A Offline
    agarny
    wrote on last edited by
    #1

    Hi,

    I am using Qt WebKit 5.212.0 alpha4 in my application and I am getting a blank page when trying to load https://identifiers.org/.

    I build Qt WebKit as a CMake external project, so I thought that I might have done something wrong and therefore decided to build Qt WebKit from scratch.

    From there, I tried to load https://identifiers.org/ using both MiniBrowser and QtTestBrowser, and sure enough I am also getting a blank page. (Actually, I can see the website's message about cookies, but nothing else.)

    I have contacted the people behind that website, but they don't know anything about Qt WebKit, so they can't really help. Fair enough.

    However, they told me that their website uses IFrames (through a third-party library) and were therefore wondering whether that couldn't be the cause of the problem?

    For what it is worth, I have (using Google Chrome) saved https://identifiers.org/ as a complete web page (i.e. including the JavaScript, CSS, etc. files) and loaded that page locally in both MiniBrowser and QtTestBrowser and it's all working fine.

    So, would anyone have any ideas as what is going wrong here?

    Thanks in advance and cheers, Alan.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      agarny
      wrote on last edited by
      #2

      @Konstantin-Tokarev, you wouldn't have any ideas about this one by any chance?

      1 Reply Last reply
      0
      • K Offline
        K Offline
        Konstantin Tokarev
        wrote on last edited by
        #3

        It's a bug or non-conformant behavior in old WebKit. Dev branch doesn't expose it, but it has other bug which doesn't allow correct rendering of page yet.

        1 Reply Last reply
        0
        • A Offline
          A Offline
          agarny
          wrote on last edited by
          #4

          @Konstantin-Tokarev said in Blank page as a result of using IFrames?:

          It's a bug or non-conformant behavior in old WebKit. Dev branch doesn't expose it, but it has other bug which doesn't allow correct rendering of page yet.

          Argh, I was afraid it might be something like that. 😕 What would you recommend, if anything?

          1 Reply Last reply
          0
          • A Offline
            A Offline
            agarny
            wrote on last edited by
            #5

            @Konstantin-Tokarev, I have been working on switching to Qt WebEngine, but suffice to say that I am not at all impressed. In other words, I would really like to stick to QtWebKit, if at all possible.

            You said that my issue with QtWebKit (i.e. https://identifiers.org/ renders a blank page) is due to "a bug or non-conformant behavior in old WebKit". I am not quite sure what you mean by "old" here. Am I to understand that there are different versions of WebKit?

            All I know is that https://identifiers.org/ works fine in Safari. So, what is the difference between the version of WebKit used in Safari and the one used in QtWebKit? Are those not the same? If not, why not?

            1 Reply Last reply
            0
            • K Offline
              K Offline
              Konstantin Tokarev
              wrote on last edited by Konstantin Tokarev
              #6

              So, what is the difference between the version of WebKit used in Safari and the one used in QtWebKit. Are those not the same? If not, why not?

              QtWebKit 5.212.x is based on old WebKit branch from 2016 with occasional backports of fixes and features. Work on updating is still ongoing.

              A 1 Reply Last reply
              0
              • K Konstantin Tokarev

                So, what is the difference between the version of WebKit used in Safari and the one used in QtWebKit. Are those not the same? If not, why not?

                QtWebKit 5.212.x is based on old WebKit branch from 2016 with occasional backports of fixes and features. Work on updating is still ongoing.

                A Offline
                A Offline
                agarny
                wrote on last edited by
                #7

                @Konstantin-Tokarev said in Blank page as a result of using IFrames?:

                QtWebKit 5.212.x is based on old WebKit branch from 2016 with occasional backports of fixes and features. Work on updating is still ongoing.

                Ok, that explains a lot. Any ETA regarding the new WebKit branch by any chance?

                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