wez / wezterm

A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
https://wezfurlong.org/wezterm/
Other
16.78k stars 751 forks source link

Crashing after Hyprland config change #5386

Closed floork closed 4 months ago

floork commented 4 months ago

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

Linux Wayland

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

Hyprland v0.40.0

WezTerm version

wezterm 20240506-145255-0b50725f

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

When I am changing something inside my Hyprland config or just save it, Wezterm crashes with this message: running message loop: Protocol error 3 on object xdg_surface@29:

To Reproduce

Change something inside the hyprland.conf , or just save the file

Configuration

local wezterm = require("wezterm")
require("functions")
local config = {}

-- Use config builder if possible
if wezterm.config_builder then
  config = wezterm.config_builder({})
end

-- Configuring the font
config.font = wezterm.font_with_fallback({
  { family = "FiraCode Nerd Font" },
  { family = "Fira Code" },
})
config.color_scheme = "Chameleon (Gogh)"
config.harfbuzz_features = { "calt=0" }  -- disable ligatures
config.warn_about_missing_glyphs = false -- disable warning about missing glyphs

-- Configuring the window
config.window_background_opacity = 0.9

config.scrollback_lines = 10000

config.enable_wayland = true

config.keys = {
  {
    key = "w",
    mods = "SUPER",
    action = wezterm.action.DisableDefaultAssignment,
  },
}

return config

Expected Behavior

No response

Logs

12:28:10.458  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

Anything else?

No response

floork commented 4 months ago

seems to be fixed through hyprland

github-actions[bot] commented 3 months ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.