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

[WebGL] Size stuck on connect during instantiation using QQuickView

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Invalid
    • Affects Version/s: 5.10.1
    • Fix Version/s: None
    • Component/s: QPA: WebGL
    • Labels:
      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

            Assignee:
            jefernan Jesus Fernandez
            Reporter:
            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