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

[WebGL] Size stuck on connect during instantiation using QQuickView

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 5.10.1
    • QPA: WebGL
    • None

    Description

      If a user connects to an ip:port immediately after the application has launched, the WebGL loading canvas will fill the browser size, but then almost right away afterwards the canvas will resize to the size of the QQuickView (e.g. 800x600), and once the first frame is shown it will remain at the size, and any attempts to resize the browser will be ignored.

      However, if the user waits 1-2 seconds after the application has launched before connecting, then there are no problems and all resizes work properly. I’m currently using 5.10.1 but it doesn’t look like there were any changes between that version and 5.11 that would have fixed this issue.

       

      Workaround: Using QQmlApplicationEngine with QML Window instead of the QQuickView.

      Attachments

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

        Activity

          People

            jefernan Jesus Fernandez
            mangers Marc Angers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes