oNaiPs / dmenu-mac

Dmenu inspired mac port
GNU General Public License v3.0
288 stars 25 forks source link

Macos switches to some random desktop after hitting the dmenu shortcut #41

Open unmanbearpig opened 1 year ago

unmanbearpig commented 1 year ago

After updating to the latest macos I started having the following issue: at some point after running dmenu my shortcut for summoning dmenu starts to switch to some specific desktop instead of spawning dmenu. If I hit the shortcut key combination at that desktop it works fine, but on any other desktop it switches to that one specific desktop and doesn't spawn dmenu until I hit it again. It makes it very difficult to use because I want to spawn it on any desktop. I can only fix it by killing dmenu and starting it up again. I'm running Ventura 13.3.1.

Is anyone else having this issue? Any tips for debugging it?

unmanbearpig commented 1 year ago

An update on this: it didn't happen for a few days after the last macos update, usually (but not always) it would happen multiple times per day. So it might be be fixed now, but can't tell for sure yet.

atralice commented 11 months ago

Had the same issue. At some point when opening dmenu with the shortcut, it would go the one particular workspace and open there.

I closed dmenu and restarted and its working ok now.

Im running 14.1.1 (23B2082) Sonoma.

unmanbearpig commented 8 months ago

I forked the project to add the features I want and I fixed this bug by switching to a different API for hotkeys. That API requires extra permissions, so it would be better to find a different fix, but it works for me. Here is the repo https://github.com/unmanbearpig/unmenu and my blog post about it https://unmb.pw/misc/2024/01/22/unmenu.html