Closed Bug 1991417 Opened 7 months ago Closed 5 months ago

Can't write new messages if the Folder pane is empty

Categories

(Thunderbird :: Mail Window Front End, defect)

Thunderbird 140
defect

Tracking

(thunderbird_esr140 affected)

RESOLVED FIXED
146 Branch
Tracking Status
thunderbird_esr140 --- affected

People

(Reporter: regspam, Assigned: welpy-cw)

References

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0) Gecko/20100101 Firefox/143.0

Steps to reproduce:

  1. Enable "Unread Folders" in the Folder pane by clicking on "View > Folders > Unread Folders".
  2. Disable "All Folders" in the Folder pane by clicking on "View > Folders > All Folders". The pane should now be empty.
  3. Click anywhere in the Folder pane area.
  4. Press Ctrl+m.

Actual results:

Nothing happens.

Expected results:

New message window should have been opened.

Sorry, I missed an important step:

  1. Make sure that in the Folder pane you have the cursor on the root item (blue letter icon on the left and the account name on the right) of an e-mail account.
An error occurred executing the cmd_newMessage command: TypeError: can't access property "isSynthetic", gViewWrapper is null globalOverlay.js:102:13
    goDoCommand chrome://messenger/content/globalOverlay.js:102
    oncommand chrome://messenger/content/messenger.xhtml:1

Severity: -- → S4
Status: UNCONFIRMED → NEW
Component: Untriaged → Mail Window Front End
Ever confirmed: true

FWIW, just found out that if the Folder pane is empty, TB also fails to show notifications (alert/system/tray) when new messages arrive.

Assignee: nobody → h.w.forms
Status: NEW → ASSIGNED
Target Milestone: --- → 146 Branch

Pushed by jtracey@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/131ae901e5b7
Fix cmd_newMessage for empty folder pane. r=mkmelin

Pushed by brendan@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/28c7d645a197
Prevent extension errors on cmd_newMessage with empty folder pane. r=john.bieling

Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Duplicate of this bug: 1922787
Duplicate of this bug: 1997709
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: