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.2k stars 365 forks source link

You can right-click to open multiple context menus, and cannot hit ESC to close them all #5097

Open heysweet opened 3 months ago

heysweet commented 3 months ago

Dupe Check

Describe the bug

It is possible to open multiple context menus and the command palette at the same time. Behavior around closing contextmenus and command palette is inconsistent.

To reproduce

  1. Right click on a tab
  2. Right click on the New Tab icon
  3. Right click on your terminal window
  4. CMD+P

All four of these context are able to be opened at the same time.

Expected behavior

If you hit ESC, only the last-opened window will close. Clicking appears to close more things, but in general:

  1. I would expect right clicking a second or third time should close the existing context menus before opening any new ones
  2. If not viable, I would expect clicking and ESC to have the same window closing behavior

Screenshots

image

Operating system

MacOS

Operating system and version

14.5.0

Shell Version

No response

Current Warp version

v0.2024.06.25.08.02.stable_01

Regression

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

Recent working Warp date

No response

Additional context

No response

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

dannyneira commented 3 months ago

Hi @heysweet thanks for bringing this up. I wasn't aware of these overlapping menus but could see how it's less than ideal. As a possible workaround, you can press ESC to dismiss the command palette, then left-click on the terminal to dismiss the other menus.

https://github.com/warpdotdev/Warp/assets/16809145/1d7c4fdb-37f7-4e62-8353-11ce97a9cc31

I'll let the team know and we'll post any updates on this thread.

To anyone else facing this issue, please add a 👍 to the original post at the top or comment with your details, and subscribe if you'd like to be notified.