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

Crash running rendernode example under Wayland

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.15.2
    • QPA: Wayland
    • None
    • Fedora 37 with Gnome 43
    • Linux/Wayland

      I've tried running the Scene Graph - Custom Rendering with QSGRenderNode sample on Fedora 37 and Gnome 43. The sample runs fine, but if

          qputenv("QT_QPA_PLATFORM", "wayland"); 

      is used to force the application run under wayland, there is a crash happening when the application windows is closed. Running the debugger points to line 568 in qwaylandwindow.cpp in this code:

      void QWaylandWindow::damage(const QRect &rect)
      {
          mSurface->damage(rect.x(), rect.y(), rect.width(), rect.height()); // line 568
      } 

      I didn't verify the issue under Qt6 as it is only available to run with Qt 5.

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

            qt.team.graphics.and.multimedia Qt Graphics Team
            daljit97 Daljit Singh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes