Open Bug 825865 Opened 12 years ago Updated 2 years ago

gDBView.numSelected should be fixed to return correct number after deletion

Categories

(MailNews Core :: Database, defect)

defect

Tracking

(Not tracked)

People

(Reporter: iannbugzilla, Unassigned)

References

Details

STR
1/ Open mail client and select a number of messages
2/ Check gDBView.numSelected - correctly reflects the number selected
3/ Deleted selected messages
4/ Check gDBView.numSelected

Actual Result
1/ Still contains the same number as before.

Expected Result
1/ Should be 0

Workaround is to use try/catch around any code that would throw or use gDBView.getIndicesForSelection({}) to detect if there is still a selection.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.