How to prevent Ditto clipboard manager from saving text copied in KeepPassXC?

brainplot

I'm using Ditto to extend the native Windows' clipboard. I would like it to not save the text I copy in KeePassXC.

I've already found this question and tried adding KeePassXC.exe (as listed in the Windows' task manager) to the list of excluded processes, but it won't work. Here's how I tried to set it up:

enter image description here

enter image description here

Oddly enough, if I try to add chrome.exe to the list of excluded processes, it will work as expected. Any solution?

qcksilver

Update: The Ditto developers fixed this in Ditto Beta version 3.21.248! You can download it at https://ditto-cp.sourceforge.io/beta/

For more info see https://sourceforge.net/p/ditto-cp/discussion/287511/thread/6c5ae56a/#a80b


Original answer:

I have found the reason why Ditto is not properly excluding KeePassXC text, but unfortunately I have not found how to fix it yet:

Ditto is not able see the KeePassXC application.

Since it can't see the KeePassXC application when it is open, Ditto doesn't know to ignore text copied from within it even if it is in the exclude list.

I figured this out by enabling Ditto's log. I excluded all KeePassXC processes I saw in task manager, as well as notepad to test both and see what happens when I try to copy text from within both applications. (Ditto options screenshot)

(To enable logging, open Ditto, then ctrl + F5 to start/stop log. Log file can be found in C:\Users\ user name \AppData\Roaming\Ditto)

When I tried to copy text from within notepad, the log below shows what is supposed to happen when text is copied from an application that has been added to the Ditto exclude list. Notice that Ditto recognized notepad as the active app (highlighted in this screenshot).

[2018/8/4 01:30:03.533 - ClipboardViewer.cpp 241] OnClipboardChange - Start
[2018/8/4 01:30:03.540 - ClipboardViewer.cpp 320] INCLUDE app names: *, Active App: notepad.exe
[2018/8/4 01:30:03.547 - ClipboardViewer.cpp 333] Inlclude app names Found Match * - notepad.exe
[2018/8/4 01:30:03.554 - ClipboardViewer.cpp 347] EXCLUDE app names keepassxc.exe;keepassxc-proxy.exe;keepassxc-cli.exe;keepass.exe;*.kdbx;notepad.exe;, Active App: notepad.exe
[2018/8/4 01:30:03.559 - ClipboardViewer.cpp 357] Exclude app names Found Match notepad.exe - notepad.exe - NOT SAVING COPY
[2018/8/4 01:30:03.566 - ClipboardViewer.cpp 243] OnClipboardChange - End

However, the log below shows what happens when I copy text from within KeePassXC. Notice that the "Active app" is blank (highlighted in this screenshot). If Ditto can not see KeePassXC, then it can not know that it should ignore the text copied from within the program.

[2018/8/4 01:29:44.999 - ClipboardViewer.cpp 241] OnClipboardChange - Start
[2018/8/4 01:29:45.007 - ClipboardViewer.cpp 320] INCLUDE app names: *, Active App: 
[2018/8/4 01:29:45.013 - ClipboardViewer.cpp 333] Inlclude app names Found Match * - 
[2018/8/4 01:29:45.018 - ClipboardViewer.cpp 347] EXCLUDE app names keepassxc.exe;keepassxc-proxy.exe;keepassxc-cli.exe;keepass.exe;*.kdbx;notepad.exe;, Active App: 
[2018/8/4 01:29:45.021 - ClipboardViewer.cpp 266] OnDrawClipboard:: *** SetTimer *** 455056375
[2018/8/4 01:29:45.024 - ClipboardViewer.cpp 243] OnClipboardChange - End
[2018/8/4 01:29:45.135 - ClipboardViewer.cpp 392] OnDrawClipboard::OnTimer 455056500
[2018/8/4 01:29:45.141 - CopyThread.cpp 56] OnClipboardChange - Start
[2018/8/4 01:29:45.147 - CopyThread.cpp 109] LoadFromClipboard - Before
[2018/8/4 01:29:45.157 - Clip.cpp 435] Tried to set description from cf_unicode text, Set: 1, Desc: [keepassxc test]

I am not an expert on KeePassXC or Ditto, so I'm not sure if this a problem with Ditto or with KeePassXC. I wonder if this bug may actually be some sort of security "feature" of KeePassXC - maybe it tries to hide itself from other programs?

If we can get Ditto to see KeePassXC as an active app, then it should work properly. Unfortunately I haven't figured out how to do that yet.

I know this is only a half answer, sorry. I have identified why Ditto isn't properly excluding KeePassXC, but I have no idea how to fix it. I am having the same problem as you, so I hope this info helps someone else smarter than me to come up with a fix.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Prevent line numbers from being copied to clipboard

From Dev

Ditto clipboard manager for multiple copy and paste

From Dev

How to prevent text copied from OneNote to be pasted as an image

From Dev

how can I paste copied-clipboard text to a file from terminal?

From Dev

how can I paste copied-clipboard text to a file from terminal?

From Dev

Prevent Ditto from copying in KeePass

From Dev

Preserve contents of clipboard when a programs from text from copied exits

From Dev

Prevent CopyQ clipboard manager from keeping data from KeePass

From Dev

How can I count characters of text copied in the clipboard?

From Dev

Accessing text copied to clipboard by python

From Dev

How might I pass text data from the ruby console into my clipboard without saving to a file?

From Dev

Getting a copied email from the clipboard

From Dev

How to prevent part of HTML text from being copied when copying adjacent?

From Dev

How to prevent part of HTML text from being copied when copying adjacent?

From Dev

Prevent Excel from clearing copied data for pasting, after certain operations, without Office clipboard

From Dev

get data from clipboard (copied from Powerpoint)

From Dev

Ditto (clipboard manager): can't set shortcut of Win+<num>. Get “Error Registering Position 1”

From Dev

Paste Copied File From Clipboard To File System

From Dev

How to copy text from a div to clipboard

From Dev

How to copy text to / from clipboard in Go?

From Dev

How to copy text from pentadactyl to system clipboard?

From Dev

How to copy text to Clipboard from TextField in Android

From Dev

How to paste text from clipboard with jQuery Mobile?

From Dev

How to pipe text from command line to the clipboard

From Dev

How to load a stream with a file copied in Windows clipboard

From Dev

How can I prevent javascript from copying a line break to clipboard?

From Dev

Qualtrics: Javascript to prevent saving entry from Text Box

From Dev

How to prevent admin login popup when using Ditto

From Dev

Why copying a text box in Adobe Acrobat XI Pro does not appear in Ditto's clipboard history?

Related Related

  1. 1

    Prevent line numbers from being copied to clipboard

  2. 2

    Ditto clipboard manager for multiple copy and paste

  3. 3

    How to prevent text copied from OneNote to be pasted as an image

  4. 4

    how can I paste copied-clipboard text to a file from terminal?

  5. 5

    how can I paste copied-clipboard text to a file from terminal?

  6. 6

    Prevent Ditto from copying in KeePass

  7. 7

    Preserve contents of clipboard when a programs from text from copied exits

  8. 8

    Prevent CopyQ clipboard manager from keeping data from KeePass

  9. 9

    How can I count characters of text copied in the clipboard?

  10. 10

    Accessing text copied to clipboard by python

  11. 11

    How might I pass text data from the ruby console into my clipboard without saving to a file?

  12. 12

    Getting a copied email from the clipboard

  13. 13

    How to prevent part of HTML text from being copied when copying adjacent?

  14. 14

    How to prevent part of HTML text from being copied when copying adjacent?

  15. 15

    Prevent Excel from clearing copied data for pasting, after certain operations, without Office clipboard

  16. 16

    get data from clipboard (copied from Powerpoint)

  17. 17

    Ditto (clipboard manager): can't set shortcut of Win+<num>. Get “Error Registering Position 1”

  18. 18

    Paste Copied File From Clipboard To File System

  19. 19

    How to copy text from a div to clipboard

  20. 20

    How to copy text to / from clipboard in Go?

  21. 21

    How to copy text from pentadactyl to system clipboard?

  22. 22

    How to copy text to Clipboard from TextField in Android

  23. 23

    How to paste text from clipboard with jQuery Mobile?

  24. 24

    How to pipe text from command line to the clipboard

  25. 25

    How to load a stream with a file copied in Windows clipboard

  26. 26

    How can I prevent javascript from copying a line break to clipboard?

  27. 27

    Qualtrics: Javascript to prevent saving entry from Text Box

  28. 28

    How to prevent admin login popup when using Ditto

  29. 29

    Why copying a text box in Adobe Acrobat XI Pro does not appear in Ditto's clipboard history?

HotTag

Archive