-
-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
My application is a timer-based app that captures screenshots every 10 minutes on Windows. The app runs continuously in the background
Some users do not shut down their systems and instead put them into sleep mode. After prolonged sleep, the screenshot function fails. This might be due to a resource.
Steps to reproduce:
- Launch the app and let it run in the background.
- Put the Windows system into sleep mode.
- Leave it in sleep for an extended period (e.g., overnight).
- Wake the system.
- Observe the app attempting to take screenshots.
Expected behavior:
The app should either resume normal screenshot capture after sleep or handle the failure gracefully with proper recovery.
Actual behavior:
After the system wakes:
- Screenshot capturing fails.
- App throws an "Invalid image data" exception.
Exception: Invalid image data - The issue persists until the app is restarted.
Metadata
Metadata
Assignees
Labels
No labels