Comfy-Org / ComfyUI_frontend

Official front-end implementation of ComfyUI
https://www.comfy.org/
GNU General Public License v3.0
629 stars 114 forks source link

[Bug]: ComfyUI Prevents Windows 11 from Putting Monitors to Sleep #1270

Open gonzalu opened 1 month ago

gonzalu commented 1 month ago

Frontend Version

image

Expected Behavior

When ComfyUI is running, Windows should be able to put monitors to sleep

Actual Behavior

When ComfyUI is running, the monitors NEVER go to sleep

Steps to Reproduce

Windows 11 Power Mode set to put monitors to sleep after 5 minutes of inactivity Run ComfyUI Monitors never go to sleep

If ComfyUI is NOT running, monitors sleep as expected.

This was working fine until a few versions ago. I am not sure when it started because I had not realized it until just today.

Debug Logs

Restarting... [Legacy Mode]

[START] Security scan
[DONE] Security scan
## ComfyUI-Manager: installing dependencies done.
** ComfyUI startup time: 2024-10-19 21:07:20.408534
** Platform: Windows
** Python version: 3.11.6 (tags/v3.11.6:8b6ee5b, Oct  2 2023, 14:57:12) [MSC v.1935 64 bit (AMD64)]
** Python executable: E:\ComfyUI\python_embeded\python.exe
** ComfyUI Path: E:\ComfyUI\ComfyUI
** Log path: E:\ComfyUI\comfyui.log

Browser Logs

Autofocus processing was blocked because a document already has a focused element. turbo.es2017-esm.js:2741 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src github.githubassets.com". Either the 'unsafe-inline' keyword, a hash ('sha256-qj0I2Zs5/TWHWuvzkXXPdhzbJV4CHCnYNi4hAWPr6XU='), or a nonce ('nonce-...') is required to enable inline execution.

copyNewHeadScriptElements @ turbo.es2017-esm.js:2741 Show 1 more frame Show less [NEW] Explain Console errors by using Copilot in Edge: click

     to explain an error. 
    Learn more

What browsers do you use to access the UI ?

Microsoft Edge

Other

No response

gonzalu commented 2 weeks ago

Hello,

Any updates on this? It has become a real problem for long batch generation sessions. I have to turn off the monitors manually... it was not a problem a few versions ago.

Thank you for your help.