robmikh / SimpleRecorder

A simple screen recorder using both the Windows.Graphics.Capture and Windows.Media.Transcoding APIs.
MIT License
223 stars 48 forks source link

Cannot stop recording in this scenario #19

Closed MarcAnt01 closed 4 years ago

MarcAnt01 commented 4 years ago

When I select record an app and I minimize it during the recording, once I go back to Simple Screen Recorder I cannot stop it and pressing the button lets me choose whether to record the screen or an app

robmikh commented 4 years ago

Are you minimizing Simple Screen Recorder or the application you're recording? Note that when Simple Screen Recorder is minimized, it's no longer scheduled. That means it can't receive new frames. However, it usually manifests as the video being "paused" and it resumes when in the foreground again. You can circumvent this by enabling background execution.

That being said, I wouldn't expect Simple Screen Recorder to reset its state. Does this happen with all apps you record? It would also be great to know what build of Windows you're running.

MarcAnt01 commented 4 years ago

Hi, I'm on 2004 and I can reproduce it with every app. I mean minimize the app and not Simple Screen Recorder. It always happens when I do it twice and usually when I do it once. I mean start recording the app, minimizing the app, reopening the app window, minimizing the app once again.

MarcAnt01 commented 4 years ago

Note that with minimize I mean the window of the app and not the whole app (sorry if I have created a bit of confusion)

robmikh commented 4 years ago

Hmmm, sorry I'm unable to reproduce this on a couple different machines. If you could provide complete repro steps and the names of the applications this happens with I may be able to narrow it down.

Until then I'll close this issue.