Warp icon indicating copy to clipboard operation
Warp copied to clipboard

tab switch does not work

Open fuyun opened this issue 2 years ago • 3 comments

Discord username (optional)

No response

Describe the bug

mac: cmd <- or cmd -> may not work for the current active tab. e.g. if the current app is waiting for stdin.

To reproduce

i just have a command line code that reads from stdin. now cmd <- or -> does not work. i cannot switch to another tab. i believe i saw other cases too.

Expected behavior

No response

Screenshots

No response

Operating system

MacOS

Operating system and version

12.6.8

Shell Version

No response

Current Warp version

v0.2023.09.12.16.17.stable_00

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.)

No, this same issue happens in Warp and other terminals.

Warp Internal (ignore): linear-label:b8107fdf-ba31-488d-b103-d271c89cac3e

None

fuyun avatar Sep 18 '23 20:09 fuyun

Hi @fuyun The default tab-switching shortcuts are as follows:

Activate the Previous or Next Tab with SHIFT-CMD-{ or SHIFT-CMD-}. Activate the first through eighth Tabs with CMD-1 thru CMD-8

Please learn more about this in our docs. https://docs.warp.dev/features/windows/tabs

If this doesnt help with your issue, if you can please send video of the issue along with screenshot of your settings for the "Activate Tab" keyboard shortcuts settings.

dannyneira avatar Sep 18 '23 22:09 dannyneira

@dannyneira, can you please confirm that the tab-switching shortcuts are designed to not work when the "cursor section" is active? For example, when I am entering text on the command line, the keyboard shortcuts to switch tabs do not work, whereas if I click a previous execution block (a block that is highlighted), they do work.

Tab-switching keyboard shortcuts work: Screenshot 2024-04-03 at 10 24 38

Tab-switching keyboard shortcuts DO NOT work: Screenshot 2024-04-03 at 10 25 01

Additionally, if I navigate from one tab to another and the "cursor section" becomes active, I cannot continue to switch tabs. That is, I can only switch them one at a time, clicking out of the "cursor section" each time to be able to KB nav.

icfantv avatar Apr 03 '24 16:04 icfantv

This is broken again. once you run a long running command, tab switching stops working in the tab.

fuyun avatar Oct 11 '24 00:10 fuyun

Hi @fuyun, thanks for reporting! For your specific case when trying to assign cmd-left and cmd-right to change tabs, does it work if you clear any conflicts from the keybindings?

To clear conflicts, you can go to the keyboard settings page and search for "cmd left/right" to find any existing keybindings that use this shortcut. image

You can click on the "clear" button to clear any conflicting keybindings. image

danielpeng2 avatar Dec 07 '24 02:12 danielpeng2