hluk / hluk/CopyQ

Maximum text length

Open
#2,144 4 comments 1 reaction 0 assignees View on GitHub
feature
Dominant language
C++
Stars
12.3k
Forks
593
Avg merge
2d 8h
Merged PRs (30d)
9

Description

Yesterday I handled a large amount of files. Dolphin always writes a list of paths to the clipboard when copying/cutting files, so I got a huge entry into CopyQ that shows up on pretty much every search and lags out the UI. (For some reason I even got hundreds of these entries, but that might not be a CopyQ issue. But it did happen before with some automation, making this problem worse.)
I found no way to get rid of these, since the entries seem to be stored in `~/.config/copyq/copyq_tab_JmNsaXBib2FyZA==.dat` (what a filename…), a 9.2GB binary file that nothing I know can edit, also the export fails because of this size (I think it would need ≥18.4GB RAM) and there seems to be no way to mass-delete entries from within CopyQ. The only solution I found was to nuke the entire history.
But a much better way would be to not have this problem at all, by being able to set a maximum length for text, just like there is one for the maximum size of images. (There's probably a way to do this with auto-commands, but I don't know it.)

P.S.: Respect to CopyQ for pretty much never crashing or fully freezing, even when confronted with ridiculous amounts of data, it always recovered eventually!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.