av9ash/GitBugs huggingface dataset:
Bug: updateTag should return error if tag does not exist
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2024-02-08 22:05:04+00:00
Resolved: 2024-02-13 07:00:49+00:00

updateTag for unknown tag:
actually, I did not test whether it throws when the tag does not exist, but the documentation does not give any hint, whereas it does for createTag
Bug: forwarding broken: email text and attachments are lost (replaced by "Attached Message Part")
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2024-02-08 22:24:54+00:00
Resolved: 2024-06-12 20:00:20+00:00

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

Steps to reproduce:

received email similar to attached below
try to forward


Actual results:

on forward
parsed viewed text (any view-mode) are gone
and attachments are replaced with single something not near to any of source attachments


Expected results:

1. Forward message body must shown normally,
2. all attachments must be also readable
Bug: Windows 11 Taskbar Displays Twice as Many Messages as Unread
Status: UNCONFIRMED
Priority: --
Created: 2024-02-09 02:20:44+00:00
Resolved: 2024-08-01 17:32:51+00:00

Steps to reproduce:

Started Thunderbird in Windows 11 (23H2). Waited until some messages had been retrieved by Thunderbird. Looked the Windows 11 Taskbar for Thunderbird.


Actual results:

The taskbar constistently shows 2n "messages" (the little red-circle number), whereas the total number of messages in the Thunderbird Inbox that have NOT been read is n. (Cross-checked against prefiltered messages to other folders and messages filtered to Junk; the Taskbar number is always 2n.)


Expected results:

The taskbar number-of-messages/notifications figure should be n, not 2n.

I am completely unsure whether this is a Thunderbird glitch, a Windows glitch, or somewhere in-between.

One additional note to assist troubleshooting: This installation is a multiple-accounts, POP access, all incoming mail to the single Local Folders inbox, with occasional filtering of certain messages directly to a subfolder (but the latter does not affect this behavior).

It's at worst a roll-one's-eyes annoyance, but may reflect other integration issues.

This is NOT identical to old bug 1721063, but may have some deep-in-the-guts relationship.
Bug: Intermittent comm/mail/base/test/browser/browser_mailContext_messageContent.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: WORKSFORME
Created: 2024-02-09 16:04:56+00:00
Resolved: 2024-08-30 00:10:53+00:00

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

---
```

```
Bug: Attachment detection: keywords are not correctly whitespace delimited
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2024-02-09 16:23:25+00:00
Resolved: 2024-02-14 20:00:04+00:00

Cloned from bug 1874112 which included missing plurals in the French translation of `mail.compose.attachment_reminder_keywords`.

The examples below are from the original bug. The same occurs in en_US on Thunderbird Daily 124.0a1.

Before sending an email, Thunderbird detects callback keywords for attachments. These keywords are not surrounded by spaces, which leads to poor detections.


Actual results:

The keywords are not surrounded by spaces, which leads to poor detections.
Example "jointe" detects "adjointe"

Expected results:

"adjointe" should not have been detected
Bug: Additional permissions prompt not listing the optional permissions being requested
Status: NEW
Priority: --
Created: 2024-02-10 04:12:47+00:00
Resolved: 2024-02-13 18:13:28+00:00

Steps to reproduce:

My MailExtension has an optional permission, "clipboardRead", that is listed in the `optional_permissions` block in the extension manifest. The call to `navigator.clipboard.readText()` in the extension is wrapped in a `try...catch` block, and in the `catch` block, I make a call to `messenger.permissions.request()` to request the user to grant the optional permission.

But the permissions prompt that appears in Thunderbird doesn't list the optional permission being requested; instead, it lists the same mandatory permissions that is requested when the extension was installed.

STEPS TO REPRODUCE:
1. Install the Snippets extension. Link to GitHub repo: https://github.com/aecreations/snippets - latest release is version 2.0
2. Copy some text to the clipboard. For example, locate an old email message in Thunderbird and copy its content.
3. In the main Thunderbird window, click New Message to open a new message compose window
4. Click the Snippets button on the composer toolbar to open the Snippets window
5. In the Snippets window, under "Create new snippet", click the "From Clipboard" button.
6. Click OK to the message box requesting that the additional permission to get data from the clipboard should be granted
7. A puzzle piece icon should appear in the main Thunderbird window. Click on the icon to display the additional permissions prompt


Actual results:

The additional permissions prompt incorrectly requests the mandatory permissions that are defined in the `permissions` block in the extension manifest:
- Read and modify your email messages as you compose and send them
- Download files and read and modify the browser's download history



Expected results:

The additional permissions prompt should request the optional permission that is defined in the `optional_permissions` block in the extension manifest:
- Get data from the clipboard
Bug: quick filter is slow
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2024-02-10 04:37:25+00:00
Resolved: 2024-04-09 19:04:33+00:00

Steps to reproduce:

the quick filter performance became worse (I have 140K entries) since your last fundamental design/UI change ("supernova"). the problem is that the list also does not automatically scroll to the end, appears in an intermediate phase of its generation and is already click-sensitive.

as a consequence with prob 85,234% you pick a wrong mail of the filter list.

version: 115.7.0 (32-Bit)



Expected results:

the email list should not be reactive until the quick search has completed, and the list should be sorted and automatically scrolled to the end. so that the list directly shows the last entry.
Bug: delete RSS feed fails
Status: NEW
Priority: --
Created: 2024-02-10 06:27:06+00:00
Resolved: 2024-05-08 14:20:05+00:00

Attempting to delete "drupalorg" feed

01:24:01.938 Uncaught NS_ERROR_FILE_ACCESS_DENIED: Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIMsgFolder.deleteSelf]
    deleteFolder chrome://messenger/content/about3Pane.js:3215
    <anonymous> chrome://messenger/content/about3Pane.js:6277
    doCommand chrome://messenger/content/mailCommon.js:738
    onCommand chrome://messenger/content/about3Pane.js:593
    handleEvent chrome://messenger/content/about3Pane.js:290
about3Pane.js:3215
    deleteFolder chrome://messenger/content/about3Pane.js:3215
    <anonymous> chrome://messenger/content/about3Pane.js:6277
    doCommand chrome://messenger/content/mailCommon.js:738
    onCommand chrome://messenger/content/about3Pane.js:593
    handleEvent chrome://messenger/content/about3Pane.js:290
Bug: TB 64bit installer fails to install/register 32bit MAPI
Status: ASSIGNED
Priority: P2
Created: 2024-02-10 15:36:35+00:00
Resolved: 2024-12-07 05:05:36+00:00

Steps to reproduce:

Using WIndows 10 22H2 - 64bit OS - install TB 64bit.
Attempt to send email from QuickBooks 2021 (32bit application) which uses 32bit MAPI, which works when 32bit TB is installed.



Actual results:

Quickbooks 32bit doesn't find any installed MAPI provider.


Expected results:

If I copy the DLL from 32bit install on another machine, and set MAPI registry entries manually, QuickBooks can send emails using 32bit MAPI
The installer should do this automatically.
Bug: Reply button unpredictable (and New Message button exceedingly complicated)
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2024-02-10 21:27:10+00:00
Resolved: 2024-05-12 16:32:36+00:00

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

Steps to reproduce:

(1) press the "Reply" button above the displayed message 
(2) hold the shift button when pressing the "Reply" button above the displayed message 

Alternatively, substitute the "+ New Message" button for the "Reply" button in above description


Actual results:

depending on whether the email being replied to is a TEXT-only email or it has an HTML body, with or without holding down the shift button bring up a different email editor (plain text or rich/HTML).  Someone who sets view message body as Plain Text (which I do for accessibility reasons, for it is way more accessible to read a sequence of text without being subject to sender's choices of font/color/other formattings) the outcome of pressing the button, with or without holding down the shift button, is unpredictable.


Expected results:

(A) be consistent and predictable
(b) let me choose if I want the default reply editor to open in plain text mode or in rich/HTML mode.

Ideally, restore the setting that once existed in Thunderbird to reply as plain text or rich/HTML, and decide which editor to call up when hitting "Reply" or "+ New Message" based on that setting, with the shift modifier for the alternative.

In any case, do not pull the rug under the user's feet by changing the button behavior based on variables that are not controlled by the user.
Bug: Text and date input fields in search criteria are not grayed out when "Match all messages" is selected.
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2024-02-10 22:42:33+00:00
Resolved: 2024-03-13 23:25:07+00:00

This affects both the "Edit Saved Search Properties" and "Filter Rules" dialogs: Selecting "Match all messages" doesn't completely gray out all search terms; any text or date input field seems to remain enabled, which can be quite irritating in my experience.
Bug: Setting default email client in Windows 11 does not work
Status: UNCONFIRMED
Priority: --
Created: 2024-02-11 09:10:16+00:00
Resolved: 2024-02-12 11:34:40+00:00

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

Steps to reproduce:

In Settings | General | System Integration | Always check ... selected.
Check now shows:  Email and Feeds ticked and pale (unchangeable)
Always perform ... is ticked.  Set as Default anyway.
Click a mailto: link on a webpage in Firefox (120.0.1).



Actual results:

"Add an account" window opens (attached).
Windows Settings | Apps | Default apps | Email ... ["URL:outlookaccounts"]
has nothing that can be changed. "Email and Calendar Accounts" is fixed.
(Same behaviour in Chrome.)
(It works in Acrobat Reader using the mail link button.)



Expected results:

Open new message in TB.

(Work around: right click | copy email address.)

Win 11 22H2 (22621.3007) seems to have hijacked whatever setting TB has.  Is there a Registry fix?  Can TB check and repair that?
Bug: Automatic compacting of folders changes message view to threaded
Status: VERIFIED
Priority: --
Resolution: DUPLICATE
Created: 2024-02-11 11:50:16+00:00
Resolved: 2025-01-08 20:10:10+00:00

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

Steps to reproduce:

I have three pop3 accounts with each their own inbox etc.
Thunderbird is set to display all messages unthreaded, but when it from time to time automatically compacts my folders, the message view is changed from Unthreaded to Threaded, and has to be changed back manually. 
This behaviour began with Thunderbird 115. I am currently using Thunderbird 115.7.0


Actual results:

Upon automatical compacting of folders, the message view is changed from Unthreaded to Threaded.


Expected results:

The message view should not change, but remain set as it was before the automatic compacting of folders.
Bug: Email addresses with quoted/escaped whitespace or other special characters are mangled
Status: NEW
Priority: --
Created: 2024-02-11 17:18:04+00:00
Resolved: 2024-02-13 18:41:12+00:00

Thunderbird mangles some obscure e-mail address formats containing whitespace characters. From [the example addresses on Wikipedia](https://en.wikipedia.org/wiki/Email_address#Examples), these two are mangled:
* `" "@example.org` (space between the quotes)
* `"very.(),:;<>[]\".VERY.\"very@\\ \"very\".unusual"@strange.example.com` (include non-letters character AND multiple at sign, the first one being double quoted)

While these e-mail address formats are obviously obscure, they are perfectly valid according to the relevant RFCs and should work in Thunderbird.

**Steps to Reproduce**:
1. Click [this `mailto:` URI](mailto:simple%40example.com,very.common%40example.com,x%40example.com,long.email-address-with-hyphens%40and.subdomains.example.com,user.name%2Btag%2Bsorting%40example.com,user.name%40example.com,name%2Fsurname%40example.com,example%40s.example,%22%20%22%40example.org,%22john..doe%22%40example.org,mailhost!username%40example.org,%22very.()%2C%3A%3B%3C%3E%5B%5D%5C%22.VERY.%5C%22very%40%5C%5C%20%5C%22very%5C%22.unusual%22%40strange.example.com,user%25example.com%40example.org,user%40example.com,user-%40example.org,postmaster%40%5B123.123.123.123%5D,postmaster%40%5BIPv6%3A2001%3A0db8%3A85a3%3A0000%3A0000%3A8a2e%3A0370%3A7334%5D,_test%40%5BIPv6%3A2001%3A0db8%3A85a3%3A0000%3A0000%3A8a2e%3A0370%3A7334%5D,I%E2%9D%A4%EF%B8%8FCHOCOLATE%F0%9F%8D%AB%40example.com) and open it in Thunderbird.

Alternatively, run this equivalent WebExtention API call in Thunderbird:
```js
browser.compose.beginNew(null, { to: ["simple@example.com","very.common@example.com","x@example.com","long.email-address-with-hyphens@and.subdomains.example.com","user.name+tag+sorting@example.com","user.name@example.com","name/surname@example.com","example@s.example","\" \"@example.org","\"john..doe\"@example.org","mailhost!username@example.org","\"very.(),:;<>[]\\\".VERY.\\\"very@\\\\ \\\"very\\\".unusual\"@strange.example.com","user%example.com@example.org","user@example.com","user-@example.org","postmaster@[123.123.123.123]","postmaster@[IPv6:2001:0db8:85a3:0000:0000:8a2e:0370:7334]","_test@[IPv6:2001:0db8:85a3:0000:0000:8a2e:0370:7334]","I❤️CHOCOLATE🍫@example.com"] })
```

**Expected Results**:
All 19 example addresses open in the Thunderbird Compose window as listed in the `mailto:` URI.

**Actual Results**:
17 of the example addresses open as expected in the Thunderbird Compose window, but 2 are mangled. See attached screenshot.

I tested in both Thunderbird 115.7 and the latest Thunderbird Daily 124.
Bug: Some menu items don't function until you put the focus on the message entry field (new message window)
Status: UNCONFIRMED
Priority: --
Created: 2024-02-12 01:26:33+00:00
Resolved: 2024-02-12 02:36:52+00:00

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




Expected results:

Ideally the menus should open even if focus is not hovered over the input field, but since the menus are not grayed out, it's not obvious.

It's also not about the theme, I've checked other themes besides this one.
Bug: After Thunderbird 115, the minimum size of "Filter Rules" dialog is too large and the buttons extend off-screen the screen on low resolution
Status: NEW
Priority: --
Created: 2024-02-12 05:35:26+00:00
Resolved: 2024-11-05 11:16:59+00:00

#### Attention:
This bug is not same as Bug 1365521. The bug, reported 7 years ago, refers to "Message Filters" dialog.
("Enabled" column exists in "Message Filters" dialog)
This bug reports for “Filter Rules” dialog.
This bug does not depends on Bug 298632.

#### Environment:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:115.0) Gecko/20100101 Thunderbird/115.7.0
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/20100101 Firefox/124.0 Thunderbird/124.0a1

#### Steps to reproduce:

1. Set the display resolution to "800 x 600".
2. Start Thunderbird.
3. Select menubar > Tools > Message Filters.
4. Select "New" button.

#### Actual results:

"Filter Rules" dialog appears larger than the display area.
Then, the "OK", "Cancel", "+", "-" buttons are off-screen and can't be clicked.

#### Expected result:

The dialog should be approximately the same width and height as Thunderbird 102.
Please see the attached image. 
The left side of the image is Ver.102, and the right side is Ver.115 of the "Filter Rule" dialog. The red line indicates the range shown on the 800x600 display.

#### Additional Information:

After examining the regression range, it is clear that this bug is a regression of Bug 1826700.
https://hg.mozilla.org/comm-central/rev/6bcb80dfc6f4

The size of the block elements and the window is set in the file below, but the values do not seem to be appropriate.
* /mail/themes/shared/mail/filterEditor.css
* /mailnews/search/content/FilterEditor.xhtml

So I applied the userChrome.css below and got good results.
```
@-moz-document url-prefix("chrome://messenger/content/FilterEditor.xhtml") {
  #applyFiltersSettings {
    min-height: 128px !important;
    height: 128px !important;
  }

  #searchTermListBox {
    min-height: 120px !important;
    height: 120px !important;
  }

  #filterActionsBox {
    min-height: 100px !important;
    height: 100px !important;
  }

  #FilterEditor {
    min-width: 560px !important;
    min-height: 520px !important;
  }
}
```
Bug: Window resize changes message list width (Linux) instead of message width
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2024-02-12 08:04:45+00:00
Resolved: 2024-02-18 10:29:54+00:00

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

Steps to reproduce:

1. On a Linux machine, open Thunderbird.
2. Resize the Thunderbird window.




Actual results:

3. The message list column (vertical view) resizes with the window resize


Expected results:

The message column should resize.
Bug: Make EnigmailMimeDecrypt.displayStatus pass headerSink.modifyMessageHeaders parameter uri of correct type.
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2024-02-12 09:08:47+00:00
Resolved: 2024-02-14 07:07:54+00:00

After https://hg.mozilla.org/comm-central/rev/cfdd1d59543d headerSink.modifyMessageHeaders passes an nsIURI to an idl function requiring a string. The uri gets converted to a string and after that it's of course useless.
Bug: Profile has grown - compact grows it
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2024-02-12 16:37:20+00:00
Resolved: 2024-05-28 15:46:48+00:00

On Daily, version 124.0a1 (2024-02-11) Thunderbird tried to compact my "All Mail" folder for a Google account and surfaced an error that it couldn't because there wasn't enough space on the disk. Looking into it I found that that profile was taking up 274 GB of space (when I first saw it, just an hour ago, it was taking up 264GB of space). The profile seems to grow immensely with each action taken, the culprit file living in ImapMail/imap.gmail.com/[Gmail].sbd/All Mail - which alone is 102GB. There are other large files in there such as nstmp-5 (17GB) - but nothing as large as that All Mail file.

There is a lot of mail in this account, but I am very skeptical that it is this much, and compacting seems to increase the disk space taken up. One compact action grew that profile 5GB.

This is pretty bad, rendering both Thunderbird and my computer quickly unusable.
Bug: failed password in oauth2 dialog does not reprompt for password
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2024-02-13 03:57:14+00:00
Resolved: 2024-06-14 05:10:08+00:00

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

Steps to reproduce:

I need to update the saved password to a site.
I try to download mail from it.
A pain appears, stating that it can't log onto the remote server.
I click on the "Enter new password".


Actual results:

Nothing happens. The pane goes away.


Expected results:

A pane is supposed to pop up, allowing me to enter a new password.
Bug: Signature image src filenames including & changed to &amp;
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2024-02-13 06:18:30+00:00
Resolved: 2024-05-12 16:32:45+00:00

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

Steps to reproduce:

My HTML signature file contains & to link to google hosted images, this used to work until latest update (not sure which update)
https://drive.google.com/uc?export=view&id=


Actual results:

https://drive.google.com/uc?export=view&amp;id=


Expected results:

https://drive.google.com/uc?export=view&id=
Bug: When "IMAP Server Directory" is set, "Archive"-Button does not always work
Status: RESOLVED
Priority: --
Resolution: WONTFIX
Created: 2024-02-13 07:08:30+00:00
Resolved: 2024-03-28 20:30:16+00:00

Steps to reproduce:

- Use an IMAP mail server with the "Archive" mailbox a subfolder of "INBOX"
- Set Edit -> Account Settings -> Server Settings -> Advanced -> IMAP Server Directory to "INBOX"
- Restart TB
- Mark a message and hit "Archive" button, repeat


Actual results:

- Sometimes messages correctly get moved to the Archive folder
- Most times, TB goes into a state where it tries to move the mail but can't and goes into a loop of some kind visible in the status line trying


Expected results:

- All messages should be moved to the Archive folder consistently
Bug: Emptying trash on the unified folder does not reset unread counter
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2024-02-13 17:03:45+00:00
Resolved: 2024-05-17 13:39:04+00:00

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

Steps to reproduce:

When I am in Thunderbird email unified folder inbox, and I have an unread message and I click the "Delete" button in the custom toolbar, the message moves to the Unified Folder Trash folder and the counter changes to 1.    Then you click File, Empty Trash, and the counter remains at 1.


Actual results:

After emptying the trash whether you select File, Empty Trash or right click the unified Trash folder and select Empty Trash - it DOES NOT reset the unread message count in the trash folder from 1 to blank (0).


Expected results:

Upon selecting Empty Trash the Thunderbird Email client should empty the trash and reset the unread message count to 0 or blank.
Bug: messages context menus, say, for move to folder, does not appear under strace/valgrind/gdb. [Parent 442775, Main Thread] WARNING: Refusing to show duplicate popup:  file: .../mozilla/layout/xul/nsXULPopupManager.cpp:1921
Status: NEW
Priority: --
Created: 2024-02-13 19:04:55+00:00
Resolved: 2025-01-28 13:23:54+00:00

Compiled C-C locally using gcc-13 under linux.
I created a full DEBUG version of TB.
Trying to check buffered write of messages.

After selecting a bunch of messages in a folder, I tried to copy or move them to another folder.
Hit right button.
Usually, the context menu for the message operation appears.

But after a couple of times, it no longer appears. No context menu at all.

The console where the TB was started says:
```
[Parent 442775, Main Thread] WARNING: Refusing to show duplicate popup: file /NEW-SSD/NREF-COMM-CENTRAL/mozilla/layout/xul/nsXULPopupManager.cpp:1921

```

It is as if there is invisible/unusable popup being shown?

I tried to locate them but no avail. There is no such popup being shown. After all, I pushed the visible one to move messages once or twice, so they have disappeared. 
Something is wrong...

I am going to recompile C-C TB after fetching today's repo.

The behavior I described is from yesterday's repo.