av9ash/GitBugs huggingface dataset:
Bug: Empty inline content when a vcard with multiple contacts is attached.
Status: NEW
Priority: --
Created: 2021-06-18 15:06:45+00:00
Resolved: 2021-09-23 08:26:48+00:00

### Steps to Reproduce

Open an email with a text/x-vcard attachment that contains more than one contact. i.e. more than one `BEGIN:VCARD ... END:VCARD`. Make sure "Display attachments inline" is checked. I've attached an .eml file with such an attachment which you can open with `thunderbird` or `mach run` as a command line argument.

Note, once Bug 1667716 patch https://phabricator.services.mozilla.com/D118268 lands, an attachment with text/vcard content will also work. In which case you can create the email in Thunderbird (which exports text/vcard content).


### Result

The email only shows the message content, but nothing from the attachment inline. Moreover, the email looks like it has no attachments.

### Expect

Either all the contacts in the attachment to be shown inline. Or the attachment should appear as a regular attachment.

### Origin

I think this line is the origin of the missing content https://searchfox.org/comm-central/rev/ea1278fae63adcd7fbc22407ff77a9851d38299f/mailnews/addrbook/modules/VCardUtils.jsm#312, which is returned if `VCardUtils.vCardToAbCard(data)` throws an error. Doing some debugging, there is indeed an error thrown, with the stack:

```
TypeError: name.replace is not a function
_parse@resource:///modules/VCardUtils.jsm:63:19
vCardToAbCard@resource:///modules/VCardUtils.jsm:142:25
convertToHTML@resource:///modules/VCardUtils.jsm:309:27
```

There's not much to read from the error/stack, other than the method is not built to handle multiple contacts.
Bug: Inline contact is inaccessible (semantically a table within a table, and add-contact icon link has no textual representation)
Status: NEW
Priority: --
Created: 2021-06-18 15:24:03+00:00
Resolved: 2022-08-17 15:51:16+00:00

### Steps to reproduce

Open an email with a text/x-vcard attachment that contains a single contact. Make sure "Display attachments inline" is checked.

Note, once Bug 1667716 patch https://phabricator.services.mozilla.com/D118268 lands, an attachment with text/vcard content will also work. In which case you can create the email in Thunderbird (which exports text/vcard content).

### Result

The shown email is structurally a `<table>` with a single row that contains another `<table>`. And this same structure is in the accessibility tree. It comes from https://searchfox.org/comm-central/rev/ea1278fae63adcd7fbc22407ff77a9851d38299f/mailnews/addrbook/modules/VCardUtils.jsm#332

### Expected

A simpler structure that is also more accessible. If Bug 1717223 gets fixed, and we have multiple contacts, then we probably want to place the contacts in a `<ul>`.
Bug: Mail: Dialog persistence stopped working
Status: RESOLVED
Priority: P2
Resolution: FIXED
Created: 2021-06-18 17:54:52+00:00
Resolved: 2022-04-08 17:21:31+00:00

+++ This bug was initially created as a clone of Bug #1717235 +++

Under meta bug 1585545, bug 1600369 converted some **Mail** dialogs so that their `<dialog>` element was no longer the root element. Unfortunately, the `id` was an important persistence attribute on the root element which should not have been moved to the `<dialog>` element.

This causes significant annoyance because even a dialog which you've just relocated to the right screen and position some seconds ago will stubbornly re-appear at its original position, which might be on the wrong screen. User feedback on Bug 1652290 about Spell Check dialogue shows the degree of user frustration.

See Bug 1698143 for how to fix this - the fix is simple, just needs good diligence.

This should be fixed as a matter of urgency.
Bug: Custom filter fields are made lower-case while filtering is case-sensitive. This breaks custom filters.
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2021-06-18 17:56:22+00:00
Resolved: 2021-08-08 23:06:10+00:00

+++ This bug was initially created as a clone of Bug #928372 +++

Thunderbird  version 78.10.1 (64-bit)

Steps to reproduce:

Create new custom filter.
Add custom field "Reply-To" or "DMARC-Filter" (tried both)
Use with contains and expected content.

Applied filter -> Nothing happened.

Checked: msgFilterRules.dat -> Found error there!

Actual content: condition="AND (\"dmarc-filter\",contains,OpenDMARC Filter")
Should be: condition="AND (\"DMARC-Filter\",contains,OpenDMARC Filter")

Unlike the cloned bug report, manually changing msgFilterRules.dat seems to stick on Thunderbird restart.  But It does not stick if you update the filter again.

Error Description
============
Custom filter fields are transformed to lower case while the actual string matching the header name seems to be case sensitive.   I don't believe it should be a case sensitive search.

"Contains" strings are not coerced to lower case and remain as entered in the filter editor dialog.


Actual results:

Nothing, until I manually edit filter msgFilterRules.dat.

Manual fixes of msgFilterRules.dat are reverted to lower case on edit filter update.

Expected results:

Emails that match should have been moved to other folder after creation or update of custom filter.

Either the search for header name be case insensitive, or the edit filter dialog saves the header name as entered by user
Bug: Chat: Dialog persistence stopped working
Status: RESOLVED
Priority: P2
Resolution: FIXED
Created: 2021-06-18 18:01:20+00:00
Resolved: 2021-06-23 11:06:23+00:00

+++ This bug was initially created as a clone of Bug #1717236 +++

Under meta bug 1585545, bug 1597964 converted some **Chat** dialogs so that their `<dialog>` element was no longer the root element. Unfortunately, the `id` was an important persistence attribute on the root element which should not have been moved to the `<dialog>` element.

This causes significant annoyance because even a dialog which you've just relocated to the right screen and position some seconds ago will stubbornly re-appear at its original position, which might be on the wrong screen. User feedback on Bug 1652290 about Spell Check dialogue shows the degree of user frustration.

See Bug 1698143 for how to fix this - the fix is simple, just needs good diligence.

This should be fixed as a matter of urgency.
Bug: No drag and drop functionaries are available
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2021-06-19 08:49:43+00:00
Resolved: 2021-07-01 07:00:58+00:00

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36

Steps to reproduce:

I opened thunderbird but there was no option for drag and drop.


Actual results:

I didn't see any drag and drop options


Expected results:

Drag and drop options should be opened
Bug: Thunderbird is unable to update the client version and ask to download
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2021-06-19 16:08:34+00:00
Resolved: 2021-11-27 15:06:24+00:00

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.106 Safari/537.36 Edg/91.0.864.53

Steps to reproduce:

I don't do anything, it just happens every now and then.

I'm running Windows 10 64-bit
Thunderbird 78.11.0 (64-bit)


Actual results:

The Thunderbird client displays a pop up window stating that it was unable to update the client to latest version and that I need to download it manually. This happens even though the client is on the latest version available (78.11.0).
I click on the download button and it download the 78.11.0 installation executable again.


Expected results:

The client should be able to update itself and avoid asking for manual update for the version that's already installed
Bug: Activity Manager Time Stamp for Failed Connection
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2021-06-19 17:59:47+00:00
Resolved: 2022-07-29 08:28:56+00:00

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




Expected results:

All of the activities in the Activity Manager have time stamps except "Failed to connect to server".  

Since those activities all pile up at the top of the window, you can't even use the other activity time stamps to approximate when the failures occurred.  

The Failed to connect to server activity needs a time stamp.
Bug: WebExtensions API regression in menus.onShown due to landing of Bug 1716022 (Return pages in the messages API as soon as they are ready)
Status: VERIFIED
Priority: --
Resolution: FIXED
Created: 2021-06-20 14:43:28+00:00
Resolved: 2021-06-24 16:39:17+00:00

https://thunderbird.topicbox.com/groups/addons/Ta0dbca46355df626/webextensions-partially-broken-after-daily-update-from-15-06-2021-to-16-06-2021
Bug: When opening the preferences tab and scrolling to a section, the section's header is hidden
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2021-06-21 00:34:15+00:00
Resolved: 2023-09-07 18:33:12+00:00

If for example you're in the Account Manager tab and you click the Global Junk Preferences… button, the Preferences tab opens and scrolls to the Junk section. But the header "Junk" gets hidden behind the search box container. We scroll down too far.
Bug: Clearing a search in preferences should return to the previous pane and scroll position
Status: NEW
Priority: --
Created: 2021-06-21 00:46:46+00:00
Resolved: 2021-07-17 14:54:09+00:00

In the preferences tab, go to any place. Type something in the Find in Preferences search box, then press Escape. It should go back to where you were before, but instead it goes to the top of the General tab.
Bug: Folder pane scrolling is choppy and laggy using beta
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2021-06-21 02:10:39+00:00
Resolved: 2022-01-16 02:34:44+00:00

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.106 Safari/537.36

Steps to reproduce:

Hello. This bug is mostly a duplicate of bug 1697999 but I'm opening it because in TB 90.0b2 this is a real issue after upgrading from Mac OS Catalina to Big Sur. The only thing that changed was the OS upgrade, but now the folder pane has choppy, laggy scrolling, and when you click on a folder it is slow to respond. The problem seems isolated to the folder pane, other windows and buttons and scroll bars are fine. 

I can't use TB at this point, and am limping along with Outlook, so I'm hoping this will get some attention. 


Actual results:

Upgraded from Mac OS Catalina to Big Sur.


Expected results:

Folder pane should remain performant.
Bug: Unreadable color when number of new messages is not informed
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2021-06-21 09:55:31+00:00
Resolved: 2022-10-28 12:19:32+00:00

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.106 Safari/537.36

Steps to reproduce:

There are 2 different problems in this case:

#1 - Sometimes, with unknown reason, an IMAP folder containing unread new messages doesn't show the number of unread messages.  When it happens, if I use `n` to go to next unread message from a previous folder, it's skipped like if there are no new messages in there.  I don't know how to reproduce it unfortunately

#2 - When #1 happens, and I manually select that folder, color scheme used to highlight it uses a low contrast colors as you can see on attached screenshot



Expected results:

If #1 is fixed, #2 will not happen
Bug: Double-click on attached PDF fails to open in external app `Windows 10 Photos` with error message: could not open the file
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2021-06-21 13:38:21+00:00
Resolved: 2022-05-01 18:37:49+00:00

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

Steps to reproduce:

Received e-mail message with PDF attachment. Double-clicked on the attachment file name to open it.


Actual results:

The PDF was opened in Windows 10 Photos which displayed an error message saying it could not open the file.


Expected results:

The attachment should have opened in Adobe Reader DC.
Bug: Sending Spam
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2021-06-21 18:09:36+00:00
Resolved: 2021-06-21 18:21:43+00:00

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36 Edg/91.0.864.54

Steps to reproduce:

Receive an email, like it, FWD it on.


Actual results:

Server blocks it for spam content.


Expected results:

I would like to forward it on.
Note: Using Thunderbird 78.11.0 (32-bit)
Bug: Port bug 1713627: 1) Replace setting charset to _autodetect_all 2) Remove setting nsIDocShell.charset
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2021-06-21 21:50:29+00:00
Resolved: 2021-06-29 06:27:19+00:00

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.106 Safari/537.36

Steps to reproduce:

Bug 1713627 needs porting since this doesn't work any more:
https://searchfox.org/comm-central/rev/84da1b60338f52ad99851bdc9d6512135909c8ec/common/src/viewSource.js#70

The other call site
https://searchfox.org/comm-central/rev/84da1b60338f52ad99851bdc9d6512135909c8ec/mail/base/content/mailWindow.js#1099
is covered in bug 1713786.
Bug: When an EML file is displayed in Thunderbird Ctrl-S or Save file as does not work
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2021-06-22 07:45:30+00:00
Resolved: 2021-06-22 15:17:23+00:00

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

Steps to reproduce:

Open an EML file in Thunderbird and press Ctrl-S or click on File -> Save as -> File.


Actual results:

Nothing happens.


Expected results:

The Save File As dialog should appear to select the target path and file name.
Bug: cannot load Inbox - NS_ERROR_ILLEGAL_VALUE [nsIMsgFolder.updateFolder]
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2021-06-22 08:18:57+00:00
Resolved: 2022-12-03 16:30:28+00:00

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

Steps to reproduce:

For the past several weeks I'm no longer able to load the content of my MS Exchange Inbox in Thunderbird.


This is with Thunderbird 78.11, 64 bit, Windows 10


Actual results:

When I select Inbox, the message subjects that were shown from the previously displayed folder disappear as soon as I hover my mouse over them. The blue circle keeps going round forever. The tab name doesn't change to Inbox, it remains the name of the previously open folder.

