cargo run -p gallery
guise: failed to create webview: the window handle kind is not supported
[...]
I tried the following (on Linux / Ubuntu / Wayland):
- Force
gpui to use X11 backend.
- Setting
WAYLAND_DISPLAY doesn't help either and panics:
thread 'main' panicked at gpui-0.2.2/src/platform/linux/x11/window.rs:316:9:
not implemented
By digging more into it by using Claude here are its summary:
wry's WebKitGTK backend only accepts an Xlib raw-window-handle when embedding as a child (wry0.55.1,src/webkitgtk/mod.rs), but gpui's Wayland backend hands it a Wayland handle instead (rejected), and gpui's X11 backend never implemented HasWindowHandle/HasDisplayHandleat all —X11Window::window_handle()is a literalunimplemented!() (gpui0.2.2,src/platform/linux/x11/window.rs`; still true on Zed's current main). So neither Linux backend currently has a working path.
As long as WebView is not supported for Linux in guise, my suggestions are:
- A) make
webview feature optional
or
- B) disable
webview feature for gallery (and tailor?)
I tried the following (on Linux / Ubuntu / Wayland):
gpuito use X11 backend.WAYLAND_DISPLAYdoesn't help either and panics:thread 'main' panicked at gpui-0.2.2/src/platform/linux/x11/window.rs:316:9: not implementedBy digging more into it by using Claude here are its summary:
As long as
WebViewis not supported for Linux inguise, my suggestions are:webviewfeature optionalor
webviewfeature forgallery(andtailor?)