Skip to content

Mark as Read (and similar commands) in Navigation bar may address wrong folder #467

Description

@RealRaven2000

When we use the Navigation (a.k.a Current folder) bar to execute certain functions, it can happen that it applies the command to the wrong folder (if that folder isn't also a QuickFolders tab). I saw this behavior today for the first time, so there must be additional circumstances that give it the wrong document context.

image

I believe this is a regression from Thunderbird 115

It applies to the changed document context used in QuickFolders.Util.getPopupNode( ).

The function is used by and may have affected the following commands:

Mark Folder as Read
Mark Newsgroup Read
Delete folder (luckily this one asks explicitly with feedback giving the folder name)
Empty Trash
Empty Junk
Delete Junk
Folder Properties
Open Folder in Explorer
Get Messages
Repair Folder
Create New Subfolder
Search Messages

This happened on my production profile today, but I cannot reproduce it on my test profile. IN any case I will make an emergency patch that will use the element.ownerDocument instead of the "global" document variable.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions