Closed Bug 1822537 Opened 2 years ago Closed 2 years ago

Can't read the last unread message of a folder in `Unread Folders` view mode as it gets marked read automatically and containing folder disappears from view (with default setting of `Automatically mark messages read`)

Categories

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

Thunderbird 111

Tracking

(thunderbird112 fixed)

RESOLVED FIXED
113 Branch
Tracking Status
thunderbird112 --- fixed

People

(Reporter: thesimarchitect, Assigned: darktrojan)

References

(Blocks 1 open bug)

Details

(Keywords: regression, Whiteboard: [Supernova3p][STR comment 3])

Attachments

(1 file)

Steps to reproduce:

Clicked on an unread message when seeing the unread folders.

Actual results:

It flashes and closes because the message is marked as read by the system when displayed on the preview pane.

Expected results:

The message should be displayed on the preview pane and I should be able to read it even if the system flags it as read, like with previous versions of Thunderbird.

What setting do you have for mark as read?

Keywords: regression
Whiteboard: [Supernova]
Component: Untriaged → Folder and Message Lists
Flags: needinfo?(thesimarchitect)

More information is needed

Whiteboard: [Supernova] → [closeme 2023-04-01][Supernova]

Ouch! This makes Unread Folders view mode no-op for each last unread message in a folder - with default setting of Automatically mark messages read > Immediately on display.

  • Clicking the message marks it read in a split second,
  • then there are no unread messages any more in the containing folder,
  • then the view automatically refreshes instantly and removes the containing folder with the message - unfortunately without giving the user a chance to read the message.

This pretty much renders the entire Unread Folders view useless, should fix this asap.
In 102, containing folder keeps hanging round forever until hiding/re-showing Unread Folders view; also not useful, but better for actually reading messages.

STR

  1. Ensure default setting ≡ > Settings > General > Reading and Display > [x] Automatically mark messages read > (o) Immediately on display.
  2. To avoid artifacts, create a new custom folder test-unread under Local Folders, and populate with copies of some random messages.
  3. From All Folders view (View > Folders > All), mark 3 messages in test-unread folder as unread (press M and ensure messages show as unread).
  4. Enable Unread Folders view (View > Folders > Unread)
  5. From Unread Folders view section in Folder Pane [important!], select test-unread folder, click on each of the 3 unread messages one by one.

Actual result

  • Immediately after clicking on last unread messsage in test-unread folder under Unread Folders view, the message gets marked read, and the entire test-unread folder disappears without giving the user a chance to read the message - which makes Unread Folders pretty much no-op.

Expected result

  • Allow user to read the last unread message in test-unread folder under Unread Folders view even after it automatically (or manually) gets marked read.
  • Keep showing the folder test-unread which previously had unread messages until the user selects another folder, then hide test-unread folder from Unread Folders view.
  • Fwiw, 102 won't hide the folder until you show and hide the entire Unread Folders view, but imo that's a bit too long as it also kinda makes Unread Folders no-op.
Blocks: tb-new-3pane
Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(thesimarchitect)
Priority: -- → P2
Summary: Can't read messages on Unread Folders → Can't read the last unread message of a folder in `Unread Folders` view mode as it gets marked read automatically and containing folder disappears from view (with default setting of `Automatically mark messages read`)
Whiteboard: [closeme 2023-04-01][Supernova] → [Supernova]
Whiteboard: [Supernova] → [Supernova][STR comment 3]
Blocks: sn-folderpane
No longer blocks: tb-new-3pane

In a later patch, I'll figure out when and how to prune folders from the list, but for now let's just keep them forever.

Assignee: nobody → geoff
Status: NEW → ASSIGNED

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/1e926df5b40f
Keep folders in the Unread Folders list forever unless they are deleted. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch

Comment on attachment 9325884 [details]
Bug 1822537 - Keep folders in the Unread Folders list forever unless they are deleted. r=aleca

[Triage Comment]
Approved for beta

Attachment #9325884 - Flags: approval-comm-beta+
Whiteboard: [Supernova][STR comment 3] → [Supernova3p][STR comment 3]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: