Bleachbit cleans Firefox even when deselected

Bug #1295826 reported by Beerslayer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
BleachBit
Fix Released
Medium
Andrew Ziem

Bug Description

System information:
Bleachbit 1.0 (running under non-root account without using sudo, hence with limited privileges)
Firefox 27.0
Fedora 19 (LXDE spin) booted from external 8GB USB flash drive
very low free disk space (in case that's relevant)

Problem:
Bleachbit cleans files in the Firefox directory even though I've told it not to do so by unchecking all boxes in the Firefox section. It does this even though Firefox is actively running at the time. This plays havoc with Firefox since its cached items are now nonexistent and it is too stupid to reload them. I end up having to quit Firefox then reload it to get back to normal.

Since Bleachbit reports on its actions in its main window, I can see that it is removing files in the active (only!) Firefox profile despite no checkboxes in the Firefox section being checked.

I'm not a Linux guru, but if you need more information I'll be happy to attempt to get it for you.

Tags: firefox
Revision history for this message
Andrew Ziem (ahziem1) wrote :

Under Linux the option System -Cache will clean Firefox cache because Firefox is storing the cache in the universal cache directory ~/.cache/mozilla instead of under its own ~/.mozilla directory.

To exclude Firefox cache, either
1. uncheck System - Cache or
2. open the BleachBit preferences and add ~./cache/mozilla to the white list

Revision history for this message
Beerslayer (beerslayer) wrote :

You're probably right, but this should still probably be handled better. I don't want to whitelist the entire .cache/mozilla path - under most circumstances, I do want Bleachbit to clean it. Even if Firefox files are in .cache/mozilla, I'd prefer them to be controlled by the Firefox option rather than the System cache option.

But under no circumstances should Bleachbit be deleting Firefox-related files while Firefox is actively running! At the very least, it ought to check whether a process named "firefox" is running and, if it is, refuse to delete any files with "firefox" or "mozilla" in the path (and likewise for Thunderbird).

Revision history for this message
Andrew Ziem (ahziem1) wrote :

Hmm, this is a bit of a mess. The universal ~/.cache is made for easy cleaning, but if it messes up Firefox while it is running, now it needs special rules again.

The workaround I'm planning on is to automatically whitelist it under "System - Cache" and add it to Firefox.

Changed in bleachbit:
assignee: nobody → Andrew Ziem (ahziem1)
importance: Undecided → Medium
milestone: none → 1.1
status: New → Triaged
milestone: 1.1 → 1.2
Revision history for this message
Andrew Ziem (ahziem1) wrote :
Changed in bleachbit:
status: Triaged → Fix Committed
Revision history for this message
Andrew Ziem (ahziem1) wrote :

Fixed in BleachBit 1.3 beta, which is released here. Please test.
http://bleachbit.sourceforge.net/news/bleachbit-13-beta

Changed in bleachbit:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.