jazzymiles / sharexmod

Automatically exported from code.google.com/p/sharexmod
0 stars 0 forks source link

Error on multi-printscreen & annotate #72

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Print screen several times in 1 second
2. Close several opened annotation editors quickly
3. See error:

System.Runtime.InteropServices.ExternalException: Сбой при 
выполнении запрошенной операции с буфером 
обмена.
   в System.Windows.Forms.Clipboard.SetDataObject(Object data, Boolean copy, Int32 retryTimes, Int32 retryDelay)
   в System.Windows.Forms.Clipboard.SetImage(Image image)
   в ShareX.Task.DoBeforeImagePreparedJobs() в d:\Dev\ShareXmod\trunk\ShareX\Task.cs:строка 504
   в ShareX.Task.DoThreadJob() в d:\Dev\ShareXmod\trunk\ShareX\Task.cs:строка 306
   в ShareX.Task.ThreadDoWork() в d:\Dev\ShareXmod\trunk\ShareX\Task.cs:строка 214
   в HelpersLib.ThreadWorker.WorkThread() в d:\Dev\ShareX\trunk\HelpersLib\ThreadWorker.cs:строка 62
   в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   в System.Threading.ThreadHelper.ThreadStart()

Original issue reported on code.google.com by barbushin on 20 Mar 2013 at 5:57

GoogleCodeExporter commented 9 years ago
I cannot reproduce this on my end. If I hit the key very fast, only the first 
screenshot request goes through. There appears to be a hard delay. Even when I 
can have many screenshots queued up, they all go through fine.

I request that you provide:
a) further information to reproduce this error: what *exactly* are you doing? 
Are you using a custom workflow? Which capture/upload options specifically 
cause this to happen?
b) What sort of system are you running on? Windows XP? Windows 7? 64-bit? On 
what hardware? Are your drivers up to date, etc? I realize it's not likely due 
to hardware or drivers, but it's certainly possible, and worth checking.

Original comment by mopqu...@gmail.com on 21 Mar 2013 at 9:54

GoogleCodeExporter commented 9 years ago
Sorry, it is not happening to me either; pressing PrtScreen multiple times in a 
second is not really a way to take screenshots, you might as well use a video 
capturing app if you intend to capture multiple frames per second. 

Original comment by mcored on 25 Mar 2013 at 9:51