BTT Clipboard Manager Development & Wishlist

No I mean just deleting the problematic item :slight_smile:

You copied some triggers from BTT, right? Do you remember which? If so, maybe you can post the json here then I can try myself

Can you maybe drag the broken items out of the clipboard manager into a text editor?

I cannot remember what I've copied, and also I cannot drag it into a text editor (tried different).

I'm able to delete them (tied with one of the many in the above screenshot), but I don't want to delete all of them in order to help you troubleshoot if possible.

This tool can open and view these databases nicely, there is a 14 day trial:

Thanks, I've managed to trace it a bit. The problematic item is quite big string 103265 characters and it contains a btt trigger with around 83 actions.
The actions which are inside that trigger are a lot of "(Async) Delay next action by 0.80 Seconds", some "Wait For Image To Become Visible On Screen & Move Mouse" and some type text (type not paste), of which text there are some Cyrillic letters.

In the BTTClipData DB table this item have nil for both data and uuid:

Here's screenshot from the BTTClip table:

If I now copy the same trigger the clipboard items are displayed correctly.

would you be able to export that trigger from the database tool and send it to me? (right click => export to json, "include to many relationship data", andreas@folivora.ai)
Or does it contain sensitive data?

//edit: probably it doesn't really matter. In the end it probably just means that for some reason the data could not be saved to the database. I'll add an error log for this scenario, then next time we can check the error. Maybe a size limit or something like that, I'll check whether there are any settings for such.

Yep. it contains some sensitive data and I'm not sure I'll be able to easily sanitize it. If you are OK to sent it without some of the data I can try to do it.

I think it's not necessary. If data is nil, the actual clipboard contents have not been saved - just the preview /searchable text - which is the reason why there is no detailed display on the right. I probably won't get more info out of it anyways

@Andreas_Hegenberg I noticed that you have changed the clipboard actions. Just the names? Or should I be able to configure more settings there now? If so, I don't see where.

image

And I think something is duplicated here? :slightly_smiling_face:

sorry, not finished yet :wink: (tomorrow!)

1 Like

No problem, I'm just asking.

Another thing I noticed. If you drag a clipboard (item) into a snippet folder, it is visible in this folder and under “All Items”. So far so good. But if I delete this item in “All Items” it is also deleted in the snippet folder.

Wouldn't it make more sense not to do this? I consider a snippet folder as “permanent” storage.

yep, I‘ll improve that!

1 Like

Can someone show me (via screen recording) exactly how the "Snippets" and the "Saved Searches" are working I suspect something might be broken on my end?

Thank you in advance.

They are really basic at the moment. You can add items by dragging them into one of the groups you created (to create a group hover the header and press the + button)

Thanks, here's how it looks on my end when I try to create group under either "Saved Searches" or "Snippets":

This happens every single time, there are no misclicks or whatsoever.

ah looks like a problem with the activation state of the window. I'll have a look!

@xidiot I have added a workaround in 4.976. It's ugly because it forces it into the sidebar, but will work for now. (This clipboard manager is a mix of very old to very new technologies, which makes some things a bit unconventional)

image

@Frank1 4.976 also keeps snippets if they have been deleted from all

3 Likes

By the way, when using snippets etc. that might be important to keep I would recommend to at least sometimes backup this file:

~/Library/Application Support/BetterTouchTool/BTTClipboardManager_20241210.sqlite

BTT currently does not create auto-backups of it because it can be quite large.

2 Likes

I can confirm that this is now fixed.

By the way I've noticed that sometimes (not sure how to reproduce it) the selected item, upon opening the clipboard, is not the first element. This creates confusion when trying to select the 2nd item from the list, which you copied right before the last one and you know it should be right below it, but instead the next one, below the randomly selected one, is selected. If I toggle the clipboard the 1st item will be selected.
The same use-case is for "Copy & Move to Top".

I've also experienced quite few times, an unexpected close of the clipboard while typing in the search box.

By the way is there a way to make the clipboard window to hide more quickly (or this is due to the "mix of very old to very new technologies" )? Showing s fast enough (after the initial show).

Currently items that won't fit in the action bar get moved to a pop up menu on the right.

Would it make sense to be able to group items in the action bar so that they can be organized into multiple pop menus?

Like, I might create one group that contained actions related to basic text transformations, another for images, another related to rich text formatting, etc.

I would still want to have one or two frequently used items as standalone buttons in the main bar.

One of the things that keeps me from creating more Clipboard Manager/JS Transformer actions is being able to see and access them easily in the Clipboard Manager. Having the overflow popup helps with this somewhat, but it still could get hard to manage.

Relatedly, could there be an option to only show the icons for the action items when they appear in the main action bar so more items could be visible? It would make sense to still show the action name in the overflow pop up (or groups, if that worked out).