Closed
Bug 1359471
Opened 9 years ago
Closed 9 years ago
Disk Space cache setting doesn't survive restart - browser.cache.disk.smart_size.enabled missing from the panel
Categories
(Thunderbird :: Preferences, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 55.0
People
(Reporter: 357grizzly, Assigned: Paenglab)
Details
(Keywords: regression)
Attachments
(1 file)
|
5.41 KB,
patch
|
jorgk-bmo
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:53.0) Gecko/20100101 Firefox/53.0
Build ID: 20170413192749
Steps to reproduce:
Setting Disk Space to 50mb doesn't stick.
Actual results:
When TB is reopened, Disk Space setting returns to 350mb. Placing "user_pref("browser.cache.disk.capacity", 51200);" into my user.js file has no effect. Checking the actual disk space results in more than 50mb used, so it's not a UI glitch.
Expected results:
Setting Disk Space to 50mb should stick.
Comment 1•9 years ago
|
||
I see this also in 53.0b2. Do you see anything in tools > error console?
Steps:
- open options and change cache setting
- close options
- reopen options - the changed value is there
- restart thunderbird
changed value isn't there
Severity: normal → minor
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(grizzly)
Keywords: regression
Summary: TB 52.0.1 - Disk Space Setting Not Kept → Disk Space cache setting doesn't survive restart
Comment 2•9 years ago
|
||
Oh, it looks like we're missing the "Override automatic cache management" option that FF has.
We need to add browser.cache.disk.smart_size.enabled to the panel.
Richard, could you take this bug, please.
Flags: needinfo?(richard.marti)
Summary: Disk Space cache setting doesn't survive restart → Disk Space cache setting doesn't survive restart - browser.cache.disk.smart_size.enabled missing from the panel
| Reporter | ||
Comment 3•9 years ago
|
||
(In reply to Wayne Mery (:wsmwk, NI for questions) from comment #1)
> I see this also in 53.0b2. Do you see anything in tools > error console?
>
> Steps:
> - open options and change cache setting
> - close options
> - reopen options - the changed value is there
> - restart thunderbird
>
> changed value isn't there
This is exactly what I'm experiencing. I have items in the error console, but I'm at a loss how to interpret what I'm seeing.
Flags: needinfo?(grizzly)
Summary: Disk Space cache setting doesn't survive restart - browser.cache.disk.smart_size.enabled missing from the panel → Disk Space cache setting doesn't survive restart
| Reporter | ||
Comment 4•9 years ago
|
||
(In reply to Jorg K (GMT+2) from comment #2)
> Oh, it looks like we're missing the "Override automatic cache management"
> option that FF has.
> We need to add browser.cache.disk.smart_size.enabled to the panel.
>
> Richard, could you take this bug, please.
Thanks for the tip. Toggling browser.cache.disk.smart_size.enabled to false seems to have alleviated the problem (at least in the UI). I'll need to wait a while to see if the cache size is physically kept to 50mb.
Updated•9 years ago
|
Summary: Disk Space cache setting doesn't survive restart → Disk Space cache setting doesn't survive restart - browser.cache.disk.smart_size.enabled missing from the panel
| Assignee | ||
Comment 5•9 years ago
|
||
Something like this?
Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Flags: needinfo?(richard.marti)
Attachment #8861579 -
Flags: review?(jorgk)
Comment 6•9 years ago
|
||
(In reply to Richard Marti (:Paenglab) from comment #5)
> Something like this?
I think so. You copied all the relevant bits from FF and it works!
If used "in-content", the "v" clashes with "View". And maybe you can explain to me why the "a" for "Compact" doesn't work. Of course that's not part of this bug, but just out of interest.
| Assignee | ||
Comment 7•9 years ago
|
||
"v" works directly for me and the "View" isn't touched. In In-content you have to use SHIFT additionally to the normal accesskeys. Here also ALT SHIFT v.
Comment 8•9 years ago
|
||
Comment on attachment 8861579 [details] [diff] [review]
Bug1359471.patch
Thanks, using <shift> works. I can land this now with another bug I have.
Attachment #8861579 -
Flags: review?(jorgk) → review+
Updated•9 years ago
|
Severity: minor → normal
| Assignee | ||
Comment 9•9 years ago
|
||
Okay, I don't set c-n.
Comment 10•9 years ago
|
||
https://hg.mozilla.org/comm-central/rev/6050971cbdcd387cbe97d8e43c157a119341b221
Due to the string changes I can't backport this to TB 52 ESR, sorry.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 55.0
Comment 11•9 years ago
|
||
https://hg.mozilla.org/l10n-central/nl/rev/cb9bacfe1515c9f82704680e8745ff16b65c9efb
Bug 1359471 - Add a checkbox to disable the cache smart size
You need to log in
before you can comment on or make changes to this bug.
Description
•