wezterm icon indicating copy to clipboard operation
wezterm copied to clipboard

window::os::wayland::connection > Unable to resolve appearance using xdg-desktop-portal

Open alembiq opened this issue 6 months ago • 1 comments

What Operating System(s) are you seeing this problem on?

Linux Wayland

Which Wayland compositor or X11 Window manager(s) are you using?

Sway and Hyprland

WezTerm version

56a27e9

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

Yes, and I updated the version box above to show the version of the nightly that I tried

Describe the bug

unable to start wezterm

To Reproduce

No response

Configuration

local wezterm = require 'wezterm';

local wezterm = require 'wezterm';
local config = wezterm.config_builder()


config.enable_tab_bar = true
config.hide_tab_bar_if_only_one_tab = true
config.use_fancy_tab_bar = false
config.scrollback_lines = 5000
config.enable_scroll_bar = true
config.font = wezterm.font 'FiraCode Nerd Font Mono'
config.color_scheme = 'custom'
config.check_for_updates = false
config.warn_about_missing_glyphs=false
config.front_end = 'WebGpu'

config.keys = {
    { key = '[',     mods = 'CTRL|ALT',  action = wezterm.action.SplitVertical({ domain = 'CurrentPaneDomain' }), },
    { key = ']',     mods = 'CTRL|ALT',  action = wezterm.action.SplitHorizontal({ domain = 'CurrentPaneDomain' }), },
    { key = 'k',     mods = 'CTRL|ALT',  action = wezterm.action.ActivatePaneDirection('Up') },
    { key = 'j',     mods = 'CTRL|ALT',  action = wezterm.action.ActivatePaneDirection('Down') },
    { key = 'h',     mods = 'CTRL|ALT',  action = wezterm.action.ActivatePaneDirection('Left') },
    { key = 'l',     mods = 'CTRL|ALT',  action = wezterm.action.ActivatePaneDirection('Right') },
}

return config

Expected Behavior

No response

Logs

