Ditto icon indicating copy to clipboard operation
Ditto copied to clipboard

Images fail to copy

Open tarockx opened this issue 4 years ago • 3 comments

Hello

I'm using Ditto 03.24.214.00 on Windows 10 and it has always been able to copy images without issues...

...until a few days ago, when it suddenly stopped. Now when I try to copy an image nothing happens. It does not get copied in Ditto and it doesn't even get copied to the normal clipboard. If I disconnect Ditto from the clipboard image copying starts working again.

Is this happening to anyone else? Is there a fix?

tarockx avatar Nov 11 '21 11:11 tarockx

I'm not sure what could be happening, never seen that. Can you enable debuging, https://github.com/sabrogden/Ditto/wiki/Debug-Logging and copy a few images and upload debug and we will see if we can see what is happening.

sabrogden avatar Nov 14 '21 02:11 sabrogden

I'm not sure what could be happening, never seen that. Can you enable debuging, https://github.com/sabrogden/Ditto/wiki/Debug-Logging and copy a few images and upload debug and we will see if we can see what is happening.

Thanks for your help, here is the debug log:

[2021/11/15 09:34:54.114 - ClipboardViewer.cpp 242] OnClipboardChange - Start
[2021/11/15 09:34:54.116 - ClipboardViewer.cpp 324] INCLUDE app names: *, Active App: greenshot.exe
[2021/11/15 09:34:54.117 - ClipboardViewer.cpp 337] Inlclude app names Found Match * - greenshot.exe
[2021/11/15 09:34:54.117 - ClipboardViewer.cpp 267] OnDrawClipboard:: *** SetTimer *** 306533734
[2021/11/15 09:34:54.118 - ClipboardViewer.cpp 244] OnClipboardChange - End
[2021/11/15 09:34:54.119 - ClipboardViewer.cpp 242] OnClipboardChange - Start
[2021/11/15 09:34:54.122 - ClipboardViewer.cpp 324] INCLUDE app names: *, Active App: greenshot.exe
[2021/11/15 09:34:54.123 - ClipboardViewer.cpp 337] Inlclude app names Found Match * - greenshot.exe
[2021/11/15 09:34:54.124 - ClipboardViewer.cpp 267] OnDrawClipboard:: *** SetTimer *** 306533750
[2021/11/15 09:34:54.124 - ClipboardViewer.cpp 244] OnClipboardChange - End
[2021/11/15 09:34:54.234 - ClipboardViewer.cpp 396] OnDrawClipboard::OnTimer 306533859
[2021/11/15 09:34:54.235 - CopyThread.cpp 56] OnClipboardChange - Start
[2021/11/15 09:34:54.235 - CopyThread.cpp 109] LoadFromClipboard - Before
[2021/11/15 09:34:54.236 - Clip.cpp 469] Begin enumerating over supported types, Count: 6
[2021/11/15 09:34:54.237 - Clip.cpp 483] Begin try and load type CF_TEXT
[2021/11/15 09:34:54.237 - Clip.cpp 540] End of load - type CF_TEXT, Success: 0
[2021/11/15 09:34:54.238 - Clip.cpp 483] Begin try and load type Rich Text Format
[2021/11/15 09:34:54.239 - Clip.cpp 493] End of load - Data is not available for type Rich Text Format
[2021/11/15 09:34:54.239 - Clip.cpp 483] Begin try and load type CF_UNICODETEXT
[2021/11/15 09:34:54.240 - Clip.cpp 493] End of load - Data is not available for type CF_UNICODETEXT
[2021/11/15 09:34:54.241 - Clip.cpp 483] Begin try and load type CF_HDROP
[2021/11/15 09:34:54.242 - Clip.cpp 493] End of load - Data is not available for type CF_HDROP
[2021/11/15 09:34:54.242 - Clip.cpp 483] Begin try and load type CF_DIB
[2021/11/15 09:34:57.196 - Clip.cpp 506] Tried to get data for type: CF_DIB, data is NULL, try: 1
[2021/11/15 09:34:57.307 - Clip.cpp 506] Tried to get data for type: CF_DIB, data is NULL, try: 2
[2021/11/15 09:34:57.321 - Clip.cpp 540] End of load - type CF_DIB, Success: 0
[2021/11/15 09:34:57.321 - Clip.cpp 483] Begin try and load type HTML Format
[2021/11/15 09:34:57.322 - Clip.cpp 493] End of load - Data is not available for type HTML Format
[2021/11/15 09:34:57.323 - Clip.cpp 543] End enumerating over supported types, Count: 6
[2021/11/15 09:34:57.323 - Clip.cpp 551] Setting description from type, Desc: [[Ditto Error] BAD DESCRIPTION]
[2021/11/15 09:34:57.324 - Clip.cpp 565] No clip types were in supported types array
[2021/11/15 09:34:57.324 - CopyThread.cpp 111] LoadFromClipboard - After
[2021/11/15 09:34:57.325 - CopyThread.cpp 118] LoadFromClipboard didn't find any clips to save, sleeping 200ms, then trying again
[2021/11/15 09:34:57.540 - CopyThread.cpp 121] LoadFromClipboard #2 - Before
[2021/11/15 09:34:57.540 - Clip.cpp 469] Begin enumerating over supported types, Count: 6
[2021/11/15 09:34:57.541 - Clip.cpp 483] Begin try and load type CF_TEXT
[2021/11/15 09:34:57.541 - Clip.cpp 540] End of load - type CF_TEXT, Success: 0
[2021/11/15 09:34:57.542 - Clip.cpp 483] Begin try and load type Rich Text Format
[2021/11/15 09:34:57.543 - Clip.cpp 493] End of load - Data is not available for type Rich Text Format
[2021/11/15 09:34:57.543 - Clip.cpp 483] Begin try and load type CF_UNICODETEXT
[2021/11/15 09:34:57.544 - Clip.cpp 493] End of load - Data is not available for type CF_UNICODETEXT
[2021/11/15 09:34:57.545 - Clip.cpp 483] Begin try and load type CF_HDROP
[2021/11/15 09:34:57.545 - Clip.cpp 493] End of load - Data is not available for type CF_HDROP
[2021/11/15 09:34:57.546 - Clip.cpp 483] Begin try and load type CF_DIB
[2021/11/15 09:34:57.548 - Clip.cpp 506] Tried to get data for type: CF_DIB, data is NULL, try: 1
[2021/11/15 09:34:57.555 - Clip.cpp 506] Tried to get data for type: CF_DIB, data is NULL, try: 2
[2021/11/15 09:34:57.570 - Clip.cpp 540] End of load - type CF_DIB, Success: 0
[2021/11/15 09:34:57.571 - Clip.cpp 483] Begin try and load type HTML Format
[2021/11/15 09:34:57.573 - Clip.cpp 493] End of load - Data is not available for type HTML Format
[2021/11/15 09:34:57.574 - Clip.cpp 543] End enumerating over supported types, Count: 6
[2021/11/15 09:34:57.576 - Clip.cpp 551] Setting description from type, Desc: [[Ditto Error] BAD DESCRIPTION]
[2021/11/15 09:34:57.577 - Clip.cpp 565] No clip types were in supported types array
[2021/11/15 09:34:57.578 - CopyThread.cpp 123] LoadFromClipboard #2 - After

tarockx avatar Nov 15 '21 08:11 tarockx

Well, shortly after posting this I found out the issue, so leaving it here for future reference. It seems to be an app conflict: Ditto seems to be (partially) incompatible with Free Download Manager ( https://www.freedownloadmanager.org/ ). When both apps are open, copying images from certain apps doesn't work reliably. If I close FDM, copying images works without issues in all apps.

tarockx avatar Nov 15 '21 08:11 tarockx

possibly related to issue with copying snips into clipboard with greenshot https://greenshot.atlassian.net/browse/BUG-2914

nmeier avatar Feb 09 '23 21:02 nmeier