topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday March 29, 2024, 2:08 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Keepass will not be ignored even it is in "Ignore these..."  (Read 8872 times)

Rene_CGN

  • Supporting Member
  • Joined in 2017
  • **
  • default avatar
  • Posts: 5
    • View Profile
    • Donate to Member
Hi,

Keepass will not be ignored even it is listed at Options | Capture Option | Ignore these…
I have copied the filename as shown in “Information about last active window:” of the same tab.

What am I doing wrong?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Keepass will not be ignored even it is in "Ignore these..."
« Reply #1 on: June 12, 2018, 05:01 PM »
Hmm that's strange.. Can you share what you added to the Ignore these applications list?

Rene_CGN

  • Supporting Member
  • Joined in 2017
  • **
  • default avatar
  • Posts: 5
    • View Profile
    • Donate to Member
Re: Keepass will not be ignored even it is in "Ignore these..."
« Reply #2 on: June 13, 2018, 12:24 AM »
No problem, in the background Keepass is shown. as you can see in the below field "Information about last active window:" I have copied the EXE-Filename without changes.

If it is necessary to evaluate this issue, Keepass can be downloaded here: https://keepass.info/

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Keepass will not be ignored even it is in "Ignore these..."
« Reply #3 on: June 13, 2018, 12:43 AM »
It looks like you did it the way you are supposed to.
Let me test myself and report.
KeePass is exactly the kind of application you might want to block from CHS, so obviously it's important to make sure this feature works properly.

TucknDar

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,133
    • View Profile
    • Donate to Member
Re: Keepass will not be ignored even it is in "Ignore these..."
« Reply #4 on: June 13, 2018, 12:31 PM »
I was having the same problem, but changing an option in KeePass fixed it (or worked around it):
I needed to tick the option "Use 'Clipboard Viewer Ignore' clipboard format (not recommended)".

For some reason, if this option is unticked, the password is stored in CHS but listed as the result of another process (seemingly the process that is activated when the KeePass window is minimized).

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Keepass will not be ignored even it is in "Ignore these..."
« Reply #5 on: June 13, 2018, 12:43 PM »
I was having the same problem, but changing an option in KeePass fixed it (or worked around it):
I needed to tick the option "Use 'Clipboard Viewer Ignore' clipboard format (not recommended)".

That is indeed an alternative solution for programs like KeePass.  In some ways it's a better solution because it should work with all well-behaved programs that monitor the clipboard.  But of course it's not a generic solution since other programs you might want to ignore don't have an option to set that flag when they put material on the clipboard.

For some reason, if this option is unticked, the password is stored in CHS but listed as the result of another process (seemingly the process that is activated when the KeePass window is minimized).

Ah ha, well that could explain the problem.  I can implement something more clever to handle such situations.  Putting it at top of my todo list and will try to have a fix in next week.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Keepass will not be ignored even it is in "Ignore these..."
« Reply #6 on: June 14, 2018, 11:05 AM »
I have a beta version to test to see if the problem is fixed:

I'd appreciate it if you'd let me know if the problem is fixed.
« Last Edit: June 18, 2018, 01:47 PM by mouser »

TucknDar

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,133
    • View Profile
    • Donate to Member
Re: Keepass will not be ignored even it is in "Ignore these..."
« Reply #7 on: June 18, 2018, 01:02 PM »
Unfortunately doesn't seem to work.

Btw, there was a missing / in the link to the executable ;)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Keepass will not be ignored even it is in "Ignore these..."
« Reply #8 on: June 18, 2018, 02:19 PM »
Thanks.. Let me try again.. standby..

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Keepass will not be ignored even it is in "Ignore these..."
« Reply #9 on: June 23, 2018, 02:10 AM »
I have uploaded a new beta version -- though I'm not sure why it would work where previous beta did not.
I would appreciate someone testing again.

If you find the issue is not fixed, I would appreciate double checking that you are running the latest beta (2.43.2) and then if I could trouble you to tell me the process to repeat the bug.. You can email me if you prefer that instead of posting ([email protected]).

