Global hotkey got broken after mac sleep

Open
#3,275 14 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
macos

Research direction

Start with the Global hotkey configuration in Settings > Features and reproduce the ⌥W behavior across sleep and wake on macOS 13.4 with two displays. Done means Warp continues opening on the configured Screen 2 after wake, rather than switching to the Main screen.

Written by the indexing model from the issue text.

Description

area:settings-keybindings bug ready-to-implement triaged
Discord username (optional)

No response

Describe the bug

I have two displays:

Screenshot 2023-06-28 at 21 36 31

Warp recognizes the external display C27JG5x as Screen 2 and Built-in Retina as Main screen.

The following Global hotkey configuration used to work well, however since some releases ago after I wake up the Mac from sleep the terminal is always open/closed in the Main screen

Screenshot 2023-06-28 at 21 34 22
To reproduce
  1. Go to Settings, then Features and apply the following configuration:
Screenshot 2023-06-28 at 21 34 22
  1. Press ⌥W, then verify that Warp is open in the Screen 2
  2. Put the Mac to sleep
  3. Wake up the Mac
  4. Press ⌥W

Actual Behaviour
Warp is open in the Main Screen

Expected behavior

Warp is open in the Screen 2

Screenshots

No response

Operating system

MacOS

Operating system and version

13.4 (22F66)

Shell Version

GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin22)

Current Warp version

v0.2023.06.20.08.04.stable_03

Regression

Yes, this bug started recently or with an X Warp version

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:b8107fdf-ba31-488d-b103-d271c89cac3e

None

Dominant language
Rust
Stars
65.1k
Forks
5.6k
PR merge metrics
PR metrics pending

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from warpdotdev/warp

All issues in warpdotdev/warp

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.