Closed Bug 544648 Opened 16 years ago Closed 16 years ago

firefox should prevent Windows from going to sleep when downloading

Categories

(Firefox :: Shell Integration, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 383060

People

(Reporter: francesco.montorsi, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; it; rv:1.9.2) Gecko/20100115 Firefox/3.6 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; it; rv:1.9.2) Gecko/20100115 Firefox/3.6 Firefox should call the Windows API SetThreadExecutionState() (see http://msdn.microsoft.com/en-us/library/aa373208%28VS.85%29.aspx) to tell Windows to prevent the PC from going to sleep when downloading files. Currently if I leave my PC downloading a large file, Windows will put it to sleep interrupting in this way the downloading. This is very annoying. Reproducible: Always Steps to Reproduce: 1. Go to "Power options" in Windows' Control Panel and set the computer so that it goes to sleep after 5-10min of inactivity 2. open Firefox and start to download a large file 3. wait 5-10min and you'll see that the PC goes to sleep Actual Results: The PC goes in sleep mode halting any download. Expected Results: Prevent the PC from going to sleep mode until the download is terminated.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.