Beta urls same as above:

TucknDar

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,133
    • View Profile
    • Donate to Member
Re: Keepass will not be ignored even it is in "Ignore these..."
« Reply #10 on: June 23, 2018, 02:42 AM »
Same issue in latest beta (2.43.2).

Steps:
Uncheck "Use 'Clipboard Viewer Ignore' clipboard format (not recommended)" in KeePass.
Screenshot - 23.06.2018 , 09_37_15.pngKeepass will not be ignored even it is in "Ignore these..."
Doubleclick some entry (KeePass is set to minimize, which activates the next window, in this case Vivaldi).
Screenshot - 23.06.2018 , 09_37_49.pngKeepass will not be ignored even it is in "Ignore these..."
CHS-window shows content of clipboard.
Screenshot - 23.06.2018 , 09_38_21.pngKeepass will not be ignored even it is in "Ignore these..."

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Keepass will not be ignored even it is in "Ignore these..."
« Reply #11 on: June 23, 2018, 02:49 AM »
Doubleclick some entry (KeePass is set to minimize, which activates the next window, in this case Vivaldi).

Ah.. ok so I think I understand a bit better now -- KeePass is minimizing BEFORE CHS sees the new clip... That's a really tricky situation, since CHS thinks another app put the text on the clipboard..

Thanks for explaining it again, now at least I can test and see if I can figure out a solution..

One potential solution might be to check if the active window has changed within milliseconds of the clipboard event, and checking against the previous window if so.

I will note that for 99% of cases, this minimize on copy situation will not be relevant, so CHS will be able to ignore apps properly.

TucknDar

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,133
    • View Profile
    • Donate to Member
Re: Keepass will not be ignored even it is in "Ignore these..."
« Reply #12 on: June 23, 2018, 03:25 AM »
I will note that for 99% of cases, this minimize on copy situation will not be relevant, so CHS will be able to ignore apps properly.
I guess that minimizing stuff was a relevant bit of info... To be honest I haven't been too bothered with having to check that option in KeePass, it's not like it makes any practical difference. I can see why you'd want to iron out even small issues like this, though.

TucknDar

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,133
    • View Profile
    • Donate to Member
Re: Keepass will not be ignored even it is in "Ignore these..."
« Reply #13 on: June 23, 2018, 03:28 AM »
KeePass is minimizing BEFORE CHS sees the new clip... That's a really tricky situation, since CHS thinks another app put the text on the clipboard..
Would it be possible to ignore new clips whenever KeePass is the active window? Or would that be too hackish, after all there might be plenty of reasons to use CHS with KeePass, for new entries, edited entries, etc. I dunno.. not a coder :p

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Keepass will not be ignored even it is in "Ignore these..."
« Reply #14 on: June 23, 2018, 03:35 AM »
Would it be possible to ignore new clips whenever KeePass is the active window?
Well that's what it does when you add KeePass to the ignore list.  The problem is that at the moment the new clip is copied to the clipbard, KeePass minimizes and another app becomes active focus.. So CHS thinks that the clip came from the other app.

A possible solution would be, when a clipboard event happens, look not just at the active window, but the window previously active -- and if its on the ignore list and was active less than say 250 milliseconds previous, assume that it probably came from the PREVIOUSLY active window.

reynolds_john

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 8
    • View Profile
    • Donate to Member
Re: Keepass will not be ignored even it is in "Ignore these..."
« Reply #15 on: July 07, 2018, 03:36 PM »
Hello,

Is this version with KeePass exclusion due out any time soon, or should I use the beta?

Best,

--J

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Keepass will not be ignored even it is in "Ignore these..."
« Reply #16 on: July 07, 2018, 10:09 PM »
For now, you can use the normal CHS download and go into KeePass options and enable the option "Use 'Clipboard Viewer Ignore' clipboard format (not recommended)" in KeePass.

I will try to come up with a more clever solution for CHS soon.