Closed Bug 1559224 Opened 5 years ago Closed 5 years ago

Delete Folder from the Edit Menu has the wrong access key

Categories

(Thunderbird :: General, defect)

defect
Not set
normal

Tracking

(thunderbird68+ fixed, thunderbird69 fixed)

VERIFIED FIXED
Thunderbird 69.0
Tracking Status
thunderbird68 + fixed
thunderbird69 --- fixed

People

(Reporter: jorgk-bmo, Assigned: Paenglab)

Details

Attachments

(1 file)

Select a folder in the folder pane without selecting a message.

Use the Edit menu and see:
Delete Folder (V) Del

How can that be:
https://searchfox.org/comm-central/rev/bd24161b9edb5cc4864ce10f20ad5a23b104c3f9/mail/base/content/mainCommandSet.inc.xul#120
valueFolderAccessKey="&deleteFolderCmd.accesskey;"

and

https://searchfox.org/comm-central/rev/bd24161b9edb5cc4864ce10f20ad5a23b104c3f9/mail/locales/en-US/chrome/messenger/messenger.dtd#105

So strange. Richard, Aceman, can you see where that goes wrong? Broken on TB 68 beta.

Flags: needinfo?(richard.marti)
Flags: needinfo?(acelists)

Richard suggested to find the regression, so very simple:
Select a folder in the folder pane without selecting a message.
Check the "Delete Folder" in the Edit menu, should have a "D" not a "V".

Working in TB 67, so it broke during the 68 cycle. Can you find it for us, Alice? I tried a version of 2019-04-12 and that already has the V. 2018-03-18 has the D. So the range is less than 4 weeks.

Flags: needinfo?(richard.marti) → needinfo?(alice0775)

Thanks, Alice, that's bad news. Someone is modifying our delete command :-( - Back to Richard.

Flags: needinfo?(richard.marti)

I tried moving the <commandset id="mailEditMenuItems"> around and it was inferior with showing wrong menuitems like Remove Contact.

I don't really know how this <commandsets> are working. I hope Geoff knows more about this and can find what happens here.

Flags: needinfo?(richard.marti) → needinfo?(geoff)

That was it! What would we do without you?

The only question is, how or why did this work before with the overlay?

Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Flags: needinfo?(acelists)
Attachment #9072088 - Flags: review?(jorgk)
Attachment #9072088 - Flags: approval-comm-beta?
Comment on attachment 9072088 [details] [diff] [review]
1559224-folder-delete-access-key.patch

(In reply to Richard Marti (:Paenglab) from comment #6)
> What would we do without you?

Frankly, I think we'd be in a dire situation without all his work. So big thank you!
Attachment #9072088 - Flags: review?(jorgk)
Attachment #9072088 - Flags: review+
Attachment #9072088 - Flags: approval-comm-beta?
Attachment #9072088 - Flags: approval-comm-beta+

And I should mention: This was reported to me by Jørgen Rasmussen, so thanks to you, too!

Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/acbf665ac191
Set the correct delete access key when a folder is selected. r=jorgk DONTBUILD

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 69.0

(In reply to Richard Marti (:Paenglab) from comment #6)

The only question is, how or why did this work before with the overlay?

I really don't know! How odd…

Looking good on beta.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: