Shift-Delete on selected message(s) removes NEW/UNREAD status before confirming deletion
Categories
(Thunderbird :: Folder and Message Lists, defect, P3)
Tracking
(Not tracked)
People
(Reporter: dannyfox, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:102.0) Gecko/20100101 Firefox/102.0
Steps to reproduce:
Use SHIFT-DELETE to delete one or more new (unread) files.
Before clicking that you are sure and want to continue, notice that the NEW (UNREAD) status has been removed.
Actual results:
The NEW (UNREAD) status has been removed before actually committing to the deletion.
Expected results:
The NEW (UNREAD) status should remain intact in case user declines the deletion. NEW status is moot if user confirms deletion, but otherwise should remain intact. (But remove NEW status before moving to TRASH if & when user does a regular delete.)
Case in point: With the recent bugs in TB 102 whereby sometimes-massive multiple downloads occur, the NEW status can be used to sort & group duplicates. If I select the files for deletion and press Shift-Delete, then click CANCEL, the NEW status will have been removed and potentially lost unless I remember to take additional action.
Happened before TB 91 and continues in TB 102.
Running Windows 7/Pro 32-bit.
Severity probably S3 -- one can click the TAG button immediately after declining to restore the NEW status if one remembers in time! Not serious, but can lead to tedious work trying to re-identify candidates for deletion.
Comment 1•4 years ago
|
||
(In reply to Dan Pernokis from comment #0)
Thanks Dan, good point.
Case in point: With the recent bugs in TB 102 whereby sometimes-massive multiple downloads occur, the NEW status can be used to sort & group duplicates. If I select the files for deletion and press Shift-Delete, then click CANCEL, the NEW status will have been removed and potentially lost unless I remember to take additional action. ... Not serious, but can lead to tedious work trying to re-identify candidates for deletion.
Wayne, this looks like a valid point to me to help users cope with known problem of multiple downloads. I assume it's as simple as moving the line in code which marks read when you press Shift+Del, so that it gets executed only after the dialog is confirmed (or for the plain Del case, only after messages were moved to trash). If we agree that this would be an easy win, maybe P2?
Comment 2•4 years ago
|
||
https://searchfox.org/comm-central/rev/08f79ea753caed459c280e00cb560fb7032e2d7f/mailnews/base/src/nsMsgDBView.cpp#3125,3142
But after that, something goes and sets the read status.
| Reporter | ||
Comment 3•4 years ago
|
||
I've changed the summary/title to remove "multiple" because the issue applies to single selections too. Status should not change on any file until deletion actually occurs.
Updated•3 years ago
|
Updated•3 years ago
|
Description
•