Preferences can be changed while a clean is running
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
Direzione di ricerca
Start in the GUI handler cb_preferences_dialog and the refuse_if_busy check that the other menu actions already use. Then read delete() in FileUtilities.py, which reads options.get('shred') per file, and whitelisted_posix()/whitelisted_windows(), which read options.get_whitelist_paths() per file. Done means Preferences either refuses to open or opens read-only while a clean runs, or the per-file settings are fixed for the length of the run. The maintainer's comment leaves the choice between those two open, so confirm it before writing code.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The menu stays usable while a preview or clean runs. Shred, wipe free space, paste and drag and drop refuse with "Wait for the current operation to finish.", but Preferences still opens and saves.
Some settings are read for every file during the clean, so a change applies to the rest of the run:
- "Overwrite contents of files to prevent recovery": delete() checks options.get('shred') per call (FileUtilities.py), so turning it on halfway shreds the remaining files, and turning it off stops shredding.
- Keep list: whitelisted_posix()/whitelisted_windows() read options.get_whitelist_paths() per file, so a path added mid-clean may or may not be kept depending on timing.
To reproduce: start a clean with many files, open Preferences, toggle "Overwrite contents", look at the log.
Maybe the easiest fix is to call refuse_if_busy() in cb_preferences_dialog like the other menu actions. Or open it read-only during a clean.
Noticed it in #1184.
Opening for tracking, I'll try to fix it at some point.
- Lingua principale
- Python
- Stelle
- 7.1k
- Fork
- 458
- Merge medio
- 2g 11h
- PR unite (30g)
- 40
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di bleachbit/bleachbit
-
bug platform: linux
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
NSIS installer missing six translationsForse già presa @zeyadrabie l’ha presa 13 giorni fa. Apertacomponent:nsis platform: windows translation
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
bleachbit/bleachbit#2545 · 4 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Add Stremio CacheAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
test_is_process_running_linux fails under sudoForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertabug platform: linux
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
bleachbit/bleachbit#1742 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di bleachbit/bleachbit
Issue simili
-
docs: powerpc not supportedAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
microsoft/TokenEconomizer#360 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
reasons-gate
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
benthomasson/reasons-service#190 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno