Closed Bug 1830004 Opened 2 years ago Closed 2 years ago

The display of the quota in the status bar no longer works

Categories

(Thunderbird :: Toolbars and Tabs, defect)

Thunderbird 113
defect

Tracking

(thunderbird_esr102 unaffected, thunderbird114 fixed)

VERIFIED FIXED
115 Branch
Tracking Status
thunderbird_esr102 --- unaffected
thunderbird114 --- fixed

People

(Reporter: adrien.rybarczyk, Assigned: mkmelin)

References

Details

(Keywords: regression, Whiteboard: [Supernova3p])

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36

Steps to reproduce:

  1. Click on a mail folder (for example the inbox).

Actual results:

Previously if the quota exceeded the value of mail.quota.mainwindow_threshold.show, the quota bar was displayed.
In addition, we always saw the number of mail in the folder.

Expected results:

Recover the display of these items.

If we use the development tool and call UpdateStatusMessageCounts(GetSelectedMsgFolders()[0]) for mails and UpdateStatusQuota(GetSelectedMsgFolders()[0]) for quota; the information is back.

There must be a problem with the function that is supposed to call and update its elements. This seems to be _updateContextDisplay of folderDisplay.js

This bug is a bug in Beta.

Blocks: tb-new-3pane
Severity: -- → S3
Flags: needinfo?(alessandro)
Whiteboard: [Supernova3p]

folderDisplay.js - the file with the caller - is in zombie mode. See https://searchfox.org/comm-central/rev/05cb2d82a704dd5996636f7559c858f216aad485/mail/base/content/folderDisplay.js#7

I can take a look.

Assignee: nobody → mkmelin+mozilla
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(alessandro)
Keywords: regression

The total count of messages is being reimplemented in bug 1817917, and the size in bug 1817918.
Both are gonna be inline the folder pane and not in the status bar, we're removing it from there.

Previously if the quota exceeded the value of mail.quota.mainwindow_threshold.show, the quota bar was displayed.

I wasn't aware of this feature.
How can I simulate it?

Also this should appear as an inline warning and not in the status bar.

(In reply to Alessandro Castellani [:aleca] from comment #2)

The total count of messages is being reimplemented in bug 1817917, and the size in bug 1817918.
Both are gonna be inline the folder pane and not in the status bar, we're removing it from there.

Okay, thanks for the information.

Previously if the quota exceeded the value of mail.quota.mainwindow_threshold.show, the quota bar was displayed.

I wasn't aware of this feature.
How can I simulate it?

Also this should appear as an inline warning and not in the status bar.

To display the quota, there are 3 preferences (mail.quota.mainwindow_threshold.show, mail.quota.mainwindow_threshold.warning, mail.quota.mainwindow_threshold.critical).

You just have to set the preference mail.quota.mainwindow_threshold.show to 0, to always have the quota displayed in the status bar.

It allows you to have the information from folder Properties -> Quota constantly without having to look at it from time to time.

For testing, Gmail is one of the servers that shows quota.

Attachment #9332540 - Attachment description: Bug 1830004 - Restore the display of the quota and the number of mail per folder in the status bar. r=aleca → Bug 1830004 - Restore the display of the quota per folder in the status bar. r=aleca
Status: NEW → ASSIGNED
Summary: The display of the quota and the number of mail per folder in the status bar no longer works → The display of the quota in the status bar no longer works
Target Milestone: --- → 115 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/c4fa4d2aaed8
Restore the display of the quota per folder in the status bar. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED

Using comment 3, I confirm this works.

Status: RESOLVED → VERIFIED

Comment on attachment 9332540 [details]
Bug 1830004 - Restore the display of the quota per folder in the status bar. r=aleca

[Triage Comment]
Approved for beta

Attachment #9332540 - Flags: approval-comm-beta+
Regressions: 1894218
No longer regressions: 1894218
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: