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

wl_surface does not exist when QPlatformSurfaceEvent::SurfaceCreated is sent

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.8.0
    • Fix Version/s: 5.10.0 Alpha
    • Component/s: QPA: Wayland
    • Labels:
      None
    • Environment:
      ArchLinux system, with packages from [testing] repo

      Description

      plasmashell sets type of Desktop on its surfaces, however when it tries to get wl_surface for the QWindow, it is not getting wl_surface returned,

      https://cgit.kde.org/kwayland.git/tree/src/client/surface.cpp#n99

      However nativeResourceForWindow returns just nullptr,

      which results in https://cgit.kde.org/plasma-workspace.git/tree/shell/desktopview.cpp#n311 failing and breaking the positioning for all of Plasma session.

      Downstream bug: https://bugs.kde.org/show_bug.cgi?id=375539

        Attachments

        1. log
          82 kB
          Bhushan Shah
        2. surfacecreation.diff
          2 kB
          Marco
        For Gerrit Dashboard: QTBUG-58423
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            johanhelsing Johan Helsing
            Reporter:
            bshah Bhushan Shah
            Votes:
            9 Vote for this issue
            Watchers:
            33 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes