Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Confirm
Close Dialog

pennypacker's profile on WallpaperFusion.com
Hi there. I have set up a little trigger to make life easier copy/pasting from PDF documents - the age-old line break bugbear.

I've set up a Text Replace action to replace "\n" with " ". If I set the trigger to "On Copy", it works as expected.

However, I want this trigger to be the exception, not the rule, so I want it to be triggered on double-copy.

I change the trigger to double-copy, but the text copied to the clipboard is not the cleaned text with the line breaks replaced, it's the original text before the action is done.

I've added a "Show notification" so that I know the trigger has been, uhh, triggered, but I can't get it to run properly on the double-copy trigger. If I leave everything alone and only change the Trigger Command Setting from "Run Triggers on Copy" to "Run triggers on double-copy", it works for the former and is broken for the latter.
• Attachment: trigger1.jpg [59,978 bytes]
trigger1.jpg
trigger1.jpg
• Attachment: trigger2.jpg [53,833 bytes]
trigger2.jpg
trigger2.jpg
Apr 1, 2023 (modified Apr 1, 2023)  • #1
User Image
C# Clouseau
80 discussion posts
see https://www.clipboardfusion.com/Discussions/View/beta-5-feed-back-trigger-replace-text-not-working/?ID=ffa60ba8-d537-41b7-8611-253939f5d3bd so problem then solved. For the time being you could use a macro that can be launched in a trigger.
Apr 1, 2023  • #2
User Image
C# Clouseau
80 discussion posts
In beta 11 I tried and indeed the same problem.
Apr 1, 2023  • #3
pennypacker's profile on WallpaperFusion.com
Quote:
see https://www.clipboardfusion.com/Discussions/View/beta-5-feed-back-trigger-replace-text-not-working/?ID=ffa60ba8-d537-41b7-8611-253939f5d3bd so problem then solved. For the time being you could use a macro that can be launched in a trigger.


Thanks for the link. I am on the free version, so macros aren't available.
Apr 1, 2023  • #4
pennypacker's profile on WallpaperFusion.com
I've attached two files.
1. The debug log requested by Keith Lammers in the thread linked by C# Clouseau. The log only contains events related to the issue, but fwiw the timestamp of interest is 2023/04/02 08:20:16.2876
2. A file showing the contents of the clipboard on double-copy (clipboard contents not cleaned - line-breaks remain) and single copy (clipboard contents cleaned of line-breaks).
Without knowing how to tag Keith in this thread, I'll reply in the other thread.
Cheers 👍

Edit: a bit more info that might help to get to the bottom of the bug.

1. If I have the clipboard manager open at the time, and have an empty clipboard history, and double-copy, I can see that the clipboard has an entry added as soon as I have pressed "Ctrl+C" the first time. It's like the double-copy trigger doesn't respect the "Set Clipboard with the result of this Trigger" option.
2. If I have manually run the trigger from the tray icon, it works as expected.
• Attachment [protected]: ClipboardFusion.log [31,272 bytes]
• Attachment [protected]: ClipboardFusionClipboardContents.txt [1,084 bytes]
Apr 1, 2023 (modified Apr 1, 2023)  • #5
User Image
C# Clouseau
80 discussion posts
Macros are available in the free version, but you have to launch them manually. So not not available in trigger or by hotkey. And for $ 19 you have it all 😁
Apr 2, 2023  • #6
pennypacker's profile on WallpaperFusion.com
Quote:
Macros are available in the free version, but you have to launch them manually. So not not available in trigger or by hotkey. And for $ 19 you have it all 😁


I can run the trigger by clicking on the tray icon, no macro required. I'm not going to buy the product just to get around a bug, but I appreciate the sentiment, haha ;)
Apr 3, 2023  • #7
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
I tested this out on my end and it seemed to work fine. Can you update to our latest beta and let me know if the issue persists? Here's the link: https://www.clipboardfusion.com/Download/Beta/

Also could you send me a screenshot of the Edit window on your text replace?
Apr 3, 2023  • #8
pennypacker's profile on WallpaperFusion.com
Here you go Owen. The screenshot doesn't show it, but the Replace value is " " (i.e. a space). I wouldn't think the problem is here given it works on copy and manual trigger, but not on double-copy?
• Attachment: trigger3.jpg [17,965 bytes]
trigger3.jpg
trigger3.jpg
Apr 4, 2023  • #9
pennypacker's profile on WallpaperFusion.com
Sorry to say, I have the same issue on beta 11 too. Here's the log for the beta fwiw...
• Attachment [protected]: ClipboardFusion6.0beta11.log [259,480 bytes]
Apr 4, 2023  • #10
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
Thanks for sending that over, everything looks good there. Could you send me over a backup of your settings as well? You can grab them via the ClipboardFusion Settings Window > Options > Export Settings
Apr 4, 2023  • #11
pennypacker's profile on WallpaperFusion.com
Thanks Owen, here you go.
• Attachment [protected]: ClipboardFusion Backup (2023-04-06 @ 10-16, 5.9.99.111, RYZEN, SettingsWindow).reg [13,898 bytes]
Apr 6, 2023  • #12
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
Thanks for sending that over, it still works on my end. Could you send me over a debug log? Here are the steps:

  • On the ClipboardFusion Settings > Troubleshooting tab, change the Logging drop-down to "L1: Log Minimal" and click Apply
  • Reproduce the issue and note the time so we'll know where to check in the log file
  • Click the "Export Info to File" button on the Settings > Troubleshooting tab
  • Reply with the file attached
  • Disable debug logging after sending the log

Are you on Windows 10 or Windows 11 as well?
Apr 6, 2023 (modified Apr 6, 2023)  • #13
User Image
C# Clouseau
80 discussion posts
I have made a trigger: replace 'aa' by 'XX'. See settings-png. Then I have a trigger with the same and thereafter the trigger runs a macro (see settings-png) and text to be placed (is code in macro) in the Pinned List. Then the trigger does its job. Windows 11.
01 - 2023-04-06 16_29_45-Edit Trigger _ ClipboardFusion Pro 6.0 (Beta 11).png
01 - 2023-04-06 16_29_45-Edit Trigger _ ClipboardFusion Pro 6.0 (Beta 11).png
02 - 2023-04-06 16_31_19-WordPerfect 2020 - [Document1].png
02 - 2023-04-06 16_31_19-WordPerfect 2020 - [Document1].png
03 - 2023-04-06 16_35_56-ClipboardFusion Main _ ClipboardFusion Pro 6.0 (Beta 11).png
03 - 2023-04-06 16_35_56-ClipboardFusion Main _ ClipboardFusion Pro 6.0 (Beta 11).png
04 - 2023-04-06 16_39_06-Edit Trigger _ ClipboardFusion Pro 6.0 (Beta 11).png
04 - 2023-04-06 16_39_06-Edit Trigger _ ClipboardFusion Pro 6.0 (Beta 11).png
05 - 2023-04-06 16_37_48-ClipboardFusion Main _ ClipboardFusion Pro 6.0 (Beta 11).png
05 - 2023-04-06 16_37_48-ClipboardFusion Main _ ClipboardFusion Pro 6.0 (Beta 11).png
Apr 6, 2023 (modified Apr 7, 2023)  • #14
pennypacker's profile on WallpaperFusion.com
Quote:
I have made a trigger: replace 'aa' by 'XX'. See settings-png. Then I have a trigger with the same and thereafter the trigger runs a macro (see settings-png) and text to be placed (is code in macro) in the Pinned List. Then the trigger does its job. Windows 11.


You've protected the attachment, I can't see it.
Apr 7, 2023  • #15
pennypacker's profile on WallpaperFusion.com
Quote:
Thanks for sending that over, it still works on my end. Could you send me over a debug log? Here are the steps:
  • On the ClipboardFusion Settings > Troubleshooting tab, change the Logging drop-down to "L1: Log Minimal" and click Apply
  • Reproduce the issue and note the time so we'll know where to check in the log file
  • Click the "Export Info to File" button on the Settings > Troubleshooting tab
  • Reply with the file attached
  • Disable debug logging after sending the log
Are you on Windows 10 or Windows 11 as well?

I've attached two of those logs, https://www.clipboardfusion.com/Discussions/View/run-trigger-on-double-copy-not-working/?ID=03925d69-ad49-4ec4-a521-604e75d8370b#5 and https://www.clipboardfusion.com/Discussions/View/run-trigger-on-double-copy-not-working/?ID=03925d69-ad49-4ec4-a521-604e75d8370b#10. The second one is for the beta.

Oh, and Windows 11.

Edit: how do I do a full uninstall (delete directories, delete registry keys etc)? It seems there's some setting somewhere that I need to blow away (if it's working for others).
Apr 7, 2023 (modified Apr 7, 2023)  • #16
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
In the Settings > Options tab, what's the "Ignore Clipboard changes if they occur faster than" set to?

When you uninstall ClipboardFusion, it should give you an option to delete your settings as well. You can also make sure this path is wiped, if you installed to the default location: C:\Program Files (x86)\ClipboardFusion
Apr 12, 2023  • #17
User Image
C# Clouseau
80 discussion posts
With me, default, thus 150 ms.
Apr 12, 2023  • #18
User Image
C# Clouseau
80 discussion posts
Release 6.0 installed. Trigger on double copy still not working. On single copy it does its job. I tried several settings in [Options] "Ignore Clipboard changes if they occur faster than" minimum is 50 ms and settings upto 10000.
Apr 13, 2023  • #19
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
Can you send me a new log from our latest beta? Here are the steps:

  • On the ClipboardFusion Settings > Troubleshooting tab, change the Logging drop-down to "L1: Log Minimal" and click Apply
  • Reproduce the issue and note the time so we'll know where to check in the log file
  • Click the "Export Info to File" button on the Settings > Troubleshooting tab
  • Reply with the file attached
  • Disable debug logging after sending the log
May 31, 2023  • #20
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)