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

QPA - Wayland application is blocked when embed into WaylandCompositor app

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Invalid
    • Affects Version/s: 5.12.3
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      Linux/X11

      Description

      I adapted the example app to support creating windows and embedding content into them (see attachment).

      When C++ clients (single threaded) are connecting everything works fine. I am also able to embed the QtCreator etc. without problems via using --platform wayland. But when a qml client (+render thread) is connected, the event loop of the client freezes (see stacktrace.txt) and the client is not responsive nor timer etc. are working.  Embedding any arbitrary qml file via qmlscenes is also not possible.

      It seems that the client gets stuck after an expose event from the main thread, while the render thread tries a frame sync. I can imagine, that the wayland compositor is somehow blocking it, and the render thread is blocking the main thread. But as you can see in the source, its nothing special.

        Attachments

        1. stacktrace.txt
          17 kB
        2. WaylandInterface.zip
          10 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              johanhelsing Johan Helsing
              Reporter:
              mesutx Mesut Ozdogan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes