You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What Operating System(s) are you seeing this problem on?
Linux Wayland
Which Wayland compositor or X11 Window manager(s) are you using?
Mutter
WezTerm version
wezterm 20241015-083151-9ddca7bd
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
If config.enable_wayland = true titlebar is missing at all, and terminal window can't be moved or resized at all.
To Reproduce
Install git version, enable wayland (it is enabled by default)
Start wezterm
Configuration
-- Pull in the wezterm API
local wezterm = require 'wezterm'
-- This table will hold the configuration.
local config = {}
-- In newer versions of wezterm, use the config_builder which will
-- help provide clearer error messages
if wezterm.config_builder then
config = wezterm.config_builder()
end
-- This is where you actually apply your config choices
-- For example, changing the color scheme:
--config.color_scheme = 'Spacemacs (base16)'
-- config.color_scheme = 'Andromeda'
config.color_scheme = 'Relaxed'
-- Window frame
config.window_frame = {
-- The font used in the tab bar.
-- Roboto Bold is the default; this font is bundled
-- with wezterm.
-- Whatever font is selected here, it will have the
-- main font setting appended to it to pick up any
-- fallback fonts you may have used there.
font = wezterm.font { family = 'Roboto', weight = 'Bold' },
-- The size of the font in the tab bar.
-- Default to 10. on Windows but 12.0 on other systems
font_size = 12.0,
-- The overall background color of the tab bar when
-- the window is focused
active_titlebar_bg = '#333333',
-- The overall background color of the tab bar when
-- the window is not focused
inactive_titlebar_bg = '#333333',
}
config.colors = {
tab_bar = {
-- The color of the inactive tab bar edge/divider
inactive_tab_edge = '#575757',
},
}
-- Split vertical current pane
config.keys = {
-- This will create a new split and run your default program inside it
{
key = '"',
mods = 'CTRL|SHIFT|ALT',
action = wezterm.action.SplitVertical { domain = 'CurrentPaneDomain' },
},
}
-- Split horizontal current pane
config.keys = {
-- This will create a new split and run your default program inside it
{
key = '%',
mods = 'CTRL|SHIFT|ALT',
action = wezterm.action.SplitHorizontal { domain = 'CurrentPaneDomain' },
},
}
I can confirm this: if I add config.enable_wayland = true (or do nto set that config attribute at all), I cannot move the window, neither in fullscreen nor in window mode. If I add config.enable_wayland = false, I get a window decoration which lets me move the window.
If I add config.window_decorations = "INTEGRATED_BUTTONS" I get a (black) menu bar which lets me move the window around.
What Operating System(s) are you seeing this problem on?
Linux Wayland
Which Wayland compositor or X11 Window manager(s) are you using?
Mutter
WezTerm version
wezterm 20241015-083151-9ddca7bd
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
If config.enable_wayland = true titlebar is missing at all, and terminal window can't be moved or resized at all.
To Reproduce
Install git version, enable wayland (it is enabled by default)
Start wezterm
Configuration
-- Pull in the wezterm API
local wezterm = require 'wezterm'
-- This table will hold the configuration.
local config = {}
-- In newer versions of wezterm, use the config_builder which will
-- help provide clearer error messages
if wezterm.config_builder then
config = wezterm.config_builder()
end
-- terminfo
-- config.term = "wezterm"
-- Renderer
config.enable_wayland = false
config.front_end = "WebGpu" -- default OpenGL
-- config.max_fps = 165
config.window_background_opacity = 0.98
-- This is where you actually apply your config choices
-- For example, changing the color scheme:
--config.color_scheme = 'Spacemacs (base16)'
-- config.color_scheme = 'Andromeda'
config.color_scheme = 'Relaxed'
-- fonts configuration
config.font = wezterm.font_with_fallback {
-- { family = 'JetBrainsMono', weight = 'Light', scale = 1.15 }, -- line_height = 1.1
{ family = 'Dank Mono', weight = 'Regular', scale = 1.3 }, -- line_height = 1.1
-- { family = 'Fira Code', weight = 'Regular', scale = 1.1 }, -- line_height = 1.1
-- { family = 'Hasklig', weight = 'Regular', scale = 1.2 }, -- line_height = 1.1
-- { family = 'Iosevka Term', weight = 'Regular', scale = 1.20, stretch = 'Expanded', }, -- line_height = 1.05
-- { family = 'Victor Mono', weight = 'Regular', scale = 1.20 }, -- line_height = 1.1
{ family = 'Cascadia Code', weight = 'Light', scale = 1.20 }, -- line_height = 1.1
-- { family = 'Agave', weight = 'Regular', scale = 1.20 },
-- { family = 'Noto Sans Mono', weight = 'Regular', scale = 1.1 }, -- line_height = 1.1
-- { family = 'Andika', weight = 'Regular', scale = 1.2 }, -- line_height = 1.1
-- { family = 'Ubuntu Mono', weight = 'Regular', scale = 1.25 }, -- line_height = 1.1
'Noto Color Emoji',
}
config.font_size = 12.0
config.line_height = 1.1
config.cell_width = 1.0
config.freetype_load_target = "Light" -- HorizontalLcd
config.font_rasterizer = "FreeType"
config.freetype_load_flags = "FORCE_AUTOHINT" -- FORCE_AUTOHINT
-- config.freetype_render_target = "HorizontalLcd"
-- terminal settings
-- Window frame
config.window_frame = {
-- The font used in the tab bar.
-- Roboto Bold is the default; this font is bundled
-- with wezterm.
-- Whatever font is selected here, it will have the
-- main font setting appended to it to pick up any
-- fallback fonts you may have used there.
font = wezterm.font { family = 'Roboto', weight = 'Bold' },
-- The size of the font in the tab bar.
-- Default to 10. on Windows but 12.0 on other systems
font_size = 12.0,
-- The overall background color of the tab bar when
-- the window is focused
active_titlebar_bg = '#333333',
-- The overall background color of the tab bar when
-- the window is not focused
inactive_titlebar_bg = '#333333',
}
config.colors = {
tab_bar = {
-- The color of the inactive tab bar edge/divider
inactive_tab_edge = '#575757',
},
}
config.inactive_pane_hsb = {
saturation = 0.9,
brightness = 0.8,
}
-- scrollback and scrollbar
config.scrollback_lines = 100000
config.enable_scroll_bar = true
config.use_fancy_tab_bar = true
config.tab_bar_at_bottom = true
-- Mouse cursor
config.default_cursor_style = 'BlinkingBar'
config.animation_fps = 10
config.cursor_blink_rate = 1000
config.cursor_blink_ease_in = 'Linear'
config.cursor_blink_ease_out = 'Linear'
-- cursor_bg = '#52ad70'
-- cursor_fg = 'black'
-- cursor_border = '#52ad70'
config.hide_mouse_cursor_when_typing = false
config.xcursor_theme = "buuf-cursor-original"
-- Visual Bell Screen Blink
config.visual_bell = {
fade_in_function = 'EaseIn',
fade_in_duration_ms = 150,
fade_out_function = 'EaseOut',
fade_out_duration_ms = 150,
}
config.colors = {
visual_bell = '#202020'
}
-- Split vertical current pane
config.keys = {
-- This will create a new split and run your default program inside it
{
key = '"',
mods = 'CTRL|SHIFT|ALT',
action = wezterm.action.SplitVertical { domain = 'CurrentPaneDomain' },
},
}
-- Split horizontal current pane
config.keys = {
-- This will create a new split and run your default program inside it
{
key = '%',
mods = 'CTRL|SHIFT|ALT',
action = wezterm.action.SplitHorizontal { domain = 'CurrentPaneDomain' },
},
}
-- Zoom pane
config.keys = {
{
key = 'Z',
mods = 'CTRL|SHIFT',
action = wezterm.action.TogglePaneZoomState,
},
}
-- Zoom out pane to default size
config.keys = {
{
key = '0',
mods = 'CTRL',
action = wezterm.action.ResetFontAndWindowSize,
},
}
-- and finally, return the configuration to wezterm
return config
Expected Behavior
Title Bar to be visible, terminal window to be resizable, movable, maximize and minimize
Logs
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: