Closed
Bug 1442231
Opened 7 years ago
Closed 6 years ago
The yellow notification bar isn't displayed under the address bar instructing the user to clear stored site data or to continue
Categories
(Core :: Storage: Quota Manager, defect, P3)
Tracking
()
RESOLVED
INVALID
People
(Reporter: hyacoub, Assigned: tt)
References
Details
Attachments
(2 files)
[Affected versions]: Nightly 60.0a1 [Affected platforms]: Windows 7 x32, Windows 10 x64 [Steps to reproduce]: scenario 1: 1. Access the following test page https://bug1377104.bmoattachments.org/attachment.cgi?id=8882153 and store >= 5G in persistent storage. Note: to store data into Firefox click on "Persist me" button -> "Allow" and "Start adding data". scenario 2: 1. Go to about:config and set "browser.storageManager.pressureNotification.minIntervalMS" = 120000 2. Access the following test page https://bug1377104.bmoattachments.org/attachment.cgi?id=8882153 and store < 5G in persistent storage. Note: to store data into Firefox click on "Persist me" button -> "Allow" and "Start adding data". [Expected result]: A yellow notification bar is displayed under the address bar instructing the user to clear stored site data. [Actual result]: The yellow notification bar is not displayed under the address bar instructing the user to clear stored site data or to continue. [Note]: On MacOS 10.12 the issue isn't reproducible only when using a fresh profile. On Ubuntu 16.04 only the notification bar for under 5 GB witch indicates to continue adding data is displayed, and after clicking on "OK, Got it" nothing happens.
Reporter | ||
Updated•7 years ago
|
status-firefox58:
--- → affected
status-firefox59:
--- → affected
Comment 1•7 years ago
|
||
Hani, can you see if this is a regression using mozregression? That will give us a place to start looking into this.
Flags: needinfo?(hani.yacoub)
Comment 2•7 years ago
|
||
Sounds like a thing Quota Manager folks should look at.
Component: Preferences → DOM: Quota Manager
Product: Firefox → Core
Updated•7 years ago
|
Priority: -- → P3
Reporter | ||
Comment 4•7 years ago
|
||
Friday when I tried to see if it's a regression I couldn't find any good build, and non of the notifications were displayed. Today when I tried to do the same thing, on every build I tried the same notification appeared, only after the "Data added to indexeddb" reached 10000 MB or more the notification appeard. But the notification which should be displayed when the "Data added to indexeddb" is 5G or less was not displayed.
Flags: needinfo?(hani.yacoub)
Comment 5•6 years ago
|
||
This is something that Tom could investigate.
Flags: needinfo?(jvarga) → needinfo?(shes050117)
Assignee | ||
Comment 6•6 years ago
|
||
I'll investigate after finishing the initial steps for bug 1482662 (probably in a few days). Keep ni myself for noticing.
Assignee: nobody → shes050117
Assignee | ||
Comment 7•6 years ago
|
||
Try to reproduce it as my initial step
Flags: needinfo?(shes050117)
Comment 8•6 years ago
|
||
I wonder how you figured out that 5G is the magic number. Quota manager fires the storage pressure notification when its storage is full. Size of the storage depends on initial free disk space, so it depends on concrete machine. If you want to check storage pressure notifications in a reliable manner, you should use the "dom.quotaManager.temporaryStorage.fixedLimit" pref. Tom can help you with that.
Assignee | ||
Comment 9•6 years ago
|
||
(In reply to Hani Yacoub from comment #0) Hi Hani, Thanks for reporting this and the steps for reproducing! > [Steps to reproduce]: > scenario 1: > 1. Access the following test page > https://bug1377104.bmoattachments.org/attachment.cgi?id=8882153 and store >= > 5G in persistent storage. > Note: to store data into Firefox click on "Persist me" button -> "Allow" and > "Start adding data". Please correct me if I am wrong. IIRC, Firefox seems to notify users that while they are under a storage pressure event. In this scenario, I can't grab enough information to see Firefox should notify users about that. If your free disk space is less than a certain size, then you should get that while you are trying to add storage into Firefox. Could you tell me how much free disk space did your computer have so that you expect FF should show a notification? Or, could you show me why you expected to have a notification while there is a persistent storage and storing >= 5 G? > scenario 2: > 1. Go to about:config and set > "browser.storageManager.pressureNotification.minIntervalMS" = 120000 > 2. Access the following test page > https://bug1377104.bmoattachments.org/attachment.cgi?id=8882153 and store < > 5G in persistent storage. > > Note: to store data into Firefox click on "Persist me" button -> "Allow" and > "Start adding data". So does this case. > [Expected result]: > A yellow notification bar is displayed under the address bar instructing the > user to clear stored site data. > > > [Actual result]: > The yellow notification bar is not displayed under the address bar > instructing the user to clear stored site data or to continue. > > [Note]: > On MacOS 10.12 the issue isn't reproducible only when using a fresh profile. > On Ubuntu 16.04 only the notification bar for under 5 GB witch indicates to > continue adding data is displayed, and after clicking on "OK, Got it" > nothing happens. So, in some cases, your FF shows that bar. The first thing comes to my mind is like what I mentioned. It seems to me there is another controlling factor (e.g. free spaces). It'd be really nice if you can provide me more information or show me the reason.
Flags: needinfo?(hani.yacoub)
Reporter | ||
Comment 10•6 years ago
|
||
It has been a long time since I logged the bug. I figured out that 5G is the magic number form the documentation we received for this feature: (https://mozilla.invisionapp.com/share/4Y87EJO39#/screens/213203147) The free disk space is around 7G, and I assume only when it gets closer to that number the first notification appears and it is not related to the 5G displayed in the documentation. Now in my case Data added to indexeddb stopped at 7415 MB and the yellow notification is displayed as in the screenshot attached. Hope this helps.
Flags: needinfo?(hani.yacoub)
Assignee | ||
Comment 11•6 years ago
|
||
(In reply to Hani Yacoub from comment #10) > Created attachment 9003140 [details] > notification.png > > It has been a long time since I logged the bug. I figured out that 5G is the > magic number form the documentation we received for this feature: > (https://mozilla.invisionapp.com/share/4Y87EJO39#/screens/213203147) > > The free disk space is around 7G, and I assume only when it gets closer to > that number the first notification appears and it is not related to the 5G > displayed in the documentation. > > Now in my case Data added to indexeddb stopped at 7415 MB and the yellow > notification is displayed as in the screenshot attached. > Hope this helps. Thanks for explaining! The 5G in [1] represents the how much space is occupied by FF (more precisely: storage under QuotaManager) while receiving a storage pressure event. If the FF is using more than 5G, then we suggest users by asking them to clear their storage under FF. If not, we suggest them trying to optimize their disk usage. So, the number isn't related to when do you receive a notification bar for storage pressure, but is related to which kinds of bar you would see. In comment 10, the behavior does meet the expectation, because the FF occupied 7415 MB and the bar is shown as [1]. [1] https://mozilla.invisionapp.com/share/4Y87EJO39#/screens/213203147
Assignee | ||
Comment 12•6 years ago
|
||
Base on comment 11, and the attachment in both comment 0 behaved as [1] (it showed that bar [1] with UI showed that that origin occupied >= 5 G) and comment 10, I'm going to close this issue. [1] https://mozilla.invisionapp.com/share/4Y87EJO39#/screens/213203147
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•