av9ash/GitBugs huggingface dataset:
Bug: High CPU and Slow Displays (Hours) with Unified Folders and Saved Searches (250k messages)
Status: RESOLVED
Priority: P1
Resolution: INCOMPLETE
Created: 2024-09-08 18:59:16+00:00
Resolved: 2025-02-16 23:12:25+00:00

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

Steps to reproduce:

I select the Unified Inbox or a Saved Search;

There are three issues with Unified Folders and Saved Searches that are not 100% reproducible .
1. Often the message count is incorrect.
2. When I select the Unified Inbox folder it often takes a very long time to display the messages (sometimes 2-3 hours).
3. When Thunderbird tries to collect and displays the messages, my CPU utilization is very high for up to several hours. During this time, I cannot use Thunderbird and my PC is unresponsive.

Note that I am using IMAP, I have synced the bodies and I am not searching online.



Actual results:

Here is is an example where I previously had selected another folder and then selected the existing (displayed) Unified Inbox. After Thunderbird spent about 40 min collecting the messages, it showed:
https://i.gyazo.com/5264cd8f5224e854f1e3cc1a96a13c66.png
Account 1 has 775 messages and account 2 has 259,242 messages. Total should be 260,017 messages, but TB shows 260,022 messages.

Here is another example after I restarted TB and selected the Unified Inbox:
https://i.gyazo.com/f5d1415bfc452526df682ccb590c1711.png
In this case, the Unified Inbox message count is way off but eventually, after about 3 hrs, showed the correct count. During these 3 hours, the CPU utilization was very high, I was not able to use TB, and I barely could use my PC.

I have the same issues of high CPU when using Saved Searches, and I need to wait a very long time before being able to access the messages. I understand that part of the cause may be the high message count in one of my folders. 


Expected results:

Does TB sometimes need to recreate the Unified Inbox by searching all messages? 

I would have expected that TB would write the Inbox search results to a file on my hard disk and then pull it up into RAM, within a few seconds, when needed?  

My results are not 100% reproducible and I wonder if there may be some bug in writing the Inbox result file to disk and/or recalling it? 

NOTE that I do not have these issues with Outlook (2010) where I combine many local POP3 folders in Saved Searches.
Bug: A server error on a mailbox should ask the user before changing filters.
Status: UNCONFIRMED
Priority: --
Created: 2024-09-09 03:25:39+00:00
Resolved: 2024-09-10 19:19:18+00:00

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

Steps to reproduce:

This is a design error that is destructive of the user's configuration. I consider it a bug; reasonable minds might differ and consider it an enhancement.

Thunderbird displayed an error message that one of my mailboxes did not exist on its server, so Thunderbird would edit the filters containing that mailbox. 


Actual results:

The first time this happened to me, Thunderbird removed all the mailboxes in the account from all filters. The problem was a transient glitch and did not recur. I had to go back and fix all the filters.


Expected results:

Thunderbird should have asked the user whether to trash the filters, or to take the account offline until the issue was resolved.

Fortunately I knew what was going to happen, so was able to kill Thunderbird before it could edit the filters. On restarting it, the mailbox was there and normal operation resumed.
Bug: Email text would be lost while changing "from" adress
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2024-09-09 07:54:21+00:00
Resolved: 2024-09-11 08:18:19+00:00

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

Steps to reproduce:

Writing new Message and was using the wrong "from" adress before i submit


Actual results:

After changing the adress the complete written text in the mail is empty


Expected results:

Text wont be changed on changing any parameters
Bug: [Ubuntu 24.04.1]Thunderbird floods syslog with the subject on every message that is read
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2024-09-09 09:07:09+00:00
Resolved: 2024-09-09 11:07:17+00:00

Steps to reproduce:

Read the messages and syslog.


Actual results:

Thunderbird floods syslog with the subject on every message that is read. Here is an example:

moshe@moshe:~$ console.log: "charsetPhaseParams.messageSubject = \u05D0\u05EA\u05D2\u05E8 \u05DE\u05DB\u05DC\u05DC\u05D4 \u05DC\u05D4\u05E0\u05D3\u05E1\u05D4 \u05D5\u05D8\u05DB\u05E0\u05D5\u05DC\u05D5\u05D2\u05D9\u05D4"

console.log: "initial checks for string \u05D0\u05EA\u05D2\u05E8 \u05DE\u05DB\u05DC\u05DC\u05D4 \u05DC\u05D4\u05E0\u05D3\u05E1\u05D4 \u05D5\u05D8\u05DB\u05E0\u05D5\u05DC\u05D5\u05D2\u05D9\u05D4"

console.log: "subject \u05D0\u05EA\u05D2\u05E8 \u05DE\u05DB\u05DC\u05DC\u05D4 \u05DC\u05D4\u05E0\u05D3\u05E1\u05D4 \u05D5\u05D8\u05DB\u05E0\u05D5\u05DC\u05D5\u05D2\u05D9\u05D4 => \u05D0\u05EA\u05D2\u05E8 \u05DE\u05DB\u05DC\u05DC\u05D4 \u05DC\u05D4\u05E0\u05D3\u05E1\u05D4 \u05D5\u05D8\u05DB\u05E0\u05D5\u05DC\u05D5\u05D2\u05D9\u05D4"

It looks like this is the code in bidimailui-messenger.js:127:11 , bidimailui-common.js:157:13 , and bidimailui-common.js:190:11.





Expected results:

I don't see a reason why these lines will be logged in syslog.
Bug: some mails are not decoded (not displayed correctly)
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2024-09-09 09:34:49+00:00
Resolved: 2024-10-25 18:50:28+00:00

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

Steps to reproduce:

Thunderbird cannot see some mail of Office365 Account and they mails seems encrypted and not decoded
Bug: can lo longer change default browser
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2024-09-09 23:19:11+00:00
Resolved: 2024-09-10 18:06:34+00:00

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

Steps to reproduce:

Searched web for how to change default browser in tb
They all say the same thing and are all obsolete.


Actual results:

the "default browser" setting has been removed. 
Setting all the url handle external options to true does NOT trigger a popup to choose default browser.


Expected results:

I should not be forced to see all links in chrome. It is neither my preferred browser nor the windows system default browser (which is FF)
Bug: exchanged the mail with the content of another mail
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2024-09-10 04:20:01+00:00
Resolved: 2024-09-10 12:51:43+00:00

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

Steps to reproduce:

i receive emails


Actual results:

sometimes i see on the left the email object and on the right the content of another previous mail.


Expected results:

i should see the right content of the email
Bug: Change the color of the check mark under the cursor in the "Items for Offline Use" window
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2024-09-10 08:28:09+00:00
Resolved: 2024-09-26 08:04:12+00:00

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

Steps to reproduce:

1. Installed the "Dark (A theme with a dark colour scheme)" colour theme in Mozilla Thunderbird 128.2.0esr (64-bit).
2. Go to the "Items for Offline Use (Choose mail folders and newsgroups for offline use)" window.
3. Selected any line and changed the state of the checkbox.


Actual results:

The appearance of the place where the checkbox is located has hardly changed. The checkmark is so indistinguishable that it seems as if it is not there even when it is checked.


Expected results:

The check mark under the cursor should be the same color as the color of the checkbox frame.
Bug: Text "------=_NextPart_000_000A_01D504EF.78E9F0F0--" instead of body of some messages
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2024-09-10 09:26:08+00:00
Resolved: 2024-10-25 18:49:44+00:00

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

Steps to reproduce:

I don't know what exactly caused this failure. Accordingly, I can't list the sequence of actions to reproduce it.


Actual results:

Some messages (hundreds) are displayed normally in the message list, but when viewing them, the sender and subject are not displayed, and the body of the message only displays the text "------=_NextPart_000_000A_01D504EF.78E9F0F0--" and nothing more. All broken messages have the same text in the body.

I tried to close Thunderbird, delete the global-messages-db.sqlite file, restart the application, and wait for the message re-indexing to finish. But it did not help. Disabling all extensions (Darko, Extract 'Em! and Remove Duplicate Messages) did not change the situation.


Expected results:

I wish there was a way to fix errors like this. For example, by forcing re-downloading of letters from specified mailbox folders. Or checking for differences between the local version and the version on the server, overwriting the local version in case of differences. Now I see only one way - removing the mailbox from the application, reconnecting it, and re-downloading several gigabytes of letters from 17 years.

Microsoft Windows 10.0.19045.4842
Bug: saving message locally fails without notice because of non allowed characters <> on exfat partition
Status: UNCONFIRMED
Priority: --
Created: 2024-09-10 20:02:27+00:00
Resolved: 2024-09-11 05:38:32+00:00

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

Steps to reproduce:

I'm trying to save a message on an exfat partition. 

Open a message, select "save as" (ctrl +s). A dialog appears, and the file name is premade from subject, name, email address and date, like that:

Subject - "Surname Name" <user@acme.com> - 2024-08-22 1350.eml

I clic on save, the dialog close and doesn't return any error, as if the email was correctly saved locally.


Actual results:

< and > characters are not allowed on this exfat filesystem. Because of the email address surrounded by <> , it will failed to save, silently.

After "saving" the file, we can't find it, and no error was reported.



Expected results:

1/ the template for the save file name should rather be:
Subject - "Surname Name" user@acme.com - 2024-08-22 1350.eml

2/ in the case the file can't be saved, thunderbird should report a feedback to the user, telling about the error, prompting to rename the file

3/ for most problematics characters (<> ? , : ! etc), TB could display a warning to the user, suggesting to change the problematic characters

I've seen the option value mail.save_msg_filename_underscores_for_space it could have something similar to automatically rename such characters with underscore.
Bug: [snap] The message could not be sent (apparmor="DENIED" operation="mkdir" )
Status: RESOLVED
Priority: --
Resolution: MOVED
Created: 2024-09-10 21:02:32+00:00
Resolved: 2025-01-15 07:05:58+00:00

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

Steps to reproduce:

I have just upgraded to Ubuntu 24.04.1 and installed the latest Thunderbird snap. 
A lot of problems with the transition from my old profiles and now have restarted from scratch. I can read messages from all three mail addresses that I use but not send anything or save drafts. 

I create a new message with a valid receiver and press the Send button


Actual results:

When the Send button is pressed an error indication window pops up which says 
"Det gick inte att skicka meddelandet." which is Swedish for "It was impossible to send the message."  In the journalctl tree lines are added: 
sep 10 21:57:47 tintin2 plasmashell[7510]: console.error: mailnews.send: ({})
sep 10 21:57:47 tintin2 kernel: audit: type=1400 audit(1725998267.427:515): apparmor="DENIED" operation="mkdir" class="file" profile="snap.thunderbird.thunderbird" name=2F6D6E742F4C696E75785F646174612F48C3A46D74>
sep 10 21:57:47 tintin2 plasmashell[7510]: console.error: mailnews.send: "Sending failed; , exitCode=2147500037, originalMsgURI="



Expected results:

apparmor should have accepted the operation (mkdir?) and allowed the message to be sent. 

I have installed both Sylpheed and Evolution and can use them to receive and send messages. But I have been using Thunderbird for many years would definitely want to continue with that.
Bug: Cards view reads all of the tag preferences once for every card
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2024-09-10 23:29:00+00:00
Resolved: 2024-10-15 16:37:35+00:00

`MailServices.tags.getAllTags()` becomes a very expensive operation when it gets called many times. There must be a better way than to [call it every time we create a card](https://searchfox.org/comm-central/rev/0fdd8605321759309fcdcc399b5ad36f1edd555a/mail/base/content/widgets/treeview/thread-card.mjs#117).
Bug: In the folder pane, account unread message count does not update after messages are read
Status: UNCONFIRMED
Priority: --
Created: 2024-09-11 06:33:30+00:00
Resolved: 2024-09-13 19:21:06+00:00

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

Steps to reproduce:

In the folder pane, click on the ellipses and select "Folder Modes".
Click on "Unread Folders".
Wait for a message to arrive and the account the message is going to will be shown under "Unread Folders" in the message pane.
Expand the account that the message was addressed to and read the message.
When the Thunderbird considers the message "Read" (dependent on chosen settings), the account name header still shows a count even though the message has been read. This occurs across all folder modes that have been chosen to be displayed.
Collapsing expanded folder will cause the unread message count to update.



Actual results:

In the folder pane, account unread message count does not update after messages are read.


Expected results:

Unread message count should have decreased by the number of messages read (IMO).
Bug: No longer possible to override "prefer display name" on a per-address basis
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2024-09-11 10:12:53+00:00
Resolved: 2024-09-17 17:59:54+00:00

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

Steps to reproduce:

Upgraded from thunderbird 115 to thunderbird 128.


Actual results:

My mailing list folders stopped showing who sent the message where the mailing list had to rewrite the sender address because the "prefer display name" setting in the address book that I was using to exclude mailling lists addresses from showing the display name has been removed.


Expected results:

The ability to override "prefer display name" for particular senders should have been preserved or some suitable equivalent functionality should have been provided.
Bug: Permanent comm/mail/components/extensions/test/browser/browser_ext_tabs_create_update_with_real_application_chooser.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2024-09-11 15:15:47+00:00
Resolved: 2024-11-06 00:14:55+00:00

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

---
```

```
Bug: MailTo: in Windows 10
Status: UNCONFIRMED
Priority: --
Created: 2024-09-11 16:46:24+00:00
Resolved: 2024-09-27 00:55:43+00:00

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

Steps to reproduce:

TB 128.1.1 64bit, Windows 10 22H2
In applications that have a "Send To eMail", or right-clicking a file and selecting "Send to eMail"


Actual results:

I get either- "Thunderbird is already running, but is not responding. The old Thunderbird process must be closed to open a new window."
or
"No email program or default profile can be found..."


Expected results:

Should have opened a Composition window with the file attached.
These worked perfectly until TB ver 115(?) approx.
Bug: Previously maximised window is smaller when restored from Windows system tray
Status: UNCONFIRMED
Priority: --
Created: 2024-09-12 03:05:23+00:00
Resolved: 2024-09-12 03:08:23+00:00

Steps to reproduce:

The issue is intermittent, although happening daily. I found no sure way to reproduce it with an algorithm of steps. I can only describe what happens, see below.


Actual results:

I use Windows 10 Professional. The issue is about the Windows system tray.

I always keep the TB window maximised. Whenever I do not need it, I minimise it into the system tray by clicking the "-" symbol on the top right corner of the window. Usually, when restoring the window again from the system tray by mouse click on the tray icon, the window is again correctly displayed in maximised state. But it happens several times per day, that restoring the window results in a non-maximised window, forcing me to click the rectangular maximise symbole on the top right window corner to again get the window back to its maximised state.

I am unsure if it is related to the issue or important for reproducing it, but I use the built-in virtual desktop feature of Windows 10, i.e. instead of multiple monitors I use multiple (usually 4) virtual desktops between which I switch using keyboard shortcuts.


Expected results:

Restoring the TB window from the system tray should always restore it to the same state and size as before, i.e. e.g. maximised if it was maximised pre-tray and non-maximised if it was non-maximised pre-tray. This should work consistently, no matter which virtual desktop I happen to be on when restoring the window.
Bug: Quick filter bar should be reset when setting a special view ("Threads with Unread"/"Watched Threads with Unread")
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2024-09-12 06:19:55+00:00
Resolved: 2024-10-15 16:37:37+00:00

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

Steps to reproduce:

Upgraded Thunderbird from 128.1.0esr (64-bit) to 128.2.0esr (64-bit).


Actual results:

Clicking Inbox shows list of messages on screen for short time (a fraction of a second) and then "No message found" message is displayed even though "Inbox 2,743 Messages" is displayed at top. In other words, Thunderbird doesn't show the list of messages.


Expected results:

Thunderbird should display the list of messages.
Bug: Mail content not displayed correctly
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2024-09-12 07:32:04+00:00
Resolved: 2024-10-25 18:51:29+00:00

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

Steps to reproduce:

I clicked on two mails in the 3-pane-window, to view them. I have tried the same thing in the safe-mode.


Actual results:

For both mails, the only content that is displayed was the following string: --_003_55c4fa1391914d12830556b869de7133bundestagde_--
That is only the case for those two mails, that arrived yesterday. I have received correctly displayed mails before and after that.


Expected results:

The mail content should have been displayed and not this random string. When I view the mails via K9-Mail on my Android phone, they are displayed correctly.
Bug: Reloading temporary Add-On isn't working
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2024-09-12 09:05:22+00:00
Resolved: 2024-09-12 10:23:07+00:00

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

Steps to reproduce:

0 Im working on MacOS 14.6.1
1 Load a temporary theme (Add-On) as .zip
2 Make a simple change in zip
3 Reload the temporary theme by either using the refresh button or removing and loading again the updated zip 


Actual results:

Updated zip is not making the changes on the design. Closing thunderbird and loading the updated zip will work.


Expected results:

Refreshing the temporary add-on should reload the source as if thunderbird was reopend.
Bug: Since the new update (128.2.0esr 64-bits) I'm not able anymore to send emails to gmail accounts, but I can send emails from my mobile (same account).
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2024-09-12 11:14:38+00:00
Resolved: 2024-09-13 06:51:32+00:00

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

Steps to reproduce:

Updated thunderbird a week ago or so.


Actual results:

Cant send emails to gmail accounts, which worked before. Dit a lot of testing, still nothing works. My cousin tried the same with his new thunderbird installation on his pc, same result.


Expected results:

Emails should have arrived at gmail accounts, but didn't
Bug: Rust automation - sort dependencies
Status: RESOLVED
Priority: P2
Resolution: FIXED
Created: 2024-09-12 16:03:07+00:00
Resolved: 2024-10-01 09:29:58+00:00

The tb-rust m-c sync automation often produces diffs like:
```diff
diff --git a/rust/gkrust/Cargo.toml b/rust/gkrust/Cargo.toml
--- a/rust/gkrust/Cargo.toml
+++ b/rust/gkrust/Cargo.toml
@@ -16,8 +16,8 @@ harness = false
 [dependencies]
 mozilla-central-workspace-hack = { version = "0.1", features = ['gkrust'], optional = true }
 gkrust-shared = { version = "0.1.0", path = "../../../toolkit/library/rust/shared" }
+sys_tray = { version = "0.1.0", path = "../sys_tray" }
 ews_xpcom = { version = "0.1.0", path = "../ews_xpcom" }
-sys_tray = { version = "0.1.0", path = "../sys_tray" }
 aa-stroke = { git = "https://github.com/FirefoxGraphics/aa-stroke", rev = "d94278ed9c7020f50232689a26d1277eb0eb74d2" }
 app_services_logger = { path = "../../../services/common/app_services_logger" }
 audio_thread_priority = { version = "0.32" }
```

This is not optimal. The dependencies should be sorted by key to prevent this.
Bug: Inboxes not opening on first click - I have to click on any other folder in the tree first
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2024-09-13 10:06:44+00:00
Resolved: 2024-09-23 11:35:57+00:00

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

Steps to reproduce:

Click on an Inbox folder.




Actual results:

Does not open or show messages.

Clicking on any other folder first, then reselecting Inbox, successfully opens the Inbox and shows messages.

See also: https://forums.mozillazine.org/viewtopic.php?t=3123749


Expected results:

Inbox should open and show messages on first click.
Bug: emails moved to spam folder but no Thunderbird spam filter is active
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2024-09-13 11:26:44+00:00
Resolved: 2024-09-14 14:33:25+00:00

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

Steps to reproduce:

nothing. Just started
I use Betterbird V 115.15.0-bb32  but I am sure that this is a bug of Thunderbird


Actual results:

whole the folder for incoming mails is empty. Al the mails are found in the spam folder.



Expected results:

should get filterd or marked as SPAM. Even the internet provider has the order not to filter SPAM or Junk. Newvertheless mails GET filteredThe filter for SPAM is NOT marked. So NO mails sch