You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When opening a built-in workflow template that references missing models, clicking the "Download All" button shows a native "Save As" directory picker dialog for each model, instead of automatically downloading to the correct model subdirectory.
Environment
Desktop Version: 0.8.35+ (installed on D:\ drive)
ComfyUI Version: 0.24.1
Frontend Package: 1.44.19
OS: Windows 10 64-bit
Install path:D:\ComfyUI
Model path:D:\ComfyUI\ComfyUI\models
Steps to Reproduce
Install ComfyUI Desktop on D: drive (non-C: drive)
Open a built-in workflow template (e.g. any template that requires models not yet downloaded)
Desktop detects missing models and shows "Download All" prompt
Click "Download All"
⚠️ A native Windows "Save As" dialog pops up for each model, asking where to save instead of auto-downloading to the correct subdirectory under models/
Expected Behavior
Models should automatically download to the correct subdirectory based on model type, e.g.:
Checkpoints → models/checkpoints/
Diffusion models → models/diffusion_models/
LoRAs → models/loras/
VAEs → models/vae/
This worked correctly when ComfyUI Desktop was installed on C:\ drive. After reinstalling on D:, the "Save As" dialog appears.
Investigation Findings
Backend is correctly configured
folder_paths.models_dir points to D:\ComfyUI\ComfyUI\models ✅
extra_model_paths.yaml is properly loaded with download_model_base: D:\ComfyUI\models ✅
get_model_dir() returns valid paths for all model types ✅
Model directories exist and are writable ✅
Relevant startup log from logs/comfyui.log:
[INFO] Adding extra search path download_model_base D:\ComfyUI\models
[INFO] Adding extra search path checkpoints D:\ComfyUI\ComfyUI\models\checkpoints
...
Root Cause Analysis
This is related to the "Missing Models Downloads" regression reported in ComfyUI#12961 — the "Download All" button was introduced in a frontend update but fails to properly route downloads through the Manager backend API.
The Desktop's DownloadManager validates download paths against {installPath}/models. When the save path doesn't match (string comparison), it falls back to dialog.showSaveDialog(). Even with a junction or download_model_base pointing to the correct path, the dialog still appears, suggesting the frontend may not be passing the savePath to DownloadManager.startDownload() at all.
Workaround: Using ComfyUI Manager → Model Manager to download individual models works correctly because it uses the backend API (/v2/manager/queue/install_model) directly, bypassing the frontend download handler.
Description
When opening a built-in workflow template that references missing models, clicking the "Download All" button shows a native "Save As" directory picker dialog for each model, instead of automatically downloading to the correct model subdirectory.
Environment
D:\ComfyUID:\ComfyUI\ComfyUI\modelsSteps to Reproduce
models/Expected Behavior
Models should automatically download to the correct subdirectory based on model type, e.g.:
models/checkpoints/models/diffusion_models/models/loras/models/vae/This worked correctly when ComfyUI Desktop was installed on C:\ drive. After reinstalling on D:, the "Save As" dialog appears.
Investigation Findings
Backend is correctly configured
folder_paths.models_dirpoints toD:\ComfyUI\ComfyUI\models✅extra_model_paths.yamlis properly loaded withdownload_model_base: D:\ComfyUI\models✅get_model_dir()returns valid paths for all model types ✅Relevant startup log from
logs/comfyui.log:Root Cause Analysis
This is related to the "Missing Models Downloads" regression reported in ComfyUI#12961 — the "Download All" button was introduced in a frontend update but fails to properly route downloads through the Manager backend API.
The Desktop's
DownloadManagervalidates download paths against{installPath}/models. When the save path doesn't match (string comparison), it falls back todialog.showSaveDialog(). Even with a junction ordownload_model_basepointing to the correct path, the dialog still appears, suggesting the frontend may not be passing thesavePathtoDownloadManager.startDownload()at all.Workaround: Using ComfyUI Manager → Model Manager to download individual models works correctly because it uses the backend API (
/v2/manager/queue/install_model) directly, bypassing the frontend download handler.Related Issues
Logs
Full
logs/comfyui.logshows all model paths are correctly registered. Theuser/comfyui.logconfirms ComfyUI starts without errors.