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

wl_surface does not exist when QPlatformSurfaceEvent::SurfaceCreated is sent

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P1: Critical
    • Resolution: Done
    • 5.8.0
    • 5.10.0 Alpha
    • QPA: Wayland
    • None
    • 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
        2. surfacecreation.diff
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes