Closed Bug 1772583 Opened 3 years ago Closed 3 years ago

Delete context menu item has no label

Categories

(Thunderbird :: General, defect)

defect

Tracking

(thunderbird102 fixed)

RESOLVED FIXED
103 Branch
Tracking Status
thunderbird102 --- fixed

People

(Reporter: freaktechnik, Assigned: TbSync)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

Attached image no-delete.png

Apparently the patch for bug 1426817 caused some part of the XUL commands logic or similar to panic. As a result, with this patch applied the context menu will not show any label for the delete menu item.

Keywords: regression
Assignee: nobody → john

Apparently this is the problematic code: https://searchfox.org/comm-central/rev/54fa177684376fecd6f73382036d60556a7c9ba5/mail/base/content/messenger.xhtml#260-266

It seems that XUL doesn't accept multiple root commandset but only a single commandset with various child elements.
Moving that new commandset as children of mailCommands seems to solve the issue.

Wow, that was fast. Thanks for digging into that! I will create a patch to fix this.

Pushed by alessandro@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/a07c852b317d
Fix missing delete context menu item label. r=aleca DONTBUILD

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch

Comment on attachment 9279689 [details]
Bug 1772583 - Fix missing delete context menu item label. r=#thunderbird-reviewers

[Triage Comment]
Approved for beta

Attachment #9279689 - Flags: approval-comm-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: