Skip to content

wl_shell no longer supported by compositors, hello example now broken #8

@Tooniis

Description

@Tooniis

wl_shell no longer gets registered:

Running examples/list_registry/wayland_list_registry 
registering wl_compositor
registering wl_drm
registering wl_shm
registering wl_output
registering zxdg_output_manager_v1
registering wl_data_device_manager
registering zwp_primary_selection_device_manager_v1
registering gtk_primary_selection_device_manager
registering wl_subcompositor
registering xdg_wm_base
registering zxdg_shell_v6
registering gtk_shell1
registering wp_viewporter
registering zwp_pointer_gestures_v1
registering zwp_tablet_manager_v2
registering wl_seat
registering zwp_relative_pointer_manager_v1
registering zwp_pointer_constraints_v1
registering zxdg_exporter_v1
registering zxdg_importer_v1
registering zwp_linux_dmabuf_v1
registering zwp_keyboard_shortcuts_inhibit_manager_v1
registering zwp_text_input_manager_v3
registering wp_presentation
registering xdg_activation_v1

This breaks the hello example:

Program received signal SIGSEGV, Segmentation fault.
0x00005555555da3e4 in wayland.client.core.WlProxy.proxy() inout (this=0x0) at client/source/wayland/client/core.d:225
225	        return _proxy;
(gdb) backtrace
#0  0x00005555555da3e4 in wayland.client.core.WlProxy.proxy() inout (this=0x0) at client/source/wayland/client/core.d:225
#1  0x00005555555e2239 in wayland.client.protocol.WlShell.getShellSurface(wayland.client.protocol.WlSurface) (this=0x0, 
    surface=0x7ffff7b57300) at client/source/wayland/client/protocol.d:1809
#2  0x00005555555d824c in hello.Hello.createSurface() (this=0x7ffff7b5b370) at examples/hello/source/hello.d:143
#3  0x00005555555d7ac1 in D main () at examples/hello/source/hello.d:30

Weston reports this

[13:45:36.154] Note: support for the deprecated wl_shell interface is disabled. If a legacy client still needs it, it can be re-enabled by passing -Ddeprecated-wl-shell=true to Meson when building Weston.

Tested on weston 10.0 and mutter 42.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions