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

Pop Shell tiling with Wayland doesn't tile Wezterm nightly #6431

Open
akdor1154 opened this issue Nov 24, 2024 · 0 comments
Open

Pop Shell tiling with Wayland doesn't tile Wezterm nightly #6431

akdor1154 opened this issue Nov 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@akdor1154
Copy link

akdor1154 commented Nov 24, 2024

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

Linux Wayland

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

Gnome Shell 42 from Pop!_OS 22.04

WezTerm version

wezterm 20241119-101432-4050072d

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 running Wezterm with either

  • no config wezterm -n
  • or configured as below to enable tiling settings

Then Wezterm appears to be locked into floating mode by Pop Shell when tiling is enabled. The last nightly I was using before the Wayland rewrite worked fine (20240126)

To Reproduce

Run wezterm as above.

Configuration

local wezterm = require 'wezterm'

local config = {}
if wezterm.config_builder then
  config = wezterm.config_builder()
end

config.tiling_desktop_environments = {
  'Wayland',
}

config.color_scheme = 'Ayu Dark (Gogh)'
config.window_background_opacity = 0.9
config.window_frame = {
  font = wezterm.font { family = 'Inter', weight = 'Bold' },
  font_size = 10.0
}
config.font = wezterm.font { family = 'Hack Nerd Font' }
config.font_size = 9.0

config.window_decorations = "RESIZE" -- otherwise crashes
config.hide_tab_bar_if_only_one_tab = true -- makes no diff
config.adjust_window_size_when_changing_font_size = false

config.hyperlink_rules = wezterm.default_hyperlink_rules()

return config

Expected Behavior

Wezterm should be tiled like all my other windows.

Logs

(no logs seen on opening a window, dragging it around, and attempting to toggle floating via wm. Logging seems to be working as other operations generate logs. Checked: wezterm cli output, Debug Overlay, and /var/run/user/1000/wezterm .)

Anything else?

  1. I get the following from gnome-shell in journalctl when I launch wezterm; I can't promise it's related but it looks suspicious.
Nov 24 14:05:51 herbie.lan gnome-shell[7876]: Invalid window geometry for xdg_surface@24. Ignoring for now, but this will result in client termination in the future.
Nov 24 14:05:51 herbie.lan gnome-shell[7876]: Invalid window geometry for xdg_surface@24. Ignoring for now, but this will result in client termination in the future.
  1. I am running mixed DPI screens - one 3840×2160 at 200%, the other 1920×1200 at 100%. Pop's hidpi daemon is not running.
@akdor1154 akdor1154 added the bug Something isn't working label Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant