Warp icon indicating copy to clipboard operation
Warp copied to clipboard

Global Hotkey Window / Quake Mode window should float / appear above fullscreen apps (on active screen above other windows)

Open kevinyang372 opened this issue 3 years ago • 10 comments

Describe the bug

In Iterm you could configure hotkey window to be floating above fullscreen apps, but Warp does not currently support it.

kevinyang372 avatar Apr 08 '22 16:04 kevinyang372

From @ideea via 859

something like that. https://monosnap.com/file/CvJdptdKjfHk0TWYYY2Zcs7V3ESXCm

elviskahoro avatar Apr 16 '22 19:04 elviskahoro

Here's a GIF of the behaviour I originally described in the feedback survey compared between Warp and iTerm

CleanShot 2022-04-16 at 23 03 25

adamos-kyriakou-wolt avatar Apr 16 '22 21:04 adamos-kyriakou-wolt

a reference of how it's implemented in electron https://github.com/electron/electron/blob/main/shell/browser/native_window_mac.mm#L1342-L1363

ozsay avatar May 06 '22 08:05 ozsay

a reference of how it's implemented in electron https://github.com/electron/electron/blob/main/shell/browser/native_window_mac.mm#L1342-L1363

@ozsay Unfortunately this does not work with Warp:

TransformProcessType(&psn, kProcessTransformToUIElementApplication);

will transform the application process into a background app -- causing it to not show up in dock icon and app switcher

kevinyang372 avatar May 06 '22 15:05 kevinyang372

From @ideea via 859

something like that. https://monosnap.com/file/CvJdptdKjfHk0TWYYY2Zcs7V3ESXCm

in the vid the shortcut switches to a different space -- I'd strongly prefer the other option that is also possible in iterm, the one where iterm is opened above the full-screen app without switching the space

https://www.loom.com/share/a1feb9d1393f40d6ae4685f52b38abea

vorou avatar May 06 '22 17:05 vorou

Any updates on this? This is currently the only thing blocking me from using warp :/

smeier99 avatar Jun 07 '22 09:06 smeier99

It remains a major annoyance for me as I use Warp alongside Raycast a lot so I'd love for that to somehow be sorted. Was hoping that the introduction of this toggle in the Warp settings would do the trick but alas it doesn't autohide behind Raycast

CleanShot 2022-06-07 at 12 14 57

adamos-kyriakou-wolt avatar Jun 07 '22 10:06 adamos-kyriakou-wolt

@kevinyang372 sorry for the very late response!

https://github.com/ozsay/winit/pull/1

I made a few tests for it using winit and it seems to work with dock and app switcher (without transforming the process). not sure what is Warp's window handler, but I assume it's cocoa underneath..

ozsay avatar Jul 21 '22 11:07 ozsay

Happy to report that for a few weeks now Warp has not been floating over Raycast and I'm super happy with it 😍 !

CleanShot 2022-08-01 at 07 27 09

adamos-kyriakou-wolt avatar Aug 01 '22 05:08 adamos-kyriakou-wolt

Yep that was Kevin's doing!

elviskahoro avatar Aug 02 '22 18:08 elviskahoro

@elviskahoro but its not solved et all. Warp still doesnt open above fullscreen apps?!

digitalkaoz avatar Sep 26 '22 09:09 digitalkaoz

I'm able to use the Quake window over full-screen apps. What version are you on and are you using the Quake window?

elviskahoro avatar Sep 30 '22 07:09 elviskahoro

Version: v0.2022.09.20.08.08.stable_01 With Quake window you mean the hotkey window?

Screenshot 2022-09-30 at 10 03 53

digitalkaoz avatar Sep 30 '22 08:09 digitalkaoz

@digitalkaoz The "Active Screen" could be the culprit of this. Under some scenarios, Mac won't consider the screen you have active full-screen app on as the active screen. Could you try with pinning it to a certain screen and try again?

kevinyang372 avatar Sep 30 '22 18:09 kevinyang372

Gonna close this! @digitalkaoz please let us know the outcome of your investigation.

elviskahoro avatar Sep 30 '22 19:09 elviskahoro

@elviskahoro @kevinyang372 its neither completed nor working. tried all combinations of toggles to make it work.

digitalkaoz avatar Oct 01 '22 09:10 digitalkaoz

What kind of keyboard do you use?

Do you have an international keyboard or use an international keyboard format on your Mac?

We have a separate bug where some keys and keyboard combinations aren't registered.

warpdotdev-devx avatar Oct 04 '22 16:10 warpdotdev-devx

I have the same problem: When I open the Hotkey window on active screen with a Fullscreen app, the Windows appears on my other screen (without fullscreen app).

Here my system informations:

  • Mac OSX 12.6
  • warp version v0.2022.11.14.14.55.stable_01
  • Apple Keyboard Swiss Layout (Language: de-CH)
  • Hotkey Setting: image

fullheart avatar Nov 18 '22 09:11 fullheart

I'm having the same problem as mentioned above. When I switch to "Main Screen" instead of "Active Screen" the hotkey window appears on top of fullscreen apps on my main screen.

jonashelgemo avatar Jan 10 '23 09:01 jonashelgemo

It'd also be extremely useful to exclude the Warp window from the tab switcher.

exsesx avatar Jan 25 '23 14:01 exsesx

I'm experiencing the same proble. If it's related to how MacOS Natively detects which screen is active, can I suggest impelementing something like using the screen where the mouse is on? There will be some minor cases in which all interactios were done with keywboard and the active windows doesn't match with the mouse position, but I think at least worth adding the option.

HernanEscola avatar Apr 11 '23 20:04 HernanEscola

Any updates on this issue. On external monitor, it opens the warp in a different screen and not above the fullscreen.

ayan-multipl avatar Jul 25 '23 07:07 ayan-multipl