When I open the Error console, the below message is displayed there as soon as I select the Inbox folder:

Uncaught 
Exception { name: "NS_ERROR_ILLEGAL_VALUE", message: "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIMsgFolder.updateFolder]", result: 2147942487, filename: "resource:///modules/DBViewWrapper.jsm", lineNumber: 88, columnNumber: 0, data: null, stack: "updateFolderAndNotifyOnLoad@resource:///modules/DBViewWrapper.jsm:88:15\nopen@resource:///modules/DBViewWrapper.jsm:810:32\nshow@chrome://messenger/content/folderDisplay.js:849:19\nFolderPaneSelectionChange@chrome://messenger/content/commandglue.js:361:18\nonselect@chrome://messenger/content/messenger.xhtml:1:1\nMozTreeChildren/<@chrome://global/content/elements/tree.js:69:28\n", location: XPCWrappedNative_NoHelper }
DBViewWrapper.jsm:88

Any other folder or subfolder loads just fine.

I can access the Inbox on my other workstation on Linux.

I've tried reinstalling thunderbird and have done at least one update, but no change.


Expected results:

Subjects of Inbox messages should have appeared in the top pane and I should have been able to read them.
Bug: Unified view not working for Sent and Archives
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2021-06-22 17:14:25+00:00
Resolved: 2023-10-07 17:49:10+00:00

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

Steps to reproduce:

I have reinstalled my OS a few weeks ago. Before doing that i have copied Thuderbird profiles from both Roaming and Local AppData (mail is stored on another drive that was not touched). After fresh installing and running Thuderbird i have closed it and deleted default folders it has created and copied my saved folders. Have opened Thunderbird and it seemed to work ok.


Actual results:

I have tried to click on root Sent or Archive folders. It didn't show the contents of these folders as it should (unified view from different accounts). Sometimes i see Searching... in the statusbar.


Expected results:

When i click on Sent it should show all sent emails from all my accounts in the unified view, just like it still does for Inbox and Trash. It also should have showed all archived messages. Now i have to go inside and click on a single account Sent folder or an archive folder for a year to see messages. I have used such backup and restore process in the past numerous times. And i used the same for Firefox browser after this reinstall of OS. Haven't noticed issues with Firefox yet. What i have noticed that Thunderbird creates two profile folders, one with default-release suffix and another with default suffix. Firefox is not doing this. Wonder if Thunderbird is still somehow tied into these default profiles that don't exist anymore. Also, when i start Thunderbird in Local AppData, in profile folder it creates .startup-incomplete file.

Last time i was checking Sent and Archives was maybe a few months ago, so i am not sure if this happened after the OS reinstall, but i assume so.

Maybe this is still some bug. Or maybe it was caused by migration and maybe it should work better in such scenario. Or is there another place it stores such data in (registry, temp folders)? Any way to reset this state and make all unified view folders to work again (except for deleting all settings)?
Bug: Not Responding after send mail
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2021-06-22 18:13:31+00:00
Resolved: 2021-06-28 18:30:09+00:00

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

Steps to reproduce:

Send a mail message.  Return to my inbox folder and try to navigate.  


Actual results:

Thunderbird stall showing non responding for several seconds or more. This only happens if I have set "when sending messages automatically place a copy in my inbox."


Expected results:

not hang.
note that I do not have check for new messages selected but depend on notifications.  this is a gmail account.  Also note that this occurs in both the released version and in 90.0b2.
Bug: Certain actions in filters are group-executed rather than sequentially applied causing unexpected results
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2021-06-22 18:43:34+00:00
Resolved: 2021-06-23 10:43:15+00:00

+++ This bug was initially created as a clone of Bug #1717107 +++

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.106 Safari/537.36

### Steps to reproduce
#### Use Case
Create a copy of all incoming email.  Mark these as **Read**.  

When multiple accounts use this strategy, the target folder emulates a *Smart folder*.

#### Environment
* POP account
* Create a new folder within it (named say **Received**)

#### Filters and creation order
1. Mark all email **Read**
2. Copy all email to **Received**
3. Mark all email **Unread**

### Actual results
All emails copied to the **Received** folder are not marked **Read**.  They remain **Unread**.

### Expected results
All emails between **Read**/**Unread** filters should be marked **Read**.
Bug: Intermittent comm/mail/test/browser/folder-tree-modes/browser_customFolderTreeMode.js | Uncaught exception - at chrome://messenger/content/folderPane.js:379 - TypeError: can't access property "getAttribute", this._treeElement is undefined
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2021-06-22 22:36:43+00:00
Resolved: 2021-09-01 20:32:17+00:00

**Filed by:** geoff [at] darktrojan.net
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=343471205&repo=comm-central
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/XKhX7nz0SKiEbPS1IPsBAg/runs/0/artifacts/public/logs/live_backing.log

---
```

```
Bug: Mail filter actions change order when executed
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2021-06-23 03:18:52+00:00
Resolved: 2021-12-08 17:42:07+00:00

User Agent: Mozilla/5.0 (Windows NT 6.1; rv:89.0) Gecko/20100101 Firefox/89.0

Steps to reproduce:

While testing for *another* bug with a presumed similar fault, I created a filter with three actions (then stop) to prove or disprove the fault.

Add STAR
COPY message to <folder>
TAG message "To Do" (BLUE)
STOP Filter Execution

>> Running TB 78.11.0 on Windows 7/Pro 32-bit.


Actual results:

The filter does the STAR and TAG, and then does the COPY, so the BLUE TAG is duplicated to the copy -- which is not as intended and instructed:
    Message came in, filter was triggered and applied.
    Message got a STAR.
    Message got tagged (in the original location) and turned BLUE.
    Message got copied such that duplicate has STAR and is BLUE.

Here's what the log says:
    [20/06/2021, 9:54:27 a.m.] Applied filter "Testing STAR/COPY/TAG" to message from P&M - Dan <zzz@pmtech.ca> - Test 1 9:54 am at 20/06/2021, 9:54:13 a.m. **starred**
    [20/06/2021, 9:54:27 a.m.] Applied filter "Testing STAR/COPY/TAG" to message from P&M - Dan <zzz@pmtech.ca> - Test 1 9:54 am at 20/06/2021, 9:54:13 a.m. **tagged**
    [20/06/2021, 9:54:27 a.m.] Applied filter "Testing STAR/COPY/TAG" to message from P&M - Dan <zzz@pmtech.ca> - Test 1 9:54 am at 20/06/2021, 9:54:13 a.m. **copied** message id = 2d9e9002-5dae-fec6-5f80-61d8b451b483@pmtech.ca to mailbox://nobody@Local%20Folders/Inbox/Mozilla_Firefox_TB/TB%20Testing
    [20/06/2021, 9:54:27 a.m.] Applied filter "Testing STAR/COPY/TAG" to message from P&M - Dan <zzz@pmtech.ca> - Test 1 9:54 am at 20/06/2021, 9:54:13 a.m. execution stopped

It seems the execution order of the filter actions was arbitrarily changed!


Expected results:

Message comes in, filter is triggered and applied.
Message gets a STAR.
Message gets copied to <folder> such that duplicate also has STAR.
Message gets tagged in the original location and turns BLUE. **Duplicate message should not be affected.**

The FILTER ACTIONS should have occurred in the order specified, based on the reasonable & logical assumption (allegedly documented somewhere) that FILTER ACTIONS occur in the sequence given *AND* on the observation that certain hard status (like having a STAR or TAG COLOUR) get propagated to the offspring.
Bug: Creating Saved Search in Local Folders causes dialog to lose focus (hang)
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2021-06-23 13:05:11+00:00
Resolved: 2021-08-17 05:55:08+00:00

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Safari/605.1.15

Steps to reproduce:

Select File / New / Saved Search.
Pick Local Folders
Select "random" online folder e.g. yahoo mail inbox
Match all of the following => leave empty (default)

Note: I found this more basic bug, while I was trying to add another online folder to  an existing Saved Search, which is what I wanted to do actually.


Actual results:

Causes hang. Not able to use Thunderbird afterwards anymore.
But able to quit out of Thunderbird though using "Quit Thunderbird".



Expected results:

Should be able to create Saved Search in Local Folders.
Should be able to add another online folder to an existing Saved Search in Local Folders.