Closed Bug 1774177 Opened 2 years ago Closed 2 years ago

Open message in containing folder does not work from messageDisplay windows

Categories

(Thunderbird :: Mail Window Front End, defect)

Thunderbird 91
defect

Tracking

(thunderbird_esr102 fixed, thunderbird102+ fixed)

RESOLVED FIXED
103 Branch
Tracking Status
thunderbird_esr102 --- fixed
thunderbird102 + fixed

People

(Reporter: manikulin, Assigned: mkmelin)

Details

Attachments

(1 file)

Steps to reproduce:

It is impossible to go from a message window to containing folder even in Thunderbird-103.0a1

  • Open some message in new window (messageDisplay)
  • Click on "Open message in containing folder" context menu.

Actual results:

Nothing besides an error in console

Uncaught ReferenceError: OpenContainingFolder is not defined
    oncommand chrome://messenger/content/messageWindow.xhtml:1
messageWindow.xhtml:1:1
    oncommand chrome://messenger/content/messageWindow.xhtml:1

Expected results:

The folder containing the message should be opened in some window.

I do not mind that 3 pane view appeared in the same window, but I am aware that it is hardly possible due to peculiarities with mail views and tabs in Thunderbird. So the folder should be opened either in a new window or in the last focused so called "normal" window (like e.g. settings).

Fix opening, and also prevent showing the menu item if it's a message opened from the file system.

Assignee: nobody → mkmelin+mozilla
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Component: Untriaged → Mail Window Front End

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/e2e9492e897b
Fix open message in containing folder for standalone message windows. r=freaktechnik

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch

Comment on attachment 9281180 [details]
Bug 1774177 - Fix open message in containing folder for standalong message windows. r=#thunderbird-reviewers

[Approval Request Comment]
Regression caused by (bug #): unclear
User impact if declined: "open in containing folder" doesn't always work
Testing completed (on c-c, etc.): c-c
Risk to taking this patch (and alternatives if risky): pretty safe

Attachment #9281180 - Flags: approval-comm-beta?

Comment on attachment 9281180 [details]
Bug 1774177 - Fix open message in containing folder for standalong message windows. r=#thunderbird-reviewers

[Triage Comment]
Approved for beta

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

Attachment

General

Created:
Updated:
Size: