dmenu-mac icon indicating copy to clipboard operation
dmenu-mac copied to clipboard

Macos switches to some random desktop after hitting the dmenu shortcut

Open unmanbearpig opened this issue 1 year ago • 3 comments

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 avatar Apr 18 '23 02:04 unmanbearpig

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.

unmanbearpig avatar May 10 '23 01:05 unmanbearpig

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.

atralice avatar Nov 24 '23 07:11 atralice

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

unmanbearpig avatar Feb 23 '24 09:02 unmanbearpig