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

Resizing/title bar issues with multi-monitor setup #6567

Open
Fenlair opened this issue Jan 8, 2025 · 0 comments
Open

Resizing/title bar issues with multi-monitor setup #6567

Fenlair opened this issue Jan 8, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@Fenlair
Copy link

Fenlair commented Jan 8, 2025

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

Linux Wayland

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

KDE (Wayland)

WezTerm version

wezterm 20250105_002513_8d7e899a

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

There are two issues, that might be connected.

  1. Between two identical monitors, one with a dock and one without, the terminal always maximizes to the size appropriate for the monitor the terminal was spawned on, not the one it is residing in.
  2. When spawning a terminal on a 4k monitor or dragging an existing terminal window to that monitor, a Wayland title bar appears (replacing the existing title bar or (if there was no title bar) adding one).

To Reproduce

Setup

  • Pretty standard Fedora KDE and no config for WezTerm.
  • 2x 1440p monitors, one with the KDE dock, one without the dock
  • 1x 4k monitor (without a dock)

Issue 1 - Dock/no Dock

Spawn a terminal on the monitor with the KDE dock, drag it to the monitor without a dock and maximize the window.
→ The window doesn't cover the part, where the dock was on the screen the terminal was spawned

Spawn a terminal on the monitor without the KDE dock, drag it to the monitor with a dock and maximize the window.
→ The window extends below the dock (e.g. neovim status bar is covered by the bar)

Issue 2 - Spawning or dragging window to High-DPI monitor

Spawn a window on a 4k monitor, or drag a window to the 4k monitor.
This is how a freshly spawned terminal looks like:
original_titlebar
And this is how the window looks like after it was moved to (or when it is spawned on) the 4k monitor:
changed_titlebar
Where this becomes extremely noticeable is, when the title bar is disabled in KDE. Because the title bar still appears when spawning/dragging the window to the 4k monitor.

Configuration

no config

Expected Behavior

  1. Window properly maximizes
  2. Title bar stays consistent between monitors

Logs

10:13:48.092 INFO wezterm_gui > Spawned your command via the existing GUI instance. Use wezterm start --always-new-process if you do not want this behavior. Result=SpawnResponse { tab_id: 1, pane_id: 2, window_id: 1, size: TerminalSize { rows: 24, cols: 80, pixel_width: 640, pixel_height: 384, dpi: 0 } }

Anything else?

No response

@Fenlair Fenlair added the bug Something isn't working label Jan 8, 2025
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