Closed Bug 1709510 Opened 4 years ago Closed 1 years ago

Indicate empty mail folder with emptytext and icon ("Empty folder", similar to "No results" display for Quick Filter)

Categories

(Thunderbird :: Folder and Message Lists, enhancement, P2)

enhancement

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1823019

People

(Reporter: Nick_Levinson, Unassigned)

Details

Attachments

(2 files, 1 obsolete file)

STR:

  1. In Tbird, go to an email account. It can be remote or local.
  2. If you have a folder that's empty, select that folder. If you don't have an empty folder, create one, temporarily.

Actual result:

In the list window that would list emails, nothing is listed.

This is a problem because the user can't be sure that Tbird is not being slow in trying to compile the list or that the email files aren't damaged and preventing being in a list.

Expected result: Say, "No messages in this folder." Format this so that it does not look like an email listing item and so that it does not have to be clicked to dismiss it. Dismissing would be by leaving the folder.

Additional info:

Fedora 34 Linux, kept evergreen, including Tbird 78.8.1 (64-bit), without add-ons.

Possibly relevant: https://bugzilla.mozilla.org/show_bug.cgi?id=492158#c32

Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All

Richard, could you find and propose an icon for "Empty Folder", perhaps similar in style to Quick Filter's "No results" icon? Otoh, we want to ensure that "No results" is sufficiently distinct from "Empty Folder" at first sight.

Perhaps a simple open folder icon like https://image.flaticon.com/icons/png/128/3276/3276959.png ?

Flags: needinfo?(richard.marti)
Hardware: x86_64 → All
Summary: if folder empty, say so explicitly → Indicate empty mail folder with emptytext and icon ("Empty folder", similar to "No results" display for Quick Filter)

As a reference, here's the current display for "No results" with Quick Filter.

Attached image folder-empty.svg (obsolete) (deleted) —

This is a quick-n-dirty image. Maybe the folder could get a less thick border.

Flags: needinfo?(richard.marti)
Attachment #9220623 - Flags: feedback?(alessandro)

I'm not sure if we should show something when the folder is empty. When the server is very slow it can last some time until we know it is empty.
Maybe better would be that we show a spinner, the same we use on QFB search, until we show content, or when the folder is empty, until we know it from the server response.

Comment on attachment 9220623 [details]
folder-empty.svg

(In reply to Richard Marti (:Paenglab) from comment #5)

I'm not sure if we should show something when the folder is empty. When the server is very slow it can last some time until we know it is empty.
Maybe better would be that we show a spinner, the same we use on QFB search, until we show content, or when the folder is empty, until we know it from the server response.

These are good point and we should follow this approach.

  • Show a throbber with a loading message, something like "Fetching/Retrieving messages..." until we get a response from the server.
  • Show the "Folder empty" message with icon only after we have a response.

The icon is good but indeed it needs a thinner stroke.

Attachment #9220623 - Flags: feedback?(alessandro) → feedback+
Attached image folder-empty.svg (deleted) —

Updated icon with thinner border.

Attachment #9220623 - Attachment is obsolete: true

This was fixed by bug 1823019, which implemented a total message count in the folder pane header.

Status: NEW → RESOLVED
Closed: 1 years ago
Duplicate of bug: 1823019
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: