I really love the Clipboard History Switcher.
But sometimes it takes 10 seconds to appear.
I am pretty sure it is because some items are quite big in size. Seems to be if I copy from Excel.
Because if I clear the history, then it launches very quickly.
Does anybody has a way to only clear items over a certain size?
@peternlewis: If this is not expected behaviour I will gladly send you information to troubleshoot this.
I’ve never seen 10 second delays with KM’s clipboard history, but I have noticed a consistent lag in opening it after several dozen items or so have been copied. I still use KM’s clipboard history for some things because of its rich feature set, but I’ve ended up sticking with a clipboard manager I’ve been using for a couple of years now, Copied (https://copiedapp.com/) as my primary. I’ve tried several clipboard managers over the years, and Copied has always been instantaneous to open no matter how many items are in its history or how big the data is (plus it has an iOS counterpart that it syncs with via iCloud, which is really nice).
The Clipboard History switcher shows the size of the items in the info about the items, though it is only an approximation since it shows the size of the largest clipboard flavor, not the total size of the clipboard entry. But it should still be well correlated to lag.
I can now see that the culprit is Excel.
It seems to also create a big image of the data I copy. And since I am working with address list with maybe 40.000 recipients these image become quite large, as you can see from below.
I have tried to exclude Excel in the preferences for the clipboard history, but it still creates entries in the switcher.
Hmm. As a workaround, what about an Excel-only macro that automatically filters new clipboard entries to remove styles and then deletes Past Clipboard 1? Maybe something like this in an Excel-only macro group?
Thank for this. It seems to solve it when in Excel.
Though Excel has this weird behaviour with setting the clipboard again when switching away from the program.
So I have also copied your macro to my Global Group and set it to trigger when Excel deactivates.
And I think the lag is based on the images from Excel. Not the data.
Because with this macro, then text data from Excel is still 12 MB but without the images the Clipboard History Switcher activates without a lag.
Interesting. As I said above, KM’s clipboard switcher activates quickly for me when the history is empty, such as when the engine has just started, but slows down to a short, but noticeable, lag once it has a few dozen entries or so, regardless of the size of any individual entry.