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

Crash running rendernode example under Wayland

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes