m1guelpf / commit

Command palette-style Git client for blazing-fast commits.
MIT License
243 stars 7 forks source link

Not usable when apps are in fullscreen #8

Open youngkidwarrior opened 10 months ago

youngkidwarrior commented 10 months ago

For me it's kind of a deal breaker to have a quick shortcut when it doesn't work in fullscreen.

It seems Tauri doesn't support it as of now, but has an open issue to fix this. Could be worth keeping an eye on.

https://github.com/tauri-apps/tao/issues/189

valdemartti commented 10 months ago

With Electron, this can be accomplished with the following adjustments:

app.dock.hide()
mainWindow.setAlwaysOnTop(true, "screen-saver")
mainWindow.setVisibleOnAllWorkspaces(true)

In AppKit, this can be accomplished by settings NSWindow.level to screenSaver.

This doesn't solve the problem for a Tauri app, but can give a general direction on what to pursue. I'll have a look if I can find any real solutions for this!

valdemartti commented 10 months ago

Seems you've implemented something similar already, which works fine in dev mode. Odd that it hasn't been fixed in Tauri yet, as the issue has been open since Aug 2021.

toughyear commented 10 months ago

Is there a fix for this in prod app?

youngkidwarrior commented 10 months ago

Is there a fix for this in prod app?

As of now... no

ParthJadhav commented 10 months ago

Hey @youngkidwarrior , @toughyear , @valdemartti.

There's a fix for that implemented in the following repos:

https://github.com/ParthJadhav/Verve https://github.com/kgoedecke/promptclip

I'll try to create a PR for the same in this repo.

GitHub
GitHub - ParthJadhav/Verve: Verve is a lightweight and blazingly fast launcher for accessing and opening applications, files and documents. ⚡
Verve is a lightweight and blazingly fast launcher for accessing and opening applications, files and documents. ⚡ - GitHub - ParthJadhav/Verve: Verve is a lightweight and blazingly fast launcher fo...
GitHub
GitHub - kgoedecke/promptclip: 🤖 A prompt manager for MacOS built with Tauri ♉️
🤖 A prompt manager for MacOS built with Tauri ♉️. Contribute to kgoedecke/promptclip development by creating an account on GitHub.