Closed Bug 1967664 Opened 7 months ago Closed 7 months ago

Junk commands are disabled for virtual folders with more than one searched folder

Categories

(Thunderbird :: Mail Window Front End, defect)

Thunderbird 91
defect

Tracking

(Not tracked)

RESOLVED FIXED
140 Branch

People

(Reporter: darktrojan, Assigned: darktrojan)

References

Details

Attachments

(2 files)

I was tried to write a test to run some untested code in the junk commands, but I've figured out that for virtual folders the junk commands (run junk mail controls, delete mail marked as junk) are enabled only if the virtual folder searches a single folder. The code itself is in bad condition, so it was probably easier just to disable it, but that's not great. We use virtual folders for unified folders, and the commands should work there.

Assignee: nobody → geoff
Status: NEW → ASSIGNED
See Also: → 1963746, 1901962

This code is in terrible condition. I spent more time fixing it than testing it.

I'm a little hesitant to land this change during the freeze for ESR, but it's low risk and I don't think we'd get significantly more testing by landing it at any other time.

Target Milestone: --- → 140 Branch

Pushed by brendan@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/4da709136583
Fix and test deleting messages marked as junk in a virtual folder. r=aleca
https://hg.mozilla.org/comm-central/rev/9ab238cf6ad5
Enable and test running junk controls in a virtual folder. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED

Thanks for fixing another dang Unified folder issue!

Tristan, are there any duplicates/related in https://mzl.la/4kSLas5 ?

Flags: needinfo?(psychonaut)
Version: unspecified → Thunderbird 91

(In reply to Wayne Mery (:wsmwk) from comment #5)

Tristan, are there any duplicates/related in https://mzl.la/4kSLas5 ?

Sorry, I'm overcommitted at the moment and so don't have time to look for duplicates.

Flags: needinfo?(psychonaut)
Blocks: 438656
Blocks: 513657
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: