Closed Bug 1855643 Opened 2 years ago Closed 2 years ago

Unable to undo deletion of an email / message deleted in standalone message window

Categories

(Thunderbird :: Folder and Message Lists, defect)

Thunderbird 115
defect

Tracking

(Not tracked)

RESOLVED FIXED
126 Branch

People

(Reporter: bugzilla, Assigned: silvia)

References

Details

Attachments

(1 file, 1 obsolete file)

Steps to reproduce:

Open email (or rss feed message) in new-window mode
Delete said message/email
Realise didnt mean to delete the message, and go to UNDO the deletion - to find the option greyed out, and ctl-z also does nothing

Note that opening a message in new-tab mode DOES allow UNDO of deletion of the message

Actual results:

The option to UNDO deletion of a message (when opened in new-window mode) is unavailable

Expected results:

The option to UNDO deletion a message (when opened in new-window mode) should be available (as it is in new-tab mode AND as it was for new-window mode in tbird 102

Well since you deleted the message, you moved to the next message, right?

Summary: Unable to undo deletion of an email / message deleted in new-window view → Unable to undo deletion of an email / message deleted in standalone message window

Yes
And? so what?
the same thing "since you deleted the message, you moved to the next message" applies in view-as-new-tab mode
AND applied in v102
And yet in BOTH those instances, the undo-deleted-message was/is still available when deleting a viewed/opened message

I have mixed results with standalone window:

  • undo works for me on windows 10 with 115.5.0
  • undo fails for me on Mac with 120.0b6
Component: Untriaged → Folder and Message Lists

yup, confirmed on Mac Daily 122.0a1, too.

"Edit -> Undo Delete Message" is offered when the message is deleted from a new tab, but not when deleted from a new window.

Assignee: nobody → silvia
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #9390401 - Attachment is obsolete: true
Target Milestone: --- → 126 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/a5a9210fed2d
Fix undo/redo menu activation for stand-alone window. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED

This is breaking comm/mail/components/extensions/test/browser/browser_ext_messages_open_attachment.js

JavaScript error: chrome://messenger/content/messageWindow.js, line 626: TypeError: can't access property "transactionManager", mainWindow.msgWindow is undefined
 [JavaScript Error: "TypeError: can't access property "transactionManager", mainWindow.msgWindow is undefined" {file: "chrome://messenger/content/messageWindow.js" line: 626}]
SetupCommandUpdateHandlers@chrome://messenger/content/messageWindow.js:626:1
delayedOnLoadMessageWindow@chrome://messenger/content/messageWindow.js:132:3
setTimeout handler*OnLoadMessageWindow@chrome://messenger/content/messageWindow.js:91:13
EventListener.handleEvent*@chrome://messenger/content/messageWindow.js:60:8

Updated the patch in Phab. Sorry about the test failure.

Status: RESOLVED → REOPENED
Flags: needinfo?(silvia)
Resolution: FIXED → ---

Pushed by martin@humanoids.be:
https://hg.mozilla.org/comm-central/rev/25090fdc2682
Fix undo/redo menu activation for stand-alone window. r=mkmelin,freaktechnik

Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → FIXED
Duplicate of this bug: 1884315
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: