Closed Bug 1836552 Opened 1 year ago Closed 1 year ago

After new folder creation with folder columns "Show total message count" and/or "Show folder size" enabled, only unread count shows until restart

Categories

(Thunderbird :: Folder and Message Lists, defect)

Unspecified
All
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1843135

People

(Reporter: gds, Assigned: solange)

References

(Blocks 1 open bug)

Details

(Keywords: regression, Whiteboard: [Supernova3p])

Attachments

(2 files)

STR:

  • Set folder pane to "Show total message count" and/or "Show folder size".
  • Create test-folder and copy a few message to it.
  • Select test-folder.
  • In test-folder, mark at least one message as unread.
  • The unread count appears, as expected, beside test-folder.
  • Note that total message count and/or folder size doesn't appear. Only unread count.
  • Collapse then expand the account folder tree doesn't show total messages and/or size.
  • Repair of test-folder also doesn't show total or size.
  • Finally, restart TB. Only then does total messages and/or folder size for test-folder appear.

I noticed this testing moving and copying folders while working on Bug 1831759. But it really has nothing to do with moving or copying a folder. Just manually creating a new folder, as described in the STR, illustrates the bug.

Attached patch fix-total-count-3pane.diff (deleted) — Splinter Review

Adding a "toggle" allows the total number of messages to appear OK.
But if you move a folder within the same server, you have to select the folder before the total number of messages appears. Move/copy across servers doesn't require the folder to be selected to see the total with this diff in place.
I tried adding a similar call to "toggle" the folder size but that didn't cause the folder size to appear automatically.

A workaround for this without code change is to select the new folder and manually toggle the folder header fields "show total" and "show folder size" off to back on.

Severity: -- → S4
Keywords: regression
OS: Unspecified → All
Whiteboard: [Supernova3p]

Sol, can you take this and ensure that the "show total" and "show folder size" is showed also for newly created folders?
You can use Gene's patch as a start but most likely we need to use our isItemVisible() methods to see if the newly created folders need to show the total count and folder size based on what we have in the xulStore.

Assignee: nobody → solange
Flags: needinfo?(solange)
Status: NEW → ASSIGNED
Flags: needinfo?(solange)
Depends on: 1843135
No longer depends on: 1843135
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1843135
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: