KM 11 is so slow it's unusable for me (video inside)

I love love love Keyboard Maestro and have loved it ever since I first found it back in 2019. So much so that even though I don't actually need/use any of the new features in KM11 (at least, not yet), I still upgraded almost immediately simply because I wanted to support @peternlewis and this amazing tool he's created!

That being said, this "upgrade" has been... a struggle, to put it mildly. The app is now so buggy and slow for me that it is almost completely unusable. Sometimes it's fine, but it's in really rare form tonight. Here's a video showing you what I'm dealing with and the timeline of events for context. (Note: In case it's unclear, this is NOT a KMFAM problem; this is a KM11 problem that affects every single macro. I only used KMFAM as an example at the beginning of the video to demonstrate the problem. As you'll see at the end of the video, it also occurred when running a very simple macro that just simulates a keystroke).

0:01 - I hit ⌘O to run [KMFAM] Favorite Actions and Macros. You can see that the KM icon is spinning in the menu bar, so it's working.

0:50 - I finally gave up and try the shortcut again.

1:41 - I give up and hit ⌘K, which is a very simple macro that simply simulates ⌃⌘A to insert an action by name.

1:53 - The simulated ⌃⌘A keystroke from 12 seconds ago finally registers.

2:11 - The original attempt to run KMFAM (over 2 minutes ago) finally finishes and opens the dialog window.

2:16 - I type the string "menu," which never even shows up in the text field before...

2:25 - ...the second attempt at 0:50 to run KMFAM finally starts doing something, which I didn't realize at first because it wasn't until...

2:29 - ...that the search bar to insert an action by name opened up, which is what happens when KMFAM is already running and you use the hotkey again.

Before recording this video, I checked Activity Monitor and didn't see anything eating up a ton of memory or CPU or anything, so I tried quitting/restarting KM and KM Engine. That didn't make a difference, so I went ahead and rebooted my computer assuming that would fix it, but nope! All to no avail. That's when I decided I can't live like this anymore and recorded the video :joy:

So, any ideas what the heck is going on here? Because I'm honestly about to just give up and go back to KM10 :pensive: Any help would be greatly appreciated!

Specs:

  • M1 Mac Mini
  • Sonoma 14.0
  • Keyboard Maestro 11.0

I don't have time to research this right now, but I recommend you change the title of this thread to something like "KMFAM problems with KM 11" or something like that, so you stand a better chance of getting help from other KMFAM users.

1 Like

I don't have a clue, but KMFAM seems to be working fine on my Mac.

MBP 14 Pro
MacOS Version 13.5.2 (I chose to wait to see whether Sonoma 14 might break some old apps. :sweat_smile:)
Keyboard Maestro 11.0

Er... yeah, except this is not a KMFAM problem. This is a Keyboard Maestro problem! I only used KMFAM as an example at the beginning of the video to demonstrate. I can't demonstrate every macro, but as the video shows, I also had the same exact problem with a completely unrelated macro that simply simulates a keystroke within Keyboard Maestro (⌘K -> ⌃⌘A). It also happens for every other macro, no matter how simple or complex. It doesn't happen 100% of the time, but it's happening more and more often lately, and it never happened in KM10.

FWIW no slow-down seen on this system in KM11.

Sonoma 14.0, Apple M2

Whether relatedly or not, my biggest disappointment with KM11 is that some of my most-used macros, which use a Pause Until Key action, now sometimes take several seconds to recognize the key-press. This happened immediately upon upgrade to KM11 (without changing anything about the macros), and it immediately affected all of my Macs, running multiple OS's.

Also, KM Editor now frequently hangs, requiring a forced quit.

FWIW2.... I have Apple M1 Macbook with Sonoma 14.0 and KM11... no problems except for submenus which is an Apple issue.

I've seen a few cases of this, it seems to be a weird corruption in the 1Password third-party integration files.

In 1Password, turn off the integration in the Advanced settings:

image

That should resolve the issue.

If you have already moved to 1Password 8, the option isn't there. You can use 1Password 7 to turn it off, or you'll need to ask 1Password support how to turn it off if you no longer have it.

You should then be able to turn the integration back on and I believe that will rebuild the integration files without the corruption.

The next version of Keyboard Maestro should have some mitigation for this, avoiding 1Password entirely if you do not use the action.

1 Like

Are you saying the 1Password integration problem is also behind the enormous lag in recognizing key presses?

Potentially. Basically, for some people the 1Password exported bookmarks seem to have some really weird corruption that makes just looking at the bookmark contents take a long time (possibly a very long time, possibly just a long time). I don't know what the issue is, maybe a recursive directory structure, or some weird xattr issue, I have no idea. And so when Keyboard Maestro looks for the bookmarks (which it does any time it needs to look at a New Action, which can include any time the menu bar is updated to handle command keys for example) then it can get in a state that is essemntially locked up or almost locked up. I don't entirely understand the cause of it, only how to resolve it.

Okay, thanks, but then what would be an aspect of KM11 that makes the 1Password problem evident, when earlier KM versions were not noticeably affected?

I don't specifically know.

I found two posts on the 1Password site where the founder of 1Password discusses this issue, and in the second post even mentions Keyboard Maestro by name. His first post starts to address the subject:

And here's the second post:

(make sure you read all the way to the end of the page)

In summary, he says that if integration "is critical to your workflows, please use 1Password 7." ... "It's a great app and you can dive into 1Password 8 once we're able to add 3rd party app integration."

Can you please elaborate on this? I'm facing a lot of slowdown for general menu selection in Mail through KM 11.

Hi... and welcome to the discourse..

the "submenus" issue I'm referring to doesn't slow things down it just plain doens't work until Apple fixes it. Here is the link to the discussion..

Submenus in Sonoma

Dave