Closed Bug 2078239 Opened 7 days ago Closed 4 days ago

View > Folders does nothing in the calendar and tasks tabs

Categories

(Thunderbird :: Toolbars and Tabs, defect)

Thunderbird 110
defect

Tracking

(Not tracked)

RESOLVED FIXED
159 Branch

People

(Reporter: ndo84bw, Assigned: mirko)

Details

Attachments

(1 file)

Steps to reproduce:

  1. Open the Calendar tab.
  2. Open View > Folders in the menu bar.
  3. Check "Tags".
  4. Go back to the Mail tab and open View > Folders.

Actual results:
In the Calendar tab the menu items look usable and get a check mark when clicked.
But nothing changes: the Mail tab does not show the Tags folders, and "Tags" is not checked there.

Expected results:
View > Folders is only enabled in a mail tab, and greyed out in other tabs.
This is how View > Calendar already works the other way round: it is greyed out in the Mail tab and enabled in the Calendar tab.

Notes:

  • Since bug 1806922 (Thunderbird 110), folderViewMenuOnCommand returns early when currentAbout3Pane is null, so the choice is dropped. The check mark only comes from the menu item itself.
  • Since bug 1838770 (Thunderbird 116), _onFoldersViewShow reads currentAbout3Pane.gFolder before its null check.
  • Found while writing tests for bug 2076478.
Assignee: nobody → mirko
Status: NEW → ASSIGNED
Target Milestone: --- → 159 Branch

Pushed by john@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/0b883f7b4ff2
Disable folder views menu outside mail tabs. r=tobyp

Status: ASSIGNED → RESOLVED
Closed: 4 days ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: