av9ash/GitBugs huggingface dataset:
Bug: New Email: Manually changing from default identity (with S/MIME certificate) to second identity (without certificate) triggers sending error
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2022-08-30 10:03:24+00:00
Resolved: 2022-09-01 08:42:29+00:00

Steps to reproduce:

Created one account with two identities and two separate SMTP servers (e.g. work and private email). Assigned valid S/MIME certificate to default/main identity. Activated "sign unencrypted messages" for default identity. Second identity was left without certificate and thus with "sign unencrypted messages" disabled (greyed out) in the identity management settings. Created new email draft. Manually changed from the default identity to the second identity. Tried to send email.


Actual results:

Sending of the message failed; See attached error message, which indicates that Thunderbird tried to digitally sign the email, even though no certificate was stored for that second identity.

It would seem that the composer windows retains the "digitally sign" setting from the previously selected, default identity, disregarding the identity-specific setting of the second identity not to sign emails, even after changing to that second identity in the "From" field.

Note that the S/MIME button is greyed out after switching to the certificate-less identity (as expected). However, this prevents that the "digitally sign" setting can be manually disabled after changing to the second identity. 

In contrast, when disabling digital signing via the S/MIME button BEFORE changing identity and only THEN switching to the second, certificate-less identity allows for sending the email without errors, further corroborating that this is an error of falsely retained settings.


Expected results:

When manually changing the identity in the "From" field, the composer window should follow the identity-specific setting of whether to try signing the email or not. 

Note: When the second identity is not selected manually but automatically (e.g. through replying to an email with identity-specific header match) the sending succeeds, i.e. the identity-specific setting to not use digital signing is respected in this scenario. So this is indeed an issue of MANUALLY changing the "From" field if the default identity has a certificate and the second one does not.
Bug: Single punctuation mark in a line ends transmission of news posting
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2022-08-30 16:01:06+00:00
Resolved: 2022-08-31 05:48:12+00:00

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

Steps to reproduce:

I posted the following message in a news group:
3, 2, 1 punctuation marks and text following
...
..
.

TB 105 does it right.



Actual results:

That arrived in the news group:
3, 2, 1 punctuation marks and text following
..
.


Expected results:

The posting should have reached the news group unmodified as it is stored in the sent folder. 
Besides, TB Mail does it the correct way.
Bug: Error creating account: incoming server already exists - if cancel during account setup verification
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2022-08-30 16:16:49+00:00
Resolved: 2023-06-16 00:14:43+00:00

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

Steps to reproduce:

Added a hotmail account, but wrong password. I canceled the operation to correct the password because it's quicker, and then tried to add the account again


Actual results:

error message income server already exists (in french le serveur d'entrée existe déjà)


Expected results:

Should've continued and successfully connected to the mail account
Bug: "Close message window/tab on move or delete" does not seem to work with `Threaded` (but works in troubleshoot mode, or `Unthreaded`). May involve `Unified folders`
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2022-08-30 19:14:34+00:00
Resolved: 2023-10-07 17:57:51+00:00

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

Steps to reproduce:

I am running TB 102.2.0 64bit on Win10.  Prior to this version, whenever Ideleted an open message, the tab in which it was displayed closed.  Now, when I delete an open message, it just sits there.  I went into Preferences > Display > Advanced and noted that the check box "Close message window/tab on move or delete" was checked.  The setting seems to be ignored.  I query for this issue and I saw someone had this problem in version TB 66.0b2 back in 2019.   This bug is also in TB 102.2.0 64 bit running on my Macbook on MacOS 12.5.1.
Thanks


Actual results:

The deleted message window stays open and visible. 


Expected results:

The deleted message window should close automatically.
Bug: Calendar tests fail to run locally but run on the server
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2022-08-30 21:53:23+00:00
Resolved: 2022-08-31 03:09:19+00:00

Since yesterday, if I try to run `./mach test comm/calendar/test/browser/browser_taskUndoRedo.js` locally, I get multiple errors all starting with:
`FAIL uncaught exception - TypeError: can't access property "every", items is undefined at canEditSelectedItems@chrome://calendar/content/calendar-command-controller.js:851:3`

This is one of the many full stack of the failure:
```
FAIL uncaught exception - TypeError: can't access property "every", items is undefined at canEditSelectedItems@chrome://calendar/content/calendar-command-controller.js:851:3
isCommandEnabled@chrome://calendar/content/calendar-command-controller.js:127:38
goUpdateCommand@chrome://global/content/globalOverlay.js:111:28
updateCommands@chrome://calendar/content/calendar-command-controller.js:107:19
onSelectionChanged@chrome://calendar/content/calendar-command-controller.js:521:24
connectedCallback/<@chrome://calendar/content/calendar-task-tree.js:227:30
modifyItems@chrome://calendar/content/calendar-task-tree-view.js:158:32
addItems@chrome://calendar/content/calendar-task-tree-view.js:68:10
onAddItem@chrome://calendar/content/calendar-task-tree.js:43:29
notify@resource:///modules/calendar/utils/calDataUtils.jsm:39:23
notify@resource:///modules/calendar/utils/calDataUtils.jsm:66:18
onAddItem@resource:///modules/CalCompositeCalendar.jsm:37:34
notify@resource:///modules/calendar/utils/calDataUtils.jsm:39:23
notify@resource:///modules/calendar/utils/calDataUtils.jsm:66:18
adoptItem@resource:///modules/CalMemoryCalendar.jsm:178:21
addItem@resource:///modules/CalMemoryCalendar.jsm:122:17
undoTransaction@resource:///modules/CalTransactionManager.jsm:354:25
undoTransaction@resource:///modules/CalTransactionManager.jsm:231:17
undo@resource:///modules/CalTransactionManager.jsm:119:16
undo@chrome://calendar/content/calendar-item-editing.js:709:24
doCommand@chrome://calendar/content/calendar-command-controller.js:754:9
doCommand@chrome://calendar/content/calendar-tabs.js:139:58
doCommand@chrome://messenger/content/tabmail.js:573:27
goDoCommand@chrome://global/content/globalOverlay.js:128:18
oncommand@chrome://messenger/content/messenger.xhtml:1:12
testDeleteUndoRedoTask@chrome://mochitests/content/browser/comm/calendar/test/browser/browser_taskUndoRedo.js:195:8
```
Bug: Intermittent comm/mail/components/extensions/test/browser/browser_ext_commands_onCommand.js | Expected onCommand listener to fire with the correct tab type: mail - Got "messageCompose", expected "mail"
Status: RESOLVED
Priority: P5
Resolution: WORKSFORME
Created: 2022-08-30 23:47:24+00:00
Resolved: 2024-03-15 16:19:46+00:00

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

---
```

```
Bug: Intermittent comm/mail/components/extensions/test/browser/browser_ext_messageDisplay.js | no tasks awaiting on messages - Got "[\"show message 2\"]", expected "[]"
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2022-08-30 23:48:52+00:00
Resolved: 2022-12-03 02:55:58+00:00

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

---
```

```
Bug: Incorrectly declared icons
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2022-08-31 00:45:01+00:00
Resolved: 2022-08-31 10:06:20+00:00

there are a couple incorrectly declared icons.
- `help.svg` in `accountSetup.xhtml` should be `question.svg`
- misspelled calendar for `--icon-calendar-imip` declaration.
Bug: findMsgIdInFolder in modules/MailUtils.jsm fails when .msf file is not available
Status: UNCONFIRMED
Priority: --
Created: 2022-08-31 10:07:21+00:00
Resolved: 2022-09-03 08:43:42+00:00

Steps to reproduce:

In our company we have a lot (several hundred) of shared folders. 
Our employees are starting to use the feature to convert an email to a task more often. I received reports that the the link in the the task back to the mail is not working anymore. After some searching i found out that sometimes there is a problem with one or more msf files from shared folders. Thunderbird tries to open the file (verified with processmonitor) and fails. In the UI there is no response. neither opening the email nor a notification about not finding the mail.
I don't know why the msf file is missing in the first place. I guess that is a different bug.  I could reproduce that by quickly open previously unaccessed shared folders (100-200). 


Actual results:

Uncaught
Exception { name: "NS_ERROR_FAILURE", message: "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgFolder.msgDatabase]", result: 2147500037, filename: "resource:///modules/MailUtils.jsm", lineNumber: 638, columnNumber: 0, data: null, stack: "findMsgIdInFolder@resource:///modules/MailUtils.jsm:638:7\nfindMsgIdInFolder@resource:///modules/MailUtils.jsm:646:21\nfindMsgIdInFolder@resource:///modules/MailUtils.jsm:646:21\nfindMsgIdInFolder@resource:///modules/MailUtils.jsm:646:21\nfindMsgIdInFolder@resource:///modules/MailUtils.jsm:646:21\ngetMsgHdrForMsgId@resource:///modules/MailUtils.jsm:670:27\nopenMessageByMessageId@resource:///modules/MailUtils.jsm:347:23\nlaunchBrowser@chrome://calendar/content/calApplicationUtils.js:35:15\nonclick@chrome://calendar/content/calendar-item-iframe.xhtml:1:14\n", location: XPCWrappedNative_NoHelper } 


Expected results:

I guess the search would continue if this exception was catched in line 624 of modules/MailUtils.jsm:
 msgHdr = folder.msgDatabase.getMsgHdrForMessageID(msgId);

I might still be that the search does not find the message if it is in a folder with missing msf file but at least there would be a notification.
Bug: tb.account.size_on_disk - Trying to set an unsigned scalar to a negative number and other initialization errors in 91 and 102.
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2022-08-31 10:52:37+00:00
Resolved: 2022-11-06 02:44:56+00:00

Steps to reproduce:

Started Thunderbird 91.12.0 (64-bit), looked at error console


Actual results:

Noticed 250 messages:
tb.account.size_on_disk - Trying to set an unsigned scalar to a negative number.

Sounds like a scalar is too small - or my account is too big!


Expected results:

This message should never be logged...
Bug: Thunderbird always place a copy of a sent mail in the sent items folder
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2022-08-31 11:22:05+00:00
Resolved: 2022-09-12 09:56:49+00:00

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

Steps to reproduce:

It's an outlook account, IMAP.

Account settings->Copies and Folders

"place a copy..." is unchecked, nothing is selected on the combo box of "Sent folder on:"


Actual results:

Sent mails are always copied to sent items folder, resulting in a double mail since outlook provider does it automatically.


Expected results:

Sent mails are not copied to the sent items folder. If I check and uncheck "place a copy..." the combo box gray out, but reloading the settings (close and open again that window) we still have the option unchecked but the combo box is no more grayed (not sure if this is related).
Bug: Broken contact photo, vCard data starts with: PHOTO:data:image/jpeg
Status: UNCONFIRMED
Priority: --
Created: 2022-08-31 14:10:45+00:00
Resolved: 2024-05-30 08:48:44+00:00

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

Steps to reproduce:

I imported my contacts from my CalDAV server and some of my contact photos won't display images. Although many of them do, cortain ones are in a broken state. They display correctly on my other clients.


Actual results:

Contact photo is not displayed in the contact and the following logs to STDOUT:
```
console.warn: "Broken contact photo, vCard data starts with: PHOTO:data:image/jpeg"```



Expected results:

The contact photo should display like the others
Bug: mail filters stopped working on multi line attributes
Status: UNCONFIRMED
Priority: --
Created: 2022-08-31 14:19:10+00:00
Resolved: 2022-10-09 10:16:18+00:00

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

Steps to reproduce:

Having some filters for OpenJDK mailing lists from openjdk.org, the filter
"List-Id" matches -dev.openjdk.org used to work in older Thunderbird versions, however now it doesn't match anymore, while other filters for mailing lists still work.

The source of the email shows:

List-Id: Technical discussion about the development of the HotSpot virtual
 machine that's not specific to any particular component
 <hotspot-dev.openjdk.org>

so that's three lines, still belonging to the List-Id attribute.

in the past, these looked like

List-Id: Technical discussion related to the JDK Updates Project
 <jdk-updates-dev.openjdk.java.net>

so I assume Thunderbird just doesn't get the third continuation line right


Actual results:

the filter is not applied


Expected results:

the filter should be applied
Bug: Matrix on Wayland is unstable "Error reading events from display: Broken pipe"
Status: UNCONFIRMED
Priority: --
Created: 2022-08-31 14:19:56+00:00
Resolved: 2022-09-01 04:21:23+00:00

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

Steps to reproduce:

1. Launch Thunderbird on a wayland desktop environment (I am using Wayfire)
2. Add a  Matrix account
3. Either immediately or while interacting with the chat tab, the whole application will crash.

There is a secondary issue, possibly related, that verifying the device never makes the prompt appear on wayland, but I'll report that separately once it doesn't crash.

The easiest way to replicate it is to quickly switch between conversations, opening one while another is still loading seems to cause this almost every time




Actual results:

```
console.debug: "Successfully loaded OpenPGP library librnp.so version 0.16+git20220124.f06439f7.MZLA from /usr/lib/thunderbird/librnp.so"
console.debug: "Found 0 public keys and 0 secret keys (0 protected, 0 unprotected)"
console.warn: services.settings: Failed to load last_modified.json: TypeError: NetworkError when attempting to fetch resource.
console.debug: "Trying to load /usr/lib/thunderbird/libotr.so"
console.debug: "Trying to load libotr.so from system's standard library locations"
console.debug: "Trying to load libotr.so.5 from system's standard library locations"
console.debug: "Trying to load libotr.so from system's standard library locations"
console.log: (new Error("Cannot load required OTR library", "resource:///modules/OTRLib.jsm", 109))
prpl-matrix.matrix: No response or error when parsing .well-known
prpl-matrix.matrix: No .well-known JSON file found
JavaScript error: resource:///modules/imThemes.jsm, line 508: TypeError: aMsg.conversation.account.statusInfo is null
prpl-matrix.matrix: Error decrypting event (id=$vCn40FDKdvt3DFFXI5V70HR6L4ZmwX01N5ezaotqtrc): DecryptionError[msg: The sender has disabled encrypting to unverified devices., session: TdVs0AeiXYebtVoBFPWloM5CS1SENKMqztcoAVOLMXU|3QIPiyVLc/YCkL9M/IVytnG2wYdjyb5m04V89iWX8As]
console.warn: gloda: "new proc ignoring attrib: id"
Gdk-Message: 15:11:05.086: Error reading events from display: Broken pipe
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Crash Annotation GraphicsCriticalError: |[C0][GFX
```

or

```
prpl-matrix.matrix: No response or error when parsing .well-known
prpl-matrix.matrix: No .well-known JSON file found
prpl-matrix.matrix: Error decrypting event (id=$vCn40FDKdvt3DFFXI5V70HR6L4ZmwX01N5ezaotqtrc): DecryptionError[msg: The sender has disabled encrypting to unverified devices., session: TdVs0AeiXYebtVoBFPWloM5CS1SENKMqztcoAVOLMXU|3QIPiyVLc/YCkL9M/IVytnG2wYdjyb5m04V89iWX8As]
Gdk-Message: 15:18:06.809: Lost connection to Wayland compositor.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
```

What's weird here, is that my device was verified at the point I got this message.


I tried with `MOZ_ENABLE_WAYLAND=0` and it seems a lot more stable




Expected results:

It doesn't crash
Bug: Since update to 102.2.0 mail alert sounds and appears in tray when junk mail is received
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2022-08-31 15:19:53+00:00
Resolved: 2022-10-10 15:24:59+00:00

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

Steps to reproduce:

This occurs when mail is retrieved from the server.


Actual results:

The alert sounds and the tray icon appears if a message is retrieved from the server.


Expected results:

Ideally, the alert should sound and the tray icon appear in the tray when a message is received into the inbox and not into the junk folder either due to a filter or a server designation. I use POP3, but the same should occur in IMAP. 

If the notification can be triggered by a new message appearing in the inbox rather than a new message being retrieved from the server, the alert would be more helpful. Who would want to know that they just received junk mail? The problem seems to be more prevalent since I updated to 102.2. Thanks!
Bug: Intermittent comm/mail/test/browser/composition/browser_addressWidgets.js | "aa" == "za" - JS frame :: chrome://mochitests/content/browser/comm/mail/test/browser/composition/browser_addressWidgets.js :: assertKeyInput
Status: NEW
Priority: P5
Created: 2022-08-31 23:06:27+00:00
Resolved: 2024-06-03 07:13:58+00:00

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

---
```

```
Bug: TB 102 does repeatedly shows the error dialog when the temporary directory is full and won't let user to break out of it.
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2022-09-01 06:48:15+00:00
Resolved: 2022-09-14 18:58:24+00:00

TB 102.2.0 64-bit
Windows 10

When the temporary directory (in my case, it was M:\temp) became full, i.e., there was only 5MB left, TB failed to download a message (presumably with a big attachment) and showed
an error dialog that the message could not be added to message folder.

So far, so good.

However, when I made sure that the file system that holds the temporary directory has enough room by deleting some unwanted files and purge them by emptying the trash box, 
TB still shows the modal dialog repeatedly and would not let me break out of this loop.

I could not even terminate TB using the [x] button in the upper right corner of TB window.

Eventually I had to kill TB from task manager because I dould not break out of this error dialog.

Having to kill TB, a mail client, while it is in an error state during 200+ mail message download is not a comfortable experience. I am not even sure if I lost a message or not (hopefully not). :-(


TB should allow the user to continue the operation (downloading) after the temporary directory has enough space to continue.
(At least, it should allow the user to shut it down in an orderly fashion.)

I think in the older TB, we certainly could get out of the modal error dialogue and continue the message fetching.

Well, now I notice TB seems to try to update itself to 102.2.1. But I am not sure if it is fixed then.

By the way, the error message shown in the attachment should list the directory name where the error occurred. 

In my case, I believe it *IS* the temporary directory that became full since the mail folders are on file systems with enough room (10GB+ left) and after the file system where the temporary directory resides  was cleared to remove unwanted files, and TB got killed and restarted, the download continued now with 60+ messages successfully. 
So presumably 140 or so messages were downloaded before TB complained and entered the never-ending error dialog loop.
Bug: TB doesn't remember the "Open with" app for .log attachments [Mac]
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2022-09-01 06:51:53+00:00
Resolved: 2023-07-11 19:07:07+00:00

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

Steps to reproduce:

By way of example:

-Receive a message with a __.log__ attachment
-Click the attachment at the bottom of the message
-The _"What should TB do?.."_ window opens
-Select the desired app to open the file (_Console_ in my case)
-However, this choice won't be remembered: next time you click a .log attachment, you'll be asked to select the app again.

This problem only started in recent versions. I receive .log files fairly often from customers and could automatically open them for years.
Bug: Shutdown hang in nsMsgAccountManager::CleanupOnExit, if IMAP account is configured to cleanup/expunge on exit
Status: RESOLVED
Priority: P2
Resolution: FIXED
Created: 2022-09-01 08:58:31+00:00
Resolved: 2023-08-13 13:50:16+00:00

Both Thunderbird 105.0b1 and 105.0b2 have delayed shutdown in Arch Linux compared to earlier versions.  When started from the console, there is a console message when Thunderbird shuts down:

[Parent 3138, Main Thread] WARNING: ContentParent: id=7f94cd9ea400 - BlockShutdown: NotifyImpendingShutdown.: file /builds/worker/checkouts/gecko/dom/ipc/ContentParent.cpp:3626


This looks connected to the similar bug referencing recent Firefox builds at bug 1783512
Bug: Update reminder keeps repeating after installing the latest version
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2022-09-01 09:31:34+00:00
Resolved: 2023-04-11 12:22:42+00:00

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

Steps to reproduce:

Recent versions installed like current 102.2.0 


Actual results:

Recent versions like current 102.2.0 64-bits keep warning about another new version.
Help reports it is up-to-date, see attachement.
Running on Win11 Home 21h2.


Expected results:

Stop the warnings when last one is installed.
Bug: Thunderbird causes NVDA to hang frequently
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2022-09-01 14:27:12+00:00
Resolved: 2023-09-22 07:12:03+00:00

Steps to reproduce:

Open thunderbird and read email for a few minutes.  This is with a gmail account.


Actual results:

Everything works fine, but then NVDA hangs for tens of seconds every few minutes. (I haven't timed it).  I think this may be when thunderbird is checking for new mail but could be wrong. It was better in previous versions, but it still hung for a few seconds occasionally.