Adobe Illustrator v25 Hangs the KM Engine on Copy of Graphic Element on M1 Mac

So far this is the only crippling bug I have found while testing out an M1 Mac mini. In illustrator 25.0.1 when I copy anything other than text the km engine hangs and will no longer work in any app until the clipboard is purged of that graphic. It instantly starts working again if I copy some text for example in another application. If I do not do that I have to quit illustrator for it to work again because it purges its clipboard on quit. The settings in the illustrator clipboard preferences do nothing to alleviate this. And it seems to be caused by illustrators clipboard and no other apps clipboards. I can copy graphics from other adobe apps and they wont hang when pasting into illustrator but if I copy the same graphic I pasted from within illustrator it will hang again until purged. This is only happening on M1 Macs. It also happens if I copy using a script. It seems to be triggered by illustrators internal clipboard. When km senses illustrator has copied a graphic, it no longer functions until that graphic is no longer in the clipboard. I understand illustrator is not optimized for m1 yet but this is a reaction keyboard maestro is having to how this particular app saves its clipboard elements. So I am reporting it.

I am not using the latest 25.1 version because that version has completely broken extendscript and many AppleScript functions. That is a known bug adobe is fixing in its next version. Hopefully it will end up correcting this clipboard bug too but if not then hopefully Keyboard Maestro can resolve it. Until now on intel Macs there haven't been any other bugs that caused this much of a problem.

Here is the console errors when this happens. It will keep saying the same thing until there is something else in the clipboard from another program.

If I create an AppleScript that copies and pastes into other documents the script will work and it will paste while Keyboard Maestro is locked up. So as a temporary workaround I may have to do all copy paste actions as scripts instead of relying on Keyboard Maestro for those and somehow copy something that will cause Keyboard Maestro to come back online once it's complete. I hope this problem goes away.

can you share an .AI file with the issue?

What settings do you have in Preferences > Clipboard?

Is the issue still present if you save the file to Illustrator 24 or CC, then re-open it?

The file is irrelevant in this situation. I can open a blank document, draw a box and copy it and it locks up Keyboard Maestro every time. I have saved it down to several much older versions like you suggested. Same thing happens. My clip board settings are currently all off but I have tried with pdf only and aicb only and same results. As soon as any graphic element is copied by illustrator Keyboard Maestro engine immediately hangs and the palettes are frozen as well as the menu bar icon until I copy anything in another application or copy text only in illustrator. I don't want to try installing an older version of illustrator as this version is the one that works the best even on intel Macs until adobe fixes the script bugs in their newest version. I also have to maintain Keyboard Maestro actions on several Macs and want to avoid creating distinct versions of scripts for multiple platforms if possible. If I didn't have this bug that would be the case as so far the rest of my scripts work except the M1 Macs are so fast I may need to include pauses in some so it will let me hold down a modification key a second longer before it starts running the macro.

Keyboard Maestro doesn't need to be restarted, It continues to work fine after something else is in its clipboard but when an illustrator graphic is registered by Keyboard Maestro it refuses to work. The error in the console will repeat forever until I copy in another application. I wish I could blacklist illustrators clipboard from Keyboard Maestro altogether as I only need illustrator to copy its own elements into itself. I don't need to do anything with the clipboard in Keyboard Maestro so blacklisting it somehow so illustrators clipboard never affects Keyboard Maestro would be great.

Is there a way to turn off the clipboard in Keyboard Maestro? I could turn that on and off before my action does a copy for example.

Go to Preferences > Excluded

1 Like

That did the trick! No more lockups. I should have known Keyboard Maestro already had a built in solution to my problem. Thanks!

1 Like

Hey Carlos,

See the Keyboard Maestro Wiki's Clipboards Preferences for some advanced features.

-Chris

Thank you, I'll study up on that. Btw, now that I am able to test out Keyboard Maestro with my illustrator macros I am blown away by how much faster the M1 handles multiple windows than an intel mac. I have a 2019 iMac with 72gb of ram and every macro I run is faster on the M1 8gb ram mini by a wide margin mostly due to the slow performance of switching between documents on an intel mac. I thought Keyboard Maestro was slow on intel but it's not, it's going as fast as the system allows. So on an M1 mac it really shows the power of scripting to see dozens of open documents fly though macros in record time.

I hope this means Keyboard Maestro will allow much larger icons eventually since it will not impact performance on an M1 mac. I have played around with creating my own palettes for illustrator and it would very useful to have more settings for such things. I would love to see banner icons as well but thats for another thread.

2 Likes