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

Crash when assigning nullptr to ShellSurfaceItem.shellSurface

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.8.0
    • Fix Version/s: 5.9.0 Beta 1
    • Component/s: QPA: Wayland
    • Labels:
      None

      Description

      Using the QtQuick integration of the QtWayland Compositor, I use shell surfaces to be shown in different ShellSurfaceItems. Specifically, on demand, I assign different shell surfaces to my ShellSurfaceItem.
      ShellSurfaceItem can cope with having the shellSurface property being nullptr, initially. But when setting the shellSurface to nullptr later on, after a "proper" shell surface was assigned, the item state is not correctly updated, leading to a crash by accessing the nullptr object.

        Attachments

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

          Activity

            People

            Assignee:
            johanhelsing Johan Helsing
            Reporter:
            cordlandwehr Andreas Cord-Landwehr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes