Clipjump
Clipjump copied to clipboard
Clips copied from Word lose their formatting
I have several "templates" in a Word document that I would like to store on ClipJump for ease of access. When I copy the clip from Word, they retain their formatting (e.g. bold and italics), and they paste correctly.
However, after a while (the time it takes for it to happen seems to be random, unfortunatelly), the formatting is lost, and the clip "reverts" to pure text.
Unfortunately I don't work with Word documents. so I haven't faced this issue yet. I tried some random copy-pastes on Word just now and everything went fine. Can you provide some more info on the error, like how do you paste the clip ? From Paste Mode or Channel Organizer ? Remember that editing a clip will lose its formatting.
I paste it from Paste Mode, and like I said, it doesn't happen right away.
The only way I've been able to reproduce it was to copy whatever I wanted to ClipJump, then continue using it for a day or two, and then pasting it after that. Even then, it doesn't always happen. Maybe it has to do with rebooting, but I'm not entirely sure.
I'll test it again and if I find more reliable steps to reproduce, I'll post them here.
Just had it happen again today. I copied a couple of Word snippets into ClipJump on the very same day as my last comment (April 8), and it was working until at least a couple of days ago.
Today, I tried using those clips and they're all plain text now, without me changing them in any way.
Which channel do you copy these snippets ? The auto-deleting Default channel or some other. Default channel periodically updates the clips to keep the count of 20 so something can happen there.
It happens both in the Default channel as well as on a Protected channel (i.e. one whose name starts with a _). And the clip doesn't disappear; rather, it just loses formatting.
I have no argument which can satisfactorily explain this phenomenon. Clipjump will soon be updated to v12 and let's hope, it gets fixed there. This version will use the latest version of AutoHotkey and I have already seen that it fixed the old bug Clipjump had with Notepad++ column copy. So it may just do the trick.
This might be due to delayed rendering. Clipboard data can be made to be rendered on request with that.
What doesn't ring well with this hypotheses is that that problem ought to manifest as soon as you copy another thing in the clipboard, as
- I don't think the delayed rendering can work after the clipboard has been replaced, and it seems unlikely that the original poster stops copying stuff for two days
- I don't know how it works internally but from a quick try Clipjump doesn't restore each and every format when you recall a clip.
I'm not sure of the point 1 though, I haven't tried.
@cobrabr, you should post a document where you saw this occurring, and specify what version of Word you are using.
It doesn't matter if you can't reproduce the problem, what's important is that you are certain that at some time it occurred copying that part of that file.
Keep in mind that this should occur only with documents particularly complex, I'm not positively sure but I think that the RTF format is always copied already rendered and that format supports most of Word's formatting.
It could be a good idea in any case to send a WM_RENDERALLFORMATS to the clipboard owner before storing the stuff in Clipjump, although it's possible that that would slow some copies a lot.
Thinking again, if it really worked for 20 days (#issuecomment-97513098) it's probably just some random Clipjump bug, I'm very little surprised when I find that some clip disappeared from some channel (I've been using v11.6.1 without updating it for a long time, the current version seems better in this regard) (it just crashes all the time - I'll report about that in the coming days).
It doesn't disappear from the channel, it just loses formatting. If I have a line of text with bold and underline, for example, it will work and retain that formatting for a while, but then one day it will randomly just become plain text.
@cobrabr I already got that; the Windows clipboard saves each clip in different formats, so what's most likely happening is that the one(s) with full formatting becomes inaccessible or is lost in some way, while the plain text one(s) is not.
As I said above please attach a document where you are sure this happened, and tell us what version of Word you're using.
Will do -- the document is at work, so I'll try to do so tomorrow.