warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
21.38k stars 373 forks source link

Wrong warp window position on i3wm with multi-monitor setting #4406

Closed tuanbass closed 7 months ago

tuanbass commented 8 months ago

Discord username (optional)

No response

Describe the bug

when spawn a new warp window, it occurs in wrong monitor.

To reproduce

Expected behavior

new warp window should occur in monitor 1

Screenshots

No response

Operating system

Linux

Operating system and version

Ubuntu 22.04.3 LTS

Shell Version

zsh 5.8.1 (x86_64-ubuntu-linux-gnu)

Current Warp version

v0.2024.02.20.08.01.stable_02

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

No response

Additional context

i3-wm on X11

Does this block you from using Warp daily?

No

Is this a Warp specific issue? (i.e. does it happen in Terminal, iTerm, Kitty, etc.)

Yes, this I confirmed this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

lucieleblanc commented 7 months ago

Hi @tuanbass, thank you for reporting this! I'm trying to reproduce this bug locally (also on Ubuntu/i3/X11) but don't see the same behavior. A few questions:

  1. Could I ask how you open each Warp window? Are you using an i3 keybinding, searching with dmenu, or the "new window" keybinding within Warp?
  2. Does this bug happen regardless of which monitor you start from? Or does it depend on which monitor is designated as the primary monitor?
  3. Any additional info about how you're configuring/managing multiple monitors would also be helpful.
tuanbass commented 7 months ago

Hi @tuanbass, thank you for reporting this! I'm trying to reproduce this bug locally (also on Ubuntu/i3/X11) but don't see the same behavior. A few questions:

  1. Could I ask how you open each Warp window? Are you using an i3 keybinding, searching with dmenu, or the "new window" keybinding within Warp?
  2. Does this bug happen regardless of which monitor you start from? Or does it depend on which monitor is designated as the primary monitor?
  3. Any additional info about how you're configuring/managing multiple monitors would also be helpful.

Hi,

Here are my answers.

  1. I have the issue either start warp from another terminal (gnome-term) or from a launcher (I'm using rofi)

  2. I try to swap the position of first warp window, and the terminal that I use to start second warp-terminal instance. Tried to move these window to different monitors. Whatever I arrange, the second warp always appear next to the first one. (The issue occurs only if the first instance is in a visible workspace. If it's in a invisible workspace, everything is just fine)

  3. Not sure what do you inquiry. Here is my monitor setup.

image (1) is my laptop (2) is an external monitor, connect via laptop HDMI port (3) is another monitor, connect to an USB-C/HDMI hub

tuanbass commented 7 months ago

Btw, the issue is not occurs in sway

lucieleblanc commented 7 months ago

Thank you for the info! Just to confirm, does this issue still occur with the latest version of Warp (v0.2024.03.19.08.01.stable_01)?

tuanbass commented 7 months ago

Thank you for the info! Just to confirm, does this issue still occur with the latest version of Warp (v0.2024.03.19.08.01.stable_01)?

Wow. Seem the issue was fixed in latest version. Thanks for your works and supports.

Tuan.