Open Bug 1516972 Opened 6 years ago Updated 2 years ago

Can't deselect trash from Unified Folders if trash folder was emptied before in the same session

Categories

(Thunderbird :: Folder and Message Lists, defect)

defect

Tracking

(Not tracked)

People

(Reporter: jorgk-bmo, Unassigned)

Details

In TB 60 ESR I have a bunch of accounts. In the Unified Folders I tried to deselect Local Folders' trash. I unchecked the check-mark and clicked OK. Nothing happened. In the error console I see: TypeError: folder is null [Learn More] virtualFolderListEdit.js:99:63 onAccept/uris< chrome://messenger/content/virtualFolderListEdit.js:99:63 map self-hosted:285:17 onAccept chrome://messenger/content/virtualFolderListEdit.js:99:16 anonymous chrome://global/content/bindings/dialog.xml%20line%20407%20%3E%20Function:3:8 _fireButtonEvent chrome://global/content/bindings/dialog.xml:408:28 _doButtonCommand chrome://global/content/bindings/dialog.xml:376:28 _handleButtonCommand chrome://global/content/bindings/dialog.xml:364:18 chooseFoldersToSearch chrome://messenger/content/virtualFolderProperties.js:226:16 oncommand chrome://messenger/content/virtualFolderProperties.xul:1:1 ftc_editVirtualFolder chrome://messenger/content/folderPane.js:2767:5 ftc_editFolder chrome://messenger/content/folderPane.js:2518:7 oncommand chrome://messenger/content/messenger.xul:1:1 I tried a trash folder of some other account and the same happens. Works OK for Inbox and Drafts. I haven't tried Templates, Sent and Archives. Aceman, can you take a look.
Flags: needinfo?(acelists)
Oh, it worked after a restart. I didn't give the full STR. First I deleted a local folder, so that moved to Local Folders/Trash. Then I emptied the that trash. Funnily, it jumped to the top. I wanted to deselect it and ran into that error. All became good after a restart. So it looks like emptying the trash is related.
Summary: Can't deselect trash from Unified Folders → Can't deselect trash from Unified Folders if trash folder was emptied before in the same session
Flags: needinfo?(acelists)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.