Refactor: settings persistence
@C-Achard ya está trabajando en esto.
Desde el 14/8/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Improve configuration persistence and recovery UX
Goal
Prevent loss of unsaved experiment settings while keeping portable configuration separate from QSettings UI preferences.
Unsaved changes should be persisted in a temp recovery JSON, which the user can access.
This is to prevent settings being buried in QSettings, and allow for better inspection.
Persist in the recovery JSON
Autosave the complete portable experiment configuration:
multi_camera- Camera list, including single-camera setups
- Backend and device identity
- Resolution, FPS, exposure, gain, crop, rotation
- Trigger and backend-specific properties
dlc- Model path and type
- Device, precision, resize, dynamic crop
- Additional processor options
recording- Output directory
- Filename and container
- Codec and CRF
- Fast encoding
bboxvisualization- Not part of the schema yet:
- Selected inference camera
- Selected processor and enabled state
Keep in QSettings
- Last explicit configuration path
- Recovery config JSON path and maybe metadata
- Recent configuration paths
- Last directory used by file dialogs
- Window geometry, dock layout, and theme (maybe)
- Session name
- Timestamp-based versus indexed run folder preference (or according to Session scope rework)
- Other local UI preferences
Recovery behavior
- Autosave modified configuration to a readable temporary JSON file
- Include:
- Schema version
- Autosave timestamp
- Associated explicit configuration path
- Never overwrite the user’s explicit JSON file automatically
- On startup, load the last valid explicit configuration best-effort
- If a newer or different recovery file exists, offer:
- Restore recovered configuration
- Use saved configuration
- Save recovery as...
- If a newer or different recovery file exists, offer:
- Provide a way to open the recovery JSON file location
Unsaved config changes UX
Track whether the current UI differs from the last explicit save.
Before closing, loading another configuration, or replacing the current setup, show a warning message.
Additional low-effort UX improvements
- Add a Recent configurations menu
- Improve Save As for duplicating an experiment configuration
- Extra validation?
- Later consider a Start experiment action that starts preview, initializes inference, and optionally begins recording in a single click
- Lenguaje dominante
- Python
- Estrellas
- 72
- Forks
- 28
- Merge medio
- 1 d 10 h
- PR fusionados (30 d)
- 2
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de DeepLabCut/DeepLabCut-live-GUI
-
enhancement
DeepLabCut/DeepLabCut-live-GUI#127 · 1 asignado ·
-
Add torch device toggle/dropdown Abiertoconfig gui
DeepLabCut/DeepLabCut-live-GUI#124 · 1 asignado ·
-
camera DLClive performance
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
-
processor
DeepLabCut/DeepLabCut-live-GUI#117 · 1 reacción · 1 asignado ·
-
config
DeepLabCut/DeepLabCut-live-GUI#112 · 1 asignado ·
Todos los issues de DeepLabCut/DeepLabCut-live-GUI
Issues similares
-
[Bug] reef-hermes tells me to resume with hermes --resume, which does not work from my shell Abiertoarea: harness bug status: needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Human-Agent-Society/reef#625 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 80/100
learningequality/kolibri#15351 · 2 comentarios ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
Name consistency Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
eellak/triplestore#65 · 1 comentario ·