Warp
Warp copied to clipboard
Global hotkey got broken after mac sleep
Discord username (optional)
No response
Describe the bug
I have two displays:
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
To reproduce
-
Go to
Settings, thenFeaturesand apply the following configuration: -
Press ⌥W, then verify that Warp is open in the
Screen 2 -
Put the Mac to sleep
-
Wake up the Mac
-
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
Hi @mulecalle I've found this difficult to reproduce. What I recommend to fix this is to make sure the display is set to "Main Display" in the Arrange settings so that the other display will be Display 2.
https://github.com/warpdotdev/Warp/assets/16809145/8329c8fd-d5ab-489d-9541-467d281f5672
If the issue persists, please try and close the Dedicated window by pressing CMD-W with it open and focused. Then it will generate a new window in the proper display as your new customization will apply the next time a Dedicated Window is created, not the currently opened one.
Hi, @dannyneira thank you for your response, this video was captured in the main display after a wake-up from sleep. Warp is opened/closed by pressing the keybinding configuration (⌥W)
https://github.com/warpdotdev/Warp/assets/48928350/6fc38067-a87a-483d-a870-195d0a435f9b
As you can see the issue persists. I also tried your recommendations and it works however it's kind of annoying closing and re-opening.
Thanks for confirming. We'll post any further updates on this thread if/when this is being worked on/completed.
I have this annoying issue as well for a long time, and it is driving me nuts. My setting is to open on the main screen, but after sleep it often switches to another one. I need to go to settings, set open to active screen, toggle twice, and change the setting back. I really hope this issue gets some attention and care !
Is there any update on this? I love Warp but this bug messes with my flow on a regular basis, it would be really great if this could be fixed, thanks!
I often encounter issues with all three screen options: Active Screen, Main Screen, and Screen 2.
Here's what usually happens when I invoke Warp using the global hotkey:
Active Screen: Warp would appear and remain on a screen that is not theActive Screen.Main Screen: Warp would appear and remain onScreen 2.Screen 2: Warp would appear and remain onMain Screen.
Switching screen setting doesn't resolve the issue, but restarting Warp temporarily fixes this issue.
I would say that the problem usually occurs when waking up my MacBook or when attaching/detaching external displays.
still happen sometime, it pushes me still use item2 for my primary tool : (
I don't even need sleep for it to do this anymore. It just randomly switches when it feels like it.
Any update on this? It would be really great to have this fixed 🥺
Hey folks, as a possible workaround to this issue, You may need to go to Mac > System Settings > Desktop & Dock , then enable "Displays have separate Spaces" and the "Active" screen hotkey settings should work after sleep. Please let us know if that helps with your issue.
A user commented on #5352
But doing that, it only works properly if I have nothing in fullscreen mode on the Active screen. At the moment that I open an App in fullscreen, then using the hotkey opens the Warp terminal in the other screen.
This happens to me and I don't think it has anything to do with the laptop going to sleep. (Should I create a separate issue, then?)
- This is incredibly frustrating because I use the hotkey window as my only terminal window and having it jump to random screens at random times and requiring me to manually fix it pulls me out of flow state.
- I have my hotkey window set to always open on "Main screen", which is not my laptop screen.
- When it happens, I can get it to go back to the main screen by opening warp settings > features > global hotkey > screen dropdown already has "main screen" selected, but if I open it and re-select "main screen" then the window jumps to the main screen
Warp settings
External display is Main display
"Displays have separate spaces" is enabled
Hey folks, as a possible workaround to this issue, You may need to go to Mac > System Settings > Desktop & Dock , then enable "Displays have separate Spaces" and the "Active" screen hotkey settings should work after sleep. Please let us know if that helps with your issue.
I have the "Displays have separate Spaces" setting on and use the "Main" screen hotkey setting and it still jumps to the non-main screen regularly ☹️ A fix for this would be really great!
As others have mentioned already, it doesn't have to go to sleep for it to happen. It's just random when switching between fullscreen apps and different desktops. The hotkey window won't show up in the intended screen even when no fullscreen app is active there. I confirm that the current "fix" is going to settings and re-selecting the desired target window. And that's really annoying. Would it be possible to show the terminal on top of fullscreen apps in the future? (I know that's not currently possible). Related https://github.com/warpdotdev/Warp/issues/4808