Open GoogleCodeExporter opened 9 years ago
Odd that it would still copy even though the clipboard failed. Otherwise this
would normally be because another app had locked the clipboard for writing and
WinAuth wasn't able to access it.
Of course this could be WinAuth from a bug. Restarting WinAuth should tell you.
Does it still happen? How about rebooting?
Original comment by winauth
on 1 Aug 2014 at 2:24
Haven't seen the issue since the last restart. Could have been an issue with
the upgrade. I used the clickonce installer. i'll let you know if it happens
again but so far so good.
Original comment by thewebsh...@gmail.com
on 1 Aug 2014 at 2:32
Just happened again. I canceled the password prompt at startup, waited a few
hours before having to open the application. Right click and copy produced the
same error.
Original comment by thewebsh...@gmail.com
on 4 Aug 2014 at 1:20
Latest version, now i'm having to hit copy, twice. getting the error both
times, but the code will only copy to clipboard correctly after the second
copy. It's pretty strange.
Original comment by thewebsh...@gmail.com
on 12 Aug 2014 at 1:21
I can't explain why twice works. Do you have any clipboard monitoring
software..and scanned for malware recently? Which AV do you use?
I've uploaded a diagnostic build to try and work out what's going on. Can you
download this one:
https://winauth.com/downloads/3.x/WinAuth-3.1.7.18-DEBUG.zip
It doesn't have any changes except some logging information around the
clipboard code, but nonetheless, please make a backup of your current
authenticators.
If you run it and do a copy, and there is an error - another app has the
clipboard locked for example - then it'll write some details to a winauth.log
file. This file is in \users\<username>\AppData\Roaming\WinAuth, or in the same
folder as the winauth.exe if you are in portable mode.
If you get the error, click Continue, and then can you send me the file.
Original comment by winauth
on 12 Aug 2014 at 9:52
Fresh format of Windows 8.1 with all updates, I don't have malware and use
McAfeeASAP.com for virus protection. Here's the error:
Requested Clipboard operation did not succeed.
at System.Windows.Forms.Clipboard.SetDataObject(Object data, Boolean copy, Int32 retryTimes, Int32 retryDelay)
at WinAuth.WinAuthAuthenticator.CopyCodeToClipboard(Form form, String code, Boolean showError)
Original comment by thewebsh...@gmail.com
on 13 Aug 2014 at 11:11
Update: Does not require to copy twice to work. Still getting unable to copy
Original comment by thewebsh...@gmail.com
on 18 Aug 2014 at 7:23
From my research on this, it seems that this is and has been an issue with the
clipboard API for some time. I've come across other instances where it
literally needed to be done twice to work, or reports an error even though it
worked.
I'll probably put together a new version that just doesn't report an error.
Since that is likely a fringe case, where another app has actually locked your
clipboard, it seems that ignoring is no worse than reporting it.
Do you almost always find it copies the first time despite an error appearing?
Original comment by winauth
on 21 Aug 2014 at 4:14
I wonder if there is a way to tell what is locking the clipboard? It almost
always copies the first time, I've recently noticed. Not giving me an error at
all today. Nothing changed as far as I'm aware.
Original comment by thewebsh...@gmail.com
on 21 Aug 2014 at 6:11
Before the copy is done, it checks to see if the clipboard is locked. If it
was, you would get a different error message with the name of the
Window/process that had the lock.
However, from the diagnostics you sent before, it's passing that test - no lock
- but getting the error when it tries to put the data on the clipboard - as if
there were a lock.
This was reported in Windows moons ago, and they even changed the API to let
you specify the number of times to retry internally. Suggests that there is an
underlying bug...and still not fixed apparently.
I guess the only thing that might help narrow it down is to remember what you
last copied/cut/pasted before trying WinAuth. Or, before you do the WinAuth
copy, do a test copy/paste in notepad or something.
Do you have more than one authenticator, and do any have "copy on new code"
set? (by right clicking).
Original comment by winauth
on 21 Aug 2014 at 6:17
Just "copy code", don't use copy on new code.
Original comment by thewebsh...@gmail.com
on 21 Aug 2014 at 6:30
Original issue reported on code.google.com by
thewebsh...@gmail.com
on 30 Jul 2014 at 12:53