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

sizeFollowsWindow=false in qtwayland compositor causes qtwebengine to crash/malfunction

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8.2
    • None

    Description

      Hi

      I got qtwayland based compositor and a browser based on webengine.

      My target is a Linux based ARM64 device.

      I got a a few different problems, that seem to be related to sizeFollowsWindow in qtwayland, but seen when using a browser based on webengine.

       

      Problem 1 - select dropdown malfunction:

      Select dropdowns does not work if sizeFollowsWindow is not set.

      Attached 3 files to test the problem:

      • compositor.qml - a minimal compositor
      • demo.html - a html page that just a select dropdown

       

      With sizeFollowsWindow, the select dropdown is shown perfectly fine

       

      When sizeFollowsWindow is set to false, then the select dropdown is not expanded when pressed, and hence looks like this:

       

       

      Problem 2 - memory leak

      Setting sizeFollowsWindow to true and setting the url to:

      https://e.infogram.com/dfc9a09d-0066-48a7-9288-f3e1ef525af9?parent_url=about%3Asrcdoc&src=embed

      Page is shown perfectly fine:

       

       

      If instead setting sizeFollowsWindow to false, webengine will leak memory and crash the system in a couple of minutes.

      Attachments

        1. compositor.qml
          1 kB
        2. demo.html
          0.4 kB
        3. demo.qml
          0.4 kB
        4. problem2.png
          problem2.png
          56 kB
        5. select_error.png
          select_error.png
          11 kB
        6. select_working.png
          select_working.png
          12 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            cbs chbs@prevas.dk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes