Closed Bug 1977321 Opened 1 year ago Closed 1 year ago

delete single message with Group by Sort does not work after CTRL-a

Categories

(Thunderbird :: Folder and Message Lists, defect)

Thunderbird 137
defect

Tracking

(thunderbird_esr128 unaffected, thunderbird_esr140? affected)

RESOLVED FIXED
142 Branch
Tracking Status
thunderbird_esr128 --- unaffected
thunderbird_esr140 ? affected

People

(Reporter: bugzilla.tb, Assigned: welpy-cw)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Steps to reproduce:

There is a folder with Group by Sort, messages are sorted by Subject.
There is only one message in the folder.
Out of habit I press CTRL-a to select all messages, because usually there are more than one message.
The group header and the message are both highlighted.
Press DEL to delete the selected message.

Actual results:

Nothing, the selected message is not deleted.

Without CTRL-a, when the group header is not selected, just clicked on the single message, only the message is highlighted, the message is deleted and the list is cleared.

Expected results:

If there is more than one message, single or multiple groups, all selected messages are deleted.
This should work for a single message too.

Severity: -- → S4
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
Regressed by: 1924977

Since bug 1924977, nsMsgDBView::GetNumSelected doesn't count Grouped By Sort
header rows anymore. Therefore, threadPane._onSelect has to be adapted to
prevent a header row and a message from being selected simultaneously.

Assignee: nobody → h.w.forms
Status: NEW → ASSIGNED
Target Milestone: --- → 142 Branch
Version: Thunderbird 140 → Thunderbird 137

Pushed by benc@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/26a4e96faec3
Fix row selection for Grouped By Sort views. r=tobyp

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: