av9ash/GitBugs huggingface dataset:
Bug: 2 addons using compose.onBeforeSend will not both work
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2020-04-17 16:04:58+00:00
Resolved: 2020-04-28 19:58:30+00:00

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0

Steps to reproduce:

If two addons use compose.onBeforeSend then the first one to respond with {"cancel":false} will send the email. The response from the second one appears to be ignored.

The test I did to demonstrate this is described here:
https://thunderbird.topicbox.com/groups/addons/T8a984c3fb306a535

Addons such as my Limit non-BCC recipients, which may require interaction, are likely not to work if another addon does something quick, such as add a recipient.
Bug: After latest download my collected addresses in my contacts do not work?  When I try to send an email it says email is invalid, wrong format.
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2020-04-17 16:47:26+00:00
Resolved: 2020-04-19 18:50:55+00:00

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

Steps to reproduce:

Tried several collected addresses, none would work, I have some fairly large ones and do not want to redo them all.  I created a new one and it would send ok?


Actual results:

Collective addresses in address book will not send?
Bug: Group addresses don't work
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2020-04-17 19:35:55+00:00
Resolved: 2020-04-18 12:02:47+00:00

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

Steps to reproduce:

Double clicked on group address that had worked in the past


Actual results:

Working with Thunderbird 68.7.0 (32 bit) under Windows 7.

A single "To" entry was made in the message to be composed. Its "human name" was the listing name for the group address. Its email address (in pointy brackets) was the "Description" in the address book entry for this group if any; otherwise it was again the listing name for the group address.

This happens on two installations of Thunderbird.


Expected results:

"To" entries should have been made for all the addresses listed in that group address.
Bug: desktop notifications on Linux don't escape HTML
Status: UNCONFIRMED
Priority: --
Created: 2020-04-17 20:07:11+00:00
Resolved: 2024-05-29 08:42:29+00:00

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0

Steps to reproduce:

I got a plain-text email containing "<b>Bold</b>and<i>italic</i>".
(This might be similar to Firefox bug 1631077.)


Actual results:

The desktop notification was bold and italic.


Expected results:

The HTML should have been escaped.
Bug: Several thousand unread messages marked as read
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2020-04-18 07:32:21+00:00
Resolved: 2020-04-19 05:33:44+00:00

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0



Actual results:

With Debian Sid/unstable and Mozilla Thunderbird 68.7.0 for whatever reason all my unread messages in my INBOX (several thousand) were marked as read. I do not know how this happened, and I am not aware of myself doing anything like that. (But now I know the reason why the fan started spinning a lot with Thunderbird being shown as the process causing this.


Expected results:

It should not be possible to unintentionally change the read/unread status of so many messages.

If more than X messages are marked as read/unread, Mozilla Thunderbird should ask for confirmation. I guess 50 or 100 is a good default for X.
Bug: Blank line added at start of plain text message
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2020-04-18 08:49:22+00:00
Resolved: 2024-03-02 16:24:13+00:00

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0

Steps to reproduce:

Reply to a multi-part message in MIME format, and Thunderbird is configured to only display the plain text part, and to only reply with plain text messages.


Actual results:

Despite the message window showing no additional blank line at the top, the reply had a blank line at the top. This can be verified in the folder *Sent*.


Expected results:

The reply message should send what the user sees, that means no additional blank line at the top.
Bug: Marking messages as read or flagged with browser.messages.update fails to persist for IMAP folders
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2020-04-18 09:17:07+00:00
Resolved: 2020-04-30 20:00:44+00:00

With the `browser.messages.update` API, doing something like:

```
await browser.messages.update(m.message._id, { read: true });
```

works fine for locally stored messages.

However, when doing it on a message in an IMAP folder, it looks like it has been marked as read, but then when you switch folder and back again, it reverts to unread.

I think the problem is the operations are being done directly on the message header, not the folder.
Bug: When TB 76.0b1 ist started it always opens Inbox folder in expanded mode when show the Start Page in the message area is enabled
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2020-04-18 10:38:31+00:00
Resolved: 2020-09-14 11:43:16+00:00

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

Steps to reproduce:

Updated to TB 76.0b1, Start Thunderbird


Actual results:

grouped input folder always opens in expanded mode


Expected results:

Shou,l open in collapsed (last used) mode as in previous releases
Bug: Showing comma (,) instead of fall back names in address book for |View > Show Name As > Last, First|
Status: VERIFIED
Priority: --
Resolution: FIXED
Created: 2020-04-18 12:20:40+00:00
Resolved: 2021-02-26 07:33:35+00:00

Something broke the fallback algorithm of address book's 'Name' column for `View > Show Name As > Last, First` when Last name and First name are not present on the contact's card.

**STR**

1) Have these contacts in your local AB:

First | Last | Display | Email | Company
----- | ---- | ------- | ----- | -------
   |   | Anne Adams | aa@asdf.com |   
   |   |   | comp@asdf.com | Computer-Company
   |   |   | johnxxx@c.com |   
 Tom | Doe | Tom Doe | td@c.com

2) In main AB, select `View > Show Name As > Last, First` (required step).

**Actual Result**

Your list of AB entries (name column) now looks like this:
````
,                         (that's Anne, don't you see?) 
,                         (that's Computer-Company)
,                         (that's John)
Doe, Tom
````
- Visually odd: Loads of meaningless commas (`,`) in the name column.
- Lots of valid contacts harder to distinguish as they are not showing anything in the "Name" column.
- Regression: Existing fall back algorithm *fails* (compare release version, which will always display *something* in the name field; see expected result).
- Easy to identify contacts without Last and First name; however, it's like forcing users to fill in those fields for a useful names experience, which they may not be ready to do. Instead, we should offer optional colums for First name and Last name fields.

**Expected Result**

````
Anne Adams        (RFE: first use display name as fallback)
Computer-Company  (regression-fix: use company field as fallback)
Doe, John         (regular entry: Last, First)
johnxxx           (regression-fix: use local part of email address as fallback)
````

Imo, we should fix the existing fallback algorithm which regressed:
When Last Name and First Name are not filled, show data from other fields in the name column instead:
- Company Name
- Local part of email address

I suggest to enhance the fallback and start with display name first (as it's technically possible to have display name without Last and First name filled):
- Display Name
- Company Name
- Local part of email address

For polishing:
- Can we have some way of identifying list entries where Last name, First name fields are empty and the fallback is used? In current release, we are just sorting fallback names into the Last, First sequence. Options:
  - some visual hint where fallback names have been used, e.g.:
    - use italics for fallback names (whilst keeping them in alphabetical order)
    - prepend/overlay some other visual indication
  - sort all fallbacks to the top, e.g. by prepending some special character to the fallback
name:
     ~ Anne Adams
     ~ Computer Company
     ~ johnxxx
     Doe, Tom
  - no indication in Names colum; instead, allow user to display Last name and First name columns

Maybe italics could work.
Bug: With Google News as tb startup page, view source on emails only shows html source for google news
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2020-04-19 01:52:05+00:00
Resolved: 2024-04-08 19:38:34+00:00

Set google news as thunderbird start page, e.g.,
```
https://google.com/news
http://google.com/news
http://news.google.com
google.com/news 
```  
It doesn't matter how you set it.

Restart tb or select "Go | Mail Start Page" and let google news appear.

Select and open an email and do "view source" on the message.

Google news html source appears instead of the message source.

Other emails when selected only show google news html source when you view source.

I tried several other sites as the start page and don't see a problem. This only seems to occur for google news.

To see email message source again instead of google news html you have to set the start page to something else AND restart tb. Restart of tb is needed to completely clear the problem.

I see the problem on updated windows, probably 68.7 and on Trunk version with linux. This works as expected with 60.9 on linux

This was noticed while trying to check the source content for a potential scam email that was received.
Bug: Button overlaps in Account Manager
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2020-04-19 04:51:17+00:00
Resolved: 2020-04-19 09:11:52+00:00

STR
1. Open account manager
2. Select an account in the left pane
3. Observe button layout
4. If not reproduced, reduce width of TB window

Regression window:
https://hg.mozilla.org/comm-central/pushloghtml?fromchange=2e35a75dba0ae6dbb38eb335a37ff15baa1a3e0d&tochange=b55b6873476a54a0712ddff905bd45e52ffbcf35
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=2f6870dd1b99edaba1de4d2aa97f3910a640c5bf&tochange=b47e32ff95b8d544ea1e94374e1d5ad8929bba39

Suspect: Bug 1612776
Bug: Thunderbird hangs when trying to display UIA object focus item information with JAWS
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2020-04-19 09:14:08+00:00
Resolved: 2023-10-24 10:29:44+00:00

# Current behavior
In Thunderbird, when you trie to display information about the focus UIA object with JAWS, Thunderbird becomes unresponsive and crashes.

# Steps to reproduce
Important Note: The following steps must be performed using JAWS.

1. Start Thunderbird and focus the message list.
1. Press JAWSKey+Windows+NumPadMinus to Toggle the JAWS scripting utility mode.
1. Now press CTRL+O to display the UIA object focus item information.

# Result
JAWS says "No focus object" and Thunderbird stops responding.

# Expected
JAWS should display the UIA object focus item information in the virtual viewer
Bug: Thunderbird very slow after user switch on MacOS Mojave
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2020-04-19 11:52:17+00:00
Resolved: 2020-05-23 14:21:14+00:00

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:75.0) Gecko/20100101 Firefox/75.0

Steps to reproduce:

Login as user "John", switch to user "Adam" without logging out, switch back to user "John" and Thunderbird is very slow.


Actual results:

Huge slow down of Thunderbird, switching folders, selecting messages, all goes very slow. Quitting Thunderbird and restarting solves this issue.


Expected results:

Normal speed.
Bug: Screen readers read empty columns and announce the name of the variable
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2020-04-19 15:54:37+00:00
Resolved: 2023-04-01 18:09:28+00:00

# Current behaviour
If a column in the message list has been activated that under certain circumstances cannot contain values, all screen readers will still announce the columns and the variable. If the column contains the intended value, the screen readers will announce these values correctly.

# Steps to reproduce
1. Right-click on any column in the message list
1. Activate a column that rarely contains a value. In my case it is the priority column.
1. Press Escape to leave the context menu
1. Now navigate in the message list and let all column values be announced.

## Result: Both JAWS and NVDA announce the name of the column even though the column is empty. Both screen readers say "priorityCol". The same thing happens with the subject column. If it is empty, both screen readers say "subjectCol". For example, if the priority of the e-mail is very high, JAWS and NVDA say "Very High
## Expected: The screen readers should only read out the column if it is not empty.

# Possible solution
All empty columns should be provided with an empty string so that they are no longer announced by the screen readers. For many blind people this is very annoying if they depend on these columns and they are still announced, even if they are empty.
Bug: Account Copies and Folders can't be changed.  Error nsIMsgIdentity.draftFolder] AccountManager.js:1460 (version 68)
Status: RESOLVED
Priority: --
Resolution: WONTFIX
Created: 2020-04-20 01:21:20+00:00
Resolved: 2020-08-10 06:16:08+00:00

seeing this on only one account Thunderbird 68.7.0, open account settings > copies and folders.  I can't change anything on this tab.  see attached image.  

Recent issue, I suspect it didn't happen in 68.6.0 but I haven't tested the theory.  Could be profile corruption?  OTOH, everything in the folder pane is correct, all the folders that should be special are marked as special (drafts, archive, etc)

NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgIdentity.draftFolder] AccountManager.js:1460
    getAccountValue chrome://messenger/content/AccountManager.js:1460
    restorePage chrome://messenger/content/AccountManager.js:1502
    onPanelLoaded chrome://messenger/content/AccountManager.js:1306
    onload chrome://messenger/content/am-copies.xul:1
    MsgAccountManager chrome://messenger/content/accountUtils.js:290
    oncommand chrome://messenger/content/messenger.xul:1
Bug: Mailbox list position unstable; flipped when deleting message
Status: NEW
Priority: --
Created: 2020-04-20 10:26:19+00:00
Resolved: 2020-04-22 17:27:32+00:00

If I delete a recent message in a large mailbox (hitting the DEL key), occasionally the navigation position in the mailbox flips to a random mail (typically a few years old).
This happens under yet unclear conditions (but frequently enough to raise annoyance).
Bug: Authentication method not updated for selected SMTP server in Account Settings
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2020-04-20 14:08:30+00:00
Resolved: 2020-06-04 20:01:18+00:00

User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0

Steps to reproduce:

Open "Outgoing Server (SMTP)" and select a server.


Actual results:

Authentication method in details pane remains empty.

Console shows following message:

TypeError: document.getElementById(...) is null 4 am-smtp.js:184:12
    updateServerInfoBox chrome://messenger/content/am-smtp.js:184
    onSelectionChanged chrome://messenger/content/am-smtp.js:47
    onselect chrome://messenger/content/am-smtp.xul:1
    _fireOnSelect chrome://global/content/elements/richlistbox.js:332
    selectItem chrome://global/content/elements/richlistbox.js:463
    onxblmousedown chrome://global/content/bindings/richlistbox.xml:125
    MsgAccountManager chrome://messenger/content/accountUtils.js:290
    oncommand chrome://messenger/content/messenger.xul:1



Expected results:

Authentication method should be displayed.
Bug: After update signature is gone even with reloading.
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2020-04-20 14:35:00+00:00
Resolved: 2020-12-30 15:50:59+00:00

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

Steps to reproduce:

Mozilla Thunderbird update signature and address book is gone. Each time I load the signature it disappears. It is like the signature does not get loaded.  


Actual results:

Mozilla Thunderbird update signature and address book is gone. Each time I load the signature it disappears. It is like the signature does not get loaded.  


Expected results:

No more signature after update even after loaded.
Bug: Rename folder results in empty sub-folder contents.
Status: UNCONFIRMED
Priority: --
Created: 2020-04-20 16:15:58+00:00
Resolved: 2020-06-11 00:10:47+00:00

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

Steps to reproduce:

I had a folder with about 8-10 sub-folders each with multiple email contents. I renamed this folder to something different. 


Actual results:

Upon expanding the new folder name in the folder list it shows some of the sub-folders with contents and some as being empty!!! FREAK OUT!!. Selecting the empty sub-folders indeed shows no contents in the email window!!  ARGGG!!! I've lost my mail. I exited and restored the old folder from a backup. Upon restarting TB I see that the renamed folder now showed all the correct contents!! So I didn't really have to restore it, I just had to restart the program. 


Expected results:

I think you know.
Bug: Cannot delete entries within Customize Headers
Status: RESOLVED
Priority: P2
Resolution: FIXED
Created: 2020-04-20 19:51:29+00:00
Resolved: 2020-07-04 20:55:02+00:00

Hi,

I added a few custom headers to search for some messages.
I'm now unable to delete those entries from the drop-down menu.

If I select Remove from the Customise Headers menu they disappear, but once I click OK they reappear in the drop down menu options again.

I've tried in Safe Mode as well.
Bug: Mail to list with space impossible
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2020-04-20 21:17:41+00:00
Resolved: 2020-04-23 18:25:02+00:00

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

Steps to reproduce:

I have a list of contacts in my adressbook (say "List 1") that has a space in it's name. 
When I compose a message and add the list to the To: field with the contacts sidebar (doubleclick or click on add to To:), it gets added like List 1 <"List 1">



Actual results:

When I then try to send the mail, I get the error 
List 1 <"List 1"> <> is not a valid e-mail adress because it is not of the form user@host. You must correct it before sending the mail.



Expected results:

When I add the list by typing it's name in the To: field, it gets added as List 1 <List 1> and I can send the mail correctly.
When I remove the space in the name of the list, it works fine too. 
The sidebar should add list adresses in a correct way.
Bug: RNP does not build with linux64-clang-win-cross toolchain since April 15
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2020-04-20 22:31:25+00:00
Resolved: 2020-06-04 20:01:20+00:00

Compiling the RNP shared library fails when it's a win64-targeted cross-compile build.

The error message:

lld-link: error: undefined symbol: __umodti3
lld-link: error: undefined symbol: __udivti3

Both of those are used by Botan's bigint module.
Bug: Thunderbird hangs accessing shared mailboxes
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2020-04-21 12:17:24+00:00
Resolved: 2020-06-22 13:13:43+00:00

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

Steps to reproduce:

Configure a shared mailbox with login <username>\<mailboxname>@domain.tdl


Actual results:

Thunderbird will try to connect to the given server and fail to login with "<username>" to mailbox "<mailboxname>@domain.tdl". It tries to login with "<username><mailboxname>@domain.tdl" removing the '\' entirely. Making the server choke about the username "<username><mailboxname>@domain.tdl"


Expected results:

Thunderbird shall split login to "<username>". Then login with that user. After being successful it hast to change to mailbox "<mailboxname>".
Bug: TEST-UNEXPECTED-TIMEOUT | dom/ipc/tests/test_bug1086684.js | Test timed out
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2020-04-21 13:28:28+00:00
Resolved: 2020-10-07 12:09:49+00:00

**Filed by:** mkmelin+mozilla [at] iki.fi
**Parsed log:** https://treeherder.mozilla.org/logviewer.html#?job_id=298620610&repo=comm-central
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/AZviic4KQQyRKnXefeqYfQ/runs/0/artifacts/public/logs/live_backing.log

---

Looks like fallout from bug 1614462.
Bug: Intermittent comm/mail/test/browser/composition/browser_forwardUTF8.js | This test exceeded the timeout threshold. It should be rewritten or split up. If that's not possible, use requestLongerTimeout(N), but only as a last resort. -
Status: RESOLVED
Priority: P5
Resolution: WORKSFORME
Created: 2020-04-21 13:34:24+00:00
Resolved: 2021-12-07 08:16:02+00:00

**Filed by:** mkmelin+mozilla [at] iki.fi
**Parsed log:** https://treeherder.mozilla.org/logviewer.html#?job_id=298619651&repo=comm-central
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/SZ7yivtiS2W01BSyLcvIQQ/runs/0/artifacts/public/logs/live_backing.log

---

Fixed once in bug 1605309. Maybe needs an ever longer timout
Bug: I Imported address book  but names and email do not show
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2020-04-22 02:37:07+00:00
Resolved: 2020-04-23 18:21:54+00:00

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

Steps to reproduce:

I imported address book  .cvs from Outlook. 



Actual results:

I don't see names and email addresses in the Ff Address Book (see attachment). Clicking on a head-an-shoulder icon does give me the missing info.


Expected results:

Also, when I start an email and click on "To" the address book does not appear.
Bug: test_nsIMsgFolderListenerIMAP.js fails when run by itself
Status: NEW
Priority: --
Created: 2020-04-22 02:52:27+00:00
Resolved: 2021-11-14 01:26:04+00:00

Running this unit test by itself:
```
$ ./mach xpcshell-test comm/mailnews/imap/test/unit/test_nsIMsgFolderListenerIMAP.js
```

Fails with an error like this:

```
ERROR test_end for comm/mailnews/imap/test/unit/test_nsIMsgFolderListenerIMAP.js logged while not in progress. Logged with data: {"status": "PASS", "test": "comm/mailnews/imap/test/unit/test_nsIMsgFolderListenerIMAP.js", "message": "xpcshell return code: 0"}
```

I think this is because it is actually run twice - in parallel - and the two instances interact badly. In normal operation this isn't usually an issue, because the timing is such that the two instances don't start at exactly the same time. But when you run it by itself, they are.

A workaround is to run using the `--sequential` option, to prevent them from kicking off at the same time:
```
$ ./mach xpcshell-test --sequential comm/mailnews/imap/test/unit/test_nsIMsgFolderListenerIMAP.js
```

The reason the test is run twice is that _all_ the imap tests are run twice - there are two xpcshell.ini files. One for mbox, and one for maildir. This is good, but it'd be nice if we could guarantee simultaneous tests don't interact badly like in this case.

This could easily be the source of some intermittent failures in the IMAP tests (and perhaps elsewhere).