WAYLAND_DEBUG=1 wezterm
[ 913869.703]  -> [email protected]_registry(new id wl_registry@2)
[ 913869.777]  -> [email protected](new id wl_callback@3)
[ 913870.172] [email protected]_id(3)
[ 913870.212] [email protected](1, "wl_seat", 9)
[ 913870.250] [email protected](2, "wl_data_device_manager", 3)
[ 913870.270] [email protected](3, "wl_compositor", 6)
[ 913870.289] [email protected](4, "wl_subcompositor", 1)
[ 913870.308] [email protected](5, "wl_shm", 1)
[ 913870.331] [email protected](6, "wp_viewporter", 1)
[ 913870.350] [email protected](7, "wp_tearing_control_manager_v1", 1)
[ 913870.368] [email protected](8, "wp_fractional_scale_manager_v1", 1)
[ 913870.387] [email protected](9, "zxdg_output_manager_v1", 3)
[ 913870.410] [email protected](10, "wp_cursor_shape_manager_v1", 1)
[ 913870.429] [email protected](11, "zwp_idle_inhibit_manager_v1", 1)
[ 913870.448] [email protected](12, "zwp_relative_pointer_manager_v1", 1)
[ 913870.469] [email protected](13, "zxdg_decoration_manager_v1", 1)
[ 913870.488] [email protected](14, "wp_alpha_modifier_v1", 1)
[ 913870.507] [email protected](15, "zwlr_gamma_control_manager_v1", 1)
[ 913870.526] [email protected](16, "ext_foreign_toplevel_list_v1", 1)
[ 913870.587] [email protected](17, "zwp_pointer_gestures_v1", 3)
[ 913870.617] [email protected](18, "zwlr_foreign_toplevel_manager_v1", 3)
[ 913870.662] [email protected](19, "zwp_keyboard_shortcuts_inhibit_manager_v1", 1)
[ 913870.677] [email protected](20, "zwp_text_input_manager_v3", 1)
[ 913870.695] [email protected](21, "zwp_pointer_constraints_v1", 1)
[ 913870.708] [email protected](22, "zwlr_output_power_manager_v1", 1)
[ 913870.720] [email protected](23, "xdg_activation_v1", 1)
[ 913870.733] [email protected](24, "ext_idle_notifier_v1", 1)
[ 913870.747] [email protected](25, "ext_session_lock_manager_v1", 1)
[ 913870.760] [email protected](26, "zwp_input_method_manager_v2", 1)
[ 913870.773] [email protected](27, "zwp_virtual_keyboard_manager_v1", 1)
[ 913870.786] [email protected](28, "zwlr_virtual_pointer_manager_v1", 2)
[ 913870.803] [email protected](29, "zwlr_output_manager_v1", 4)
[ 913870.823] [email protected](30, "org_kde_kwin_server_decoration_manager", 1)
[ 913870.844] [email protected](31, "hyprland_focus_grab_manager_v1", 1)
[ 913870.863] [email protected](32, "zwp_tablet_manager_v2", 1)
[ 913870.884] [email protected](33, "zwlr_layer_shell_v1", 5)
[ 913870.905] [email protected](34, "wp_presentation", 1)
[ 913870.918] [email protected](35, "xdg_wm_base", 6)
[ 913870.931] [email protected](36, "zwlr_data_control_manager_v1", 2)
[ 913870.945] [email protected](37, "zwp_primary_selection_device_manager_v1", 1)
[ 913870.958] [email protected](38, "xwayland_shell_v1", 1)
[ 913870.972] [email protected](39, "wl_drm", 2)
[ 913870.985] [email protected](40, "zwp_linux_dmabuf_v1", 5)
[ 913871.002] [email protected](41, "hyprland_toplevel_export_manager_v1", 2)
[ 913871.015] [email protected](42, "zwp_text_input_manager_v1", 1)
[ 913871.029] [email protected](43, "hyprland_global_shortcuts_manager_v1", 1)
[ 913871.042] [email protected](44, "zwlr_screencopy_manager_v1", 3)
[ 913871.055] [email protected](45, "wp_drm_lease_device_v1", 1)
[ 913871.068] [email protected](47, "wl_output", 4)
[ 913871.081] [email protected](4026)
[ 913871.136]  -> [email protected](5, "wl_shm", 1, new id [unknown]@3)
[ 913871.226]  -> [email protected]_pool(new id wl_shm_pool@4, fd 11, 1)
[ 913871.297]  -> [email protected](3, "wl_compositor", 6, new id [unknown]@5)
[ 913871.330]  -> [email protected](4, "wl_subcompositor", 1, new id [unknown]@6)
[ 913871.365]  -> [email protected](47, "wl_output", 4, new id [unknown]@7)
[ 913871.385]  -> [email protected](9, "zxdg_output_manager_v1", 3, new id [unknown]@8)
[ 913871.418]  -> [email protected]_xdg_output(new id zxdg_output_v1@9, wl_output@7)
[ 913871.458]  -> [email protected](20, "zwp_text_input_manager_v3", 1, new id [unknown]@10)
[ 913871.480]  -> [email protected](1, "wl_seat", 7, new id [unknown]@11)
[ 913871.501]  -> [email protected](35, "xdg_wm_base", 6, new id [unknown]@12)
[ 913871.520]  -> [email protected](13, "zxdg_decoration_manager_v1", 1, new id [unknown]@13)
[ 913871.539]  -> [email protected](2, "wl_data_device_manager", 3, new id [unknown]@14)
[ 913871.589]  -> [email protected](37, "zwp_primary_selection_device_manager_v1", 1, new id [unknown]@15)
[ 914174.838] [email protected](0)
[ 914174.885] [email protected](1)
[ 914174.896] [email protected](875709016)
[ 914174.913] [email protected](875708993)
[ 914174.924] [email protected](875710274)
[ 914174.933] [email protected](842094674)
[ 914174.943] [email protected](842088786)
[ 914174.951] [email protected](892426322)
[ 914174.976] [email protected](892420434)
[ 914174.998] [email protected](909199186)
[ 914175.014] [email protected](808665688)
[ 914175.031] [email protected](808665665)
[ 914175.046] [email protected](1211384408)
[ 914175.061] [email protected](1211384385)
[ 914175.077] [email protected](942948952)
[ 914175.091] [email protected](942948929)
[ 914175.106] [email protected](0, 0, 700, 390, 0, "Lenovo Group Limited", "LEN T32h-20", 0)
[ 914175.156] [email protected]("DP-5")
[ 914175.171] [email protected]("Lenovo Group Limited LEN T32h-20 VNA5ZT78 (DP-5)")
[ 914175.184] [email protected](1)
[ 914175.195] [email protected](3, 2560, 1440, 59951)
[ 914175.209] [email protected]()
[ 914175.221] [email protected]("DP-5")
[ 914175.239] [email protected]("Lenovo Group Limited LEN T32h-20 VNA5ZT78 (DP-5)")
[ 914175.256] [email protected]_position(0, 0)
[ 914175.272] [email protected]_size(2560, 1440)
[ 914175.287] [email protected]()
[ 914175.302] [email protected]("Hyprland")
[ 914175.317] [email protected](7)
[ 914175.866]  -> [email protected]_keyboard(new id wl_keyboard@16)
[ 914175.932]  -> [email protected]_text_input(new id zwp_text_input_v3@17, wl_seat@11)
[ 914175.971]  -> [email protected]_data_device(new id wl_data_device@18, wl_seat@11)
[ 914176.000]  -> [email protected]_device(new id zwp_primary_selection_device_v1@19, wl_seat@11)
[ 914176.031]  -> [email protected]_surface(new id wl_surface@20)
[ 914176.051]  -> [email protected]_pointer(new id wl_pointer@21)
[ 914176.075]  -> [email protected](10, "wp_cursor_shape_manager_v1", 1, new id [unknown]@22)
[ 914176.104]  -> [email protected]_pointer(new id wp_cursor_shape_device_v1@23, wl_pointer@21)
[ 914194.609]  -> [email protected]_surface(new id wl_surface@24)
[ 914194.985]  -> [email protected]_xdg_surface(new id xdg_surface@25, wl_surface@24)
[ 914195.015]  -> [email protected]_toplevel(new id xdg_toplevel@26)
[ 914195.045]  -> [email protected]_toplevel_decoration(new id zxdg_toplevel_decoration_v1@27, xdg_toplevel@26)
[ 914195.069]  -> [email protected]_mode(2)
[ 914195.091]  -> [email protected]_app_id("org.wezfurlong.wezterm")
[ 914195.111]  -> [email protected]_title("wezterm")
[ 914195.129]  -> [email protected]_mode(2)
[ 914195.197]  -> [email protected]_pool(new id wl_shm_pool@28, fd 23, 1)
[ 914195.267]  -> [email protected]_surface(new id wl_surface@29)
[ 914195.293]  -> [email protected]_subsurface(new id wl_subsurface@30, wl_surface@29, wl_surface@24)
[ 914195.325]  -> [email protected]_sync()
[ 914195.341]  -> [email protected]_surface(new id wl_surface@31)
[ 914195.366]  -> [email protected]_subsurface(new id wl_subsurface@32, wl_surface@31, wl_surface@24)
[ 914195.385]  -> [email protected]_sync()
[ 914195.403]  -> [email protected]_surface(new id wl_surface@33)
[ 914195.423]  -> [email protected]_subsurface(new id wl_subsurface@34, wl_surface@33, wl_surface@24)
[ 914195.446]  -> [email protected]_sync()
[ 914195.462]  -> [email protected]_surface(new id wl_surface@35)
[ 914195.482]  -> [email protected]_subsurface(new id wl_subsurface@36, wl_surface@35, wl_surface@24)
[ 914195.501]  -> [email protected]_sync()
[ 914195.523]  -> [email protected]_surface(new id wl_surface@37)
[ 914195.539]  -> [email protected]_subsurface(new id wl_subsurface@38, wl_surface@37, wl_surface@24)
[ 914195.577]  -> [email protected]_sync()
[ 914195.590]  -> [email protected]()
[ 914195.605]  -> [email protected]()
[ 914195.619]  -> [email protected]()
[ 914195.631]  -> [email protected]()
[ 914195.644]  -> [email protected]()
[ 914195.655]  -> [email protected]()
[ 914195.692]  -> [email protected]()
[ 914195.703]  -> [email protected]()
[ 914195.716]  -> [email protected]()
[ 914195.727]  -> [email protected]()
[ 914195.743]  -> [email protected]_min_size(32, 32)
[ 914195.759]  -> [email protected]_window_geometry(0, 0, 820, 500)
[ 914195.779]  -> [email protected]()
09:40:48.914  WARN   window::os::wayland::connection > Unable to resolve appearance using xdg-desktop-portal: get_appearance.read_setting: Reading xdg-portal org.freedesktop.appearance color-scheme: org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop
[ 914199.701] [email protected](1, fd 23, 70522)
[ 914199.788] [email protected]_info(25, 600)
[ 914258.771] [email protected]_id(30)
[ 914258.817] [email protected]_id(29)
[ 914258.827] [email protected]_id(32)
[ 914258.834] [email protected]_id(31)
[ 914258.842] [email protected]_id(34)
[ 914258.852] [email protected]_id(33)
[ 914258.860] [email protected]_id(36)
[ 914258.871] [email protected]_id(35)
[ 914258.879] [email protected]_id(38)
[ 914258.890] [email protected]_id(37)
[ 914258.905] [email protected]_capabilities(array[8])
[ 914258.929] [email protected](2)
[ 914258.951] [email protected](2)
[ 914258.963] [email protected](2)
[ 914258.980] [email protected](1280, 708, array[16])
[ 914258.997] [email protected](4027)
[ 914259.098]  -> [email protected]_configure(4027)
[ 914259.927]  -> [email protected]_window_geometry(0, 0, 1280, 708)
[ 914262.044]  -> [email protected]()
[ 914262.105]  -> [email protected](new id wl_callback@37)
09:40:49.924  ERROR  env_bootstrap                   > panic at /build/cargo-vendor-dir/wgpu-hal-0.18.1/src/gles/egl.rs:798:88 - called `Option::unwrap()` on a `None` value
   0: env_bootstrap::register_panic_hook::{{closure}}
   1: std::panicking::rust_panic_with_hook
   2: std::panicking::begin_panic_handler::{{closure}}
   3: std::sys_common::backtrace::__rust_end_short_backtrace
   4: rust_begin_unwind
   5: core::panicking::panic_fmt
   6: core::panicking::panic
   7: core::option::unwrap_failed
   8: <wgpu_hal::gles::egl::Instance as wgpu_hal::Instance<wgpu_hal::gles::Api>>::init
   9: wgpu_core::instance::Instance::new
  10: wgpu::Instance::new
  11: wezterm_gui::termwindow::TermWindow::new_window::{{closure}}
  12: <async_task::runnable::Builder<M>::spawn_local::Checked<F> as core::future::future::Future>::poll
  13: async_task::raw::RawTask<F,T,S,M>::run
  14: window::spawn::SpawnQueue::run
  15: <window::os::wayland::connection::WaylandConnection as window::connection::ConnectionOps>::run_message_loop
  16: wezterm_gui::run_terminal_gui
  17: wezterm_gui::main
  18: std::sys_common::backtrace::__rust_begin_short_backtrace
  19: std::rt::lang_start::{{closure}}
  20: std::rt::lang_start_internal
  21: main
  22: __libc_start_call_main
  23: __libc_start_main@@GLIBC_2.34
  24: _start

thread 'main' panicked at /build/cargo-vendor-dir/wgpu-hal-0.18.1/src/gles/egl.rs:798:88:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
panicked at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/thread/local.rs:262:26:
thread panicked while processing panic. aborting.
Aborted (core dumped)
RUST_BACKTRACE=1 wezterm
09:41:32.985  WARN   window::os::wayland::connection > Unable to resolve appearance using xdg-desktop-portal: get_appearance.read_setting: Reading xdg-portal org.freedesktop.appearance color-scheme: org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop
09:41:34.011  ERROR  env_bootstrap                   > panic at /build/cargo-vendor-dir/wgpu-hal-0.18.1/src/gles/egl.rs:798:88 - called `Option::unwrap()` on a `None` value
   0: env_bootstrap::register_panic_hook::{{closure}}
   1: std::panicking::rust_panic_with_hook
   2: std::panicking::begin_panic_handler::{{closure}}
   3: std::sys_common::backtrace::__rust_end_short_backtrace
   4: rust_begin_unwind
   5: core::panicking::panic_fmt
   6: core::panicking::panic
   7: core::option::unwrap_failed
   8: <wgpu_hal::gles::egl::Instance as wgpu_hal::Instance<wgpu_hal::gles::Api>>::init
   9: wgpu_core::instance::Instance::new
  10: wgpu::Instance::new
  11: wezterm_gui::termwindow::TermWindow::new_window::{{closure}}
  12: <async_task::runnable::Builder<M>::spawn_local::Checked<F> as core::future::future::Future>::poll
  13: async_task::raw::RawTask<F,T,S,M>::run
  14: window::spawn::SpawnQueue::run
  15: <window::os::wayland::connection::WaylandConnection as window::connection::ConnectionOps>::run_message_loop
  16: wezterm_gui::run_terminal_gui
  17: wezterm_gui::main
  18: std::sys_common::backtrace::__rust_begin_short_backtrace
  19: std::rt::lang_start::{{closure}}
  20: std::rt::lang_start_internal
  21: main
  22: __libc_start_call_main
  23: __libc_start_main@@GLIBC_2.34
  24: _start

thread 'main' panicked at /build/cargo-vendor-dir/wgpu-hal-0.18.1/src/gles/egl.rs:798:88:
called `Option::unwrap()` on a `None` value
stack backtrace:
   0: rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::panicking::panic
   3: core::option::unwrap_failed
   4: <wgpu_hal::gles::egl::Instance as wgpu_hal::Instance<wgpu_hal::gles::Api>>::init
   5: wgpu_core::instance::Instance::new
   6: wgpu::Instance::new
   7: wezterm_gui::termwindow::TermWindow::new_window::{{closure}}
   8: <async_task::runnable::Builder<M>::spawn_local::Checked<F> as core::future::future::Future>::poll
   9: async_task::raw::RawTask<F,T,S,M>::run
  10: window::spawn::SpawnQueue::run
  11: <window::os::wayland::connection::WaylandConnection as window::connection::ConnectionOps>::run_message_loop
  12: wezterm_gui::run_terminal_gui
  13: wezterm_gui::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
panicked at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/thread/local.rs:262:26:
thread panicked while processing panic. aborting.
Aborted (core dumped)

Anything else?

thank you for this amazing terminal

alembiq avatar Jul 31 '24 07:07 alembiq