Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exiting full screen when switching between other apps and Wezterm in ubuntu 22.04 #4667

Closed
ProfKache opened this issue Dec 12, 2023 · 1 comment
Labels
bug Something isn't working Wayland

Comments

@ProfKache
Copy link

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

Linux Wayland

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

No response

WezTerm version

20230712-072601-f4abf8fd

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

My issue is, when I enter fulls creen mode it works fine, but however when switching from Wezterm to other applications, then back to Wezterm, the full screen window disappears, it defaults to the normal configurations that I have provided to "cols" and "rows". I'm running ubuntu 22.04

To Reproduce

No response

Configuration

local wezterm = require("wezterm")
local act = wezterm.action
local mux = wezterm.mux

-- Maximize the window right away
wezterm.on("gui-startup", function(cmd)
local _, _, window = mux.spawn_window(cmd or {})
window:gui_window():maximize()
end)

local config = {}

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

-- Settings
-- config.font = wezterm.font("JetBrains Mono")
config.color_scheme = "Tokyo Night Storm"
config.line_height = 1.25
config.font = wezterm.font_with_fallback({
{ family = "Operator Mono Lig", scale = 1.5, weight = "Light" },
-- { family = "FuraCode Nerd Font", scale = 1.4, weight = "Light" },
})

config.keys = {
{
key = "C",
mods = "CTRL",
action = act.CopyTo("ClipboardAndPrimarySelection"),
},
}

-- config.window_background_image = "/home/profkache/Pictures/term_wallpapers/pxfuel.jpg"
config.window_background_opacity = 0.9
config.window_decorations = "RESIZE"
config.window_padding = {
left = 0,
right = 0,
top = 0,
bottom = 0,
}
config.scrollback_lines = 3500
config.tab_bar_at_bottom = true
config.hide_tab_bar_if_only_one_tab = true
config.adjust_window_size_when_changing_font_size = false

-- Open in full screen
config.initial_rows = 50
config.initial_cols = 200

return config

Expected Behavior

No response

Logs

No response

Anything else?

No response

@ProfKache ProfKache added the bug Something isn't working label Dec 12, 2023
@ProfKache ProfKache changed the title Exiting full screen when switching between other apps and Wezterm in ubntu 22.04 Exiting full screen when switching between other apps and Wezterm in ubuntu 22.04 Dec 12, 2023
@wez wez added the Wayland label Dec 22, 2023
@wez
Copy link
Owner

wez commented Sep 22, 2024

Duplicate of #5783

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Wayland
Projects
None yet
Development

No branches or pull requests

2 participants