av9ash/GitBugs huggingface dataset:
Bug: GMail "unable to save mail to sent folder" - Retry hangs with weird dialog
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2024-12-17 00:37:17+00:00
Resolved: 2024-12-25 00:20:14+00:00

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

Steps to reproduce:

Compose and send an email via GMail IMAP.  
Got the "Unable to save mail to Sent folder", which has been occurring with high frequency lately... but that's not the issue here.
Then I clicked "Retry"


Actual results:

A modal dialog, consisting only of an empty title bar appeared (see image)


Expected results:

It should have retried the operation.

I have been encountering this error (failure to save to Sent folder) with regularity, along with slowness and occasional failure to even send the message.

In the past, I've gotten a dialog with options like:

    Retry      Save to a Local folder     Cancel

When I've selected Cancel, the message window closes, losing the message contents.  In that case it should do nothing, not close the message window.   That's probably a separate bug, but I'll let the triager decide if they want another bug, and if I can reproduce it.
Bug: Port bug 1935714: Assertion failure: aLength <= kMax (string is too large), at /builds/worker/checkouts/gecko/xpcom/string/nsTStringRepr.h:89
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2024-12-17 06:49:18+00:00
Resolved: 2024-12-17 11:55:50+00:00
Bug: Forwarding email from sent folder (account uses gmail IMAP) with inline images links them as "imap://XXXXXXXXX@imap.gmail.com:993/fetch..." - recipient sees only placeholders and sees my imap login
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2024-12-17 08:32:19+00:00
Resolved: 2024-12-18 09:17:38+00:00

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

Steps to reproduce:

1. Sent an email to person A with inline attached images
2. Forwarded the email from the sent folder to person B
3. Person B gets the emails with "placeholders" and the source links the images to my imap... "imap://XXXXXXXXX@imap.gmail.com:993/fetch..." 


Actual results:

The inline images are linked to my gmail account over IMAP, but when sending out should be downloaded and linked as src="cid:part1.H6sneX0S.gOfFlnuB@XXXXXXX" and not as "imap://XXXXXXXXX@imap.gmail.com:993/fetch..." .

This makes the recipient to lookup the said attachments/images with my IMAP login  on the remote server -> but the images should have ben attached and the HTML should link the correct content-id.


Expected results:

The email, that was forwarded from the sent folder should be linked when forwarding not as "imap", but should download the original images and include them as (example):

 <p>Test 1 img<br>
      bla bla<br>
      <img moz-do-not-send="false"
        src="cid:part1.H6sneX0S.gOfFlnuB@XXXXXX" alt="" width="108"
        height="77"><br>
      <br>

--------------FPyPY9VhJFa9QDeaQneMSpWM
Content-Type: image/png; name="image1.png"
Content-Disposition: inline; filename="image1.png"
Content-Id: <part1.H6sneX0S.gOfFlnuB@XXXXXX>
Content-Transfer-Encoding: base64
Bug: Template Folder under Inbox Non-Functional
Status: UNCONFIRMED
Priority: --
Created: 2024-12-17 13:55:07+00:00
Resolved: 2024-12-17 18:35:59+00:00

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

Steps to reproduce:

I want to save my templates to the Unified Template folder under the inbox, just like the spam folders work.


Actual results:

No matter if I change the location of Templates folder in Account settings, Templates always save in inconvenient location way down under individual accounts.


Expected results:

My template should save in the default template location subdirectory for each account. The folder is shown in the attachment
Bug: JSDoc based doc generation broken by account hub
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2024-12-17 15:26:57+00:00
Resolved: 2024-12-18 06:21:56+00:00

To quote from bug 1932006:

> (In reply to Martin Giger [:freaktechnik] from comment #7)
> (In reply to Heather Ellsworth from comment #6)
> > The two patches that fixed this issue broke the ability to build the thunderbird source docs with `mach tb-doc` with the error:
> > 
> > ```
> > Extension error (sphinx_js): 
> > Handler <function analyze at 0x7fd1dd52ac00> for event 'builder-inited' threw an exception (exception: Your code contains multiple documented objects at each of these paths: 
> >  
> >   ./mail/components/accountcreation/views/email.AccountHubEmail#abortable 
> >   ./mail/components/accountcreation/views/email.AccountHubEmail#abortable 
> >  
> > We won't know which one you're talking about.)
> > ```
> > Can you please fix the same named abortable objects?
> 
> There are two issues in the code it appears, first off there's documentation on both the getter and the setter of `AccountHubEmail.abortable`. In addition that documentation is written for methods. However, a getter/setter pair should be documented like a single property.
> 
> Secondly JSDoc sadly gets really confused with private fields for our docs, and it appears to treat `#abortable` as having the same name and visibility as `abortable`. So something like the following [removed for brevity] makes it work - but I'm not sure how valid that name of the private abortable field is. We should probably also have a comment to note that this is a workaround for the jsdoc generation.
Bug: Can't enable Unified Folders Mode. Error NS_ERROR_FILE_ACCESS_DENIED in execution of lazy.MailServices.accounts.saveVirtualFolders()
Status: UNCONFIRMED
Priority: --
Created: 2024-12-17 16:59:09+00:00
Resolved: 2025-03-01 17:46:03+00:00

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

Steps to reproduce:

1. I set up a new Thunderbird profile for both my personal Gmail account and my Google Workspace account.
2. I unticked the "Keep messages in all folders for this account on this computer" option in the "Message Synchronizing" settings for both accounts.
3. After Thunderbird finished checking my emails, I enabled the Unified Folders Mode, but the mode didn’t stick.


Actual results:

The folders pane did not change and the Unified Folders mode did not stick. At first, the menu showed the option as ticked, but after closing and reopening the menu, the option was unticked.
The browser console displayed the errors presented in the attached file console-export-2024-12-17_13-18-53.txt. (Edit: I can't attach two files, so I copied and pasted the contents of this file below)
The contents of the smart mailbox folder are shown in the attached image smart_mailboxes_folder.png.

I tried the following steps to resolve the issue:
- I closed Thunderbird, erased the "smart mailbox" folder, and restarted Thunderbird, but I got the same errors.
- I used Windows Explorer to ensure that no file under the Mail folder had the read-only attribute, but I still got the same result.

For context, my GMails "All Mail" folder has almost 130 000 emails.


----
Contents of the file console-export-2024-12-17_13-18-53.txt
Error intiating smart mode. NS_ERROR_FILE_ACCESS_DENIED: Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIMsgAccountManager.saveVirtualFolders]
    init chrome://messenger/content/about3Pane.js:1067
    _initMode chrome://messenger/content/about3Pane.js:2110
    _toggleMode chrome://messenger/content/about3Pane.js:2092
    set activeModes chrome://messenger/content/about3Pane.js:1995
    toggleFolderMode chrome://messenger/content/about3Pane.js:1856
    oncommand about:3pane:1
about3Pane.js:2112:17
Uncaught NS_ERROR_FILE_ACCESS_DENIED: Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIMsgAccountManager.saveVirtualFolders]
    verify resource:///modules/SmartMailboxUtils.sys.mjs:183
    getSmartMailbox resource:///modules/SmartMailboxUtils.sys.mjs:267
    init chrome://messenger/content/about3Pane.js:1038
    regenerateMode chrome://messenger/content/about3Pane.js:1074
    _initMode chrome://messenger/content/about3Pane.js:2117
    _toggleMode chrome://messenger/content/about3Pane.js:2092
    set activeModes chrome://messenger/content/about3Pane.js:1995
    toggleFolderMode chrome://messenger/content/about3Pane.js:1856
    oncommand about:3pane:1
SmartMailboxUtils.sys.mjs:183



Expected results:

The Unified Folders Mode should have stayed enabled, and the folder pane should have displayed the unified folders.
Bug: Intermittent comm/mail/components/extensions/test/browser/browser_ext_commands_onCommand_bug1845236.js | Message handler threw uncatchable exception
Status: NEW
Priority: P5
Created: 2024-12-17 18:56:06+00:00
Resolved: 2024-12-23 07:16:13+00:00

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

---
```

```
Bug: Compact on entire IMAP mailbox systematically triggers Downloading message headers on all sub-folders and re-download all of them
Status: NEW
Priority: --
Created: 2024-12-18 00:12:35+00:00
Resolved: 2025-01-06 03:24:55+00:00

In TB 128.4.2esr (64-bit) on Windows 10... with a very large IMAP mailbox set not to cache all emails locally... with thousands of folders and a lot of emails...

Step to reproduce:
1. Right click the mailbox root folder (aka email address)
2. Select Compact

Expected result 

1. Compact each folder and sub-folders local Imap cache based on local information already available
2. without connection to the server
3. without blocking Thunderbird for other activities e.g like reading emails

Actual result

1. Each folder and sub-folders are opened, 
2. Which trigger for each a re-downloading of the entire message headers
3. Them Compact starts for each folder

Once completed, if you re-trigger the Compact the same will happen all over again and all message headers for each folder would again be entirely re-downloaded which is a waste of time and resources.

Also during the process, you cannot read emails that have not been already cached locally, as their content cannot be downloaded from the server and be shown in preview pane. The pane remain entirely blank when you select a message. So basically Thunderbird become unusable to read emails during the Downloading message headers/Compact process. Really not convenient.
Bug: New email - To email address abbreviation
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2024-12-18 06:50:41+00:00
Resolved: 2024-12-27 10:52:51+00:00

Steps to reproduce:

Create an new email, write an email address to the To field. 


Actual results:

Email address is not displayed in full length, part of the address is replaced by "..." so I really can't be sure that I'm sending the email to correct address.  


Expected results:

Email address must be displayed in full unmodified form.
Bug: every time I open Thunderbird, it becomes Unresponsive after a few minutes
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2024-12-18 07:05:19+00:00
Resolved: 2025-02-21 23:20:58+00:00

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

Steps to reproduce:

Thunderbird is set to update automatically. This problem has started around a week - 10 days back. Every time I open Thunderbird, it becomes Unresponsive after a few minutes. There's no pattern to this and seems to happen at random.
Bug: Table cells not styled as expected when an HTML email is viewed in Thunderbird
Status: UNCONFIRMED
Priority: --
Created: 2024-12-18 08:26:17+00:00
Resolved: 2025-02-14 13:24:51+00:00

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

Steps to reproduce:

收取信件，點擊信件預視或點開信件


Actual results:

郵內含有 html 語法的表格, 內容 sender 欄位不能正確的自動折行顯示
在 Outlook 2007 ~ 2024 是正常的


Expected results:

sender 欄位需要能正確的自動折行顯示
Bug: display of message should be blanked when compacting
Status: UNCONFIRMED
Priority: --
Created: 2024-12-18 11:00:25+00:00
Resolved: 2024-12-31 02:11:19+00:00

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

Steps to reproduce:

Clicked 'Compact now' (in French 'Compacter maintenant')


Actual results:

The message list was cleared, but since a message had been selected, its contents remained displayed 


Expected results:

the display of the message panel should be cleared when Compacting
Bug: Intermittent comm/mail/base/test/browser/browser_threads.js | icon should be visible - false == true
Status: NEW
Priority: P5
Created: 2024-12-18 11:26:49+00:00
Resolved: 2024-12-23 06:32:04+00:00

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

---
```

```
Bug: "Edit settings…" link in devtools performance tab fails to open about:profiling - failure code: 0x805303f4 nsIWebNavigation.fixupAndLoadURIString
Status: NEW
Priority: --
Created: 2024-12-18 21:49:43+00:00
Resolved: 2025-02-12 14:55:17+00:00

The link is supposed to open about:profiling in a new window, instead it opens about:blank and this error is posted to the console:

> JavaScript error: chrome://global/content/elements/browser-custom-element.js, line 983: NS_ERROR_DOM_BAD_URI: Component returned failure code: 0x805303f4 [nsIWebNavigation.fixupAndLoadURIString]
Bug: double clicking contact icon adds the contact twice
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2024-12-19 08:36:09+00:00
Resolved: 2025-01-10 10:23:36+00:00

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

Steps to reproduce:

I am on 125esr.
1. Open Sent folder
2. Look for a recipient who is not in your address book (I am using Quick search).
3. Click on the email.
4. Double-click the small icon Edit contact beside the email address of the recipient. The first click cause adding the recipient to Address Book (not visible, but the process is done).


Actual results:

The second click makes a duplicate entry to Address Book instead to open the Edit Contact compose window, as TB makes if you repeat these steps on Inbox folder.

This behaviour makes duplicates entries without the possibility to choose in which address book the contact should be stored - you have to manually open the address book and edit the contact there.


Expected results:

The second click of the double-click should open the Edit Contact window as well as it does by this procedure in Inbox folder.

It has to be mentioned, that if you click the Edit contact at first in the Inbox folder,  clicking on it in the Sent folder afterwards works fine. For testing purposes, you have therefore to click at first the Edit contact icon in the Sent folder (and the recipient shall not be in your address book).
Bug: Attached pdf in draft emails opens in wrong app
Status: UNCONFIRMED
Priority: --
Created: 2024-12-19 09:28:11+00:00
Resolved: 2024-12-20 10:46:01+00:00

Steps to reproduce:

TB 128.5.2esr Linux Mint 22.0 x64 (Firefox 133.0.3)

My default PDF reader is qpdfview. Until a few days ago, trying to open a pdf attached to an email in TB resulted in it opening in qpdfview, which was the intended action. If I changed the intended action to "Always ask", a box appeared asking whether to save the file or open it in the default pdf reader or another app. This happened whether the pdf was attached to a received email or a draft email I was preparing, and was as intended.

Now, with a received email pdf attachment this still happens, but with a draft email the pdf attachment opens immediately - in Firefox! The Linux Mint default pdf reader is still qpdfview. The TB setting for "Portable Document Format (PDF)" in "Files and attachments" is "Open with qpdfview (default)". If I change that setting to "Preview in Thunderbird", both a received email pdf attachment and the draft email pdf attachment open as previews in TB. If I change the setting to "Always ask", the options box appears with a received email pdf attachment, but with the draft pdf attachment this opens immediately in Firefox.


Actual results:

See above. Attached pdf files in draft messages open in Firefox.


Expected results:

The messages should have opened in qpdfview (default pdf reader).
Bug: Attached PDF files in Unsent e-mails cannot be opened
Status: UNCONFIRMED
Priority: --
Created: 2024-12-19 12:52:07+00:00
Resolved: 2025-01-14 15:33:31+00:00

Steps to reproduce:

I attached a PDF file to an Unsent e-mail, and when I try to open the PDF to check that I have the correct file, I get the following error

<filename>.pdf could not be opened, because an unknown error occurred.

Try saving to disk first and then opening the file.


Actual results:

As above

There is no option to Save the file and then opening the file !

I'm unable to locate the browser's user agent string - what is this ?


Expected results:

PDF should have been opened as normal by default App (This works correctly on received e-mails).  This is a relatively new problem that appears to me to be associated with the latest versions of Thunderbird (It was not previously a problem)
Bug: emails not shown in message list after facet search results, but found by global search
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2024-12-19 16:21:36+00:00
Resolved: 2025-01-26 15:00:39+00:00

imap account at external provider

STR: download messsages, set that all messages are kept offline, subscribe inbox (IMAP).

Result: a few messages are shown in my Android mailapp (fairemail) but not in TB 128. General search in TB finds them.
Due to my addon Expression search working on filters, I deinstalled that, just in case ...
* I deactivated all other addons
* restarted TB with purgecache cmdline option.

Still, the mails can be searched and found but are not displayed in the message list. 

Account info/server/port is identical for both mail programs.
Bug: Keyboard shortcut to text size (zoom)  Cmd/+- while reading message does not work (but works after opening and closing  the View menu)
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2024-12-19 17:13:50+00:00
Resolved: 2025-01-27 21:31:33+00:00

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

Steps to reproduce:

 1. Open message to read.
2. Press Cmd/+ to enlarge text


Actual results:

The size of text remained unchanged.

This works after I open the View menu. I don't need to do anything in the menu. Simply opening and closing it is sufficient. 

I am using macOS 13.6 (22G120) Ventura, but I have seen reports of the same thing under Linux, which uses CTrl/+ rather than Ctrl/+.


Expected results:

Text size should have increased.
Bug: 'The folder 'Trash on Local Folders' could not be compacted because writing to folder failed. '
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2024-12-20 05:41:02+00:00
Resolved: 2025-01-14 08:46:36+00:00

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

Steps to reproduce:

Tb 128.5.2esr (64-bit) on Kubuntu 24.04

1.
- clicked on Home-folder Trash
- clicked 'Compact'
- no message

2.
- clicked on 'Local Folders Trash'
- clicked 'Compact'
- message "The folder 'Trash on Local Folders' could not be compacted because writing to folder failed. Verify that you have enough disk space, and that you have write privileges to the file system, then try again."

3.
Identical with 'Right click > Compact'


Actual results:

- message "The folder 'Trash on Local Folders' could not be compacted because writing to folder failed. Verify that you have enough disk space, and that you have write privileges to the file system, then try again."


Expected results:

No message or 'Done'. for 'Local Folders Trash'
Bug: Intermittent comm/mailnews/addrbook/test/unit/test_cardDAV_syncV1.js | testYahoo - [testYahoo : 77] 3 == 2
Status: NEW
Priority: P5
Created: 2024-12-20 12:23:54+00:00
Resolved: 2024-12-23 07:07:31+00:00

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

---
```

```
Bug: Sent mails do not appear in the grouped folder “Sent” (POP)
Status: UNCONFIRMED
Priority: --
Created: 2024-12-20 13:35:45+00:00
Resolved: 2024-12-26 21:06:05+00:00

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

Steps to reproduce:

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Thunderbird/128.5.2

- Install Thunderbird 128.5.2esr (64-bit) in Windows 10 (64-bit), Home
- Choose Folderview: “All folders” and "Grouped folders"
- Set up 2 mail accounts with POP, e.g. Yahoo and Freenet
- Send a mail from Yahoo to Freenet


Actual results:

The sent message does not appear in the “Grouped folders” view → “Sent”
But it appears in "All folders" -> Yahoo -> "Sent"


Expected results:

The sent Message should appear in the “Grouped folders” view → “Sent” - folder
Bug: Flatpak: Feed reader sets wrong permissions on message folders and then errors while compacting
Status: UNCONFIRMED
Priority: --
Created: 2024-12-20 22:15:48+00:00
Resolved: 2024-12-21 13:01:30+00:00

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

Steps to reproduce:

1. Just use Thunderbird and it happens after every restart


Actual results:

I get popups about being unable to compact Feeds folders due to inadequate permissions.

I forgot to report it promptly, but it's been happening since the last ESR bump.


Expected results:

It should just work.

Since I start Thunderbird once on system startup and just leave it running, the workaround I've settled on is just to add this line to my user crontab:

    @reboot find ~/.var/app/org.mozilla.Thunderbird/.thunderbird/s3ykj1y1.default/Mail/Feeds -execdir chmod ug+w,a+r {} \;
Bug: Not receiving e-mail, but sending seems to be OK.
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2024-12-20 23:18:03+00:00
Resolved: 2024-12-21 12:35:05+00:00

Steps to reproduce:

Version 128.5.2esr (64-bit)
Windows 10

Two manifestations of the same issue:
1) incoming e-mail does not show up in my main account (rkingsle@trapine.org).  The last e-mail I have received in this account was Dec 13 2024.  
2) When I try to send an e-mail from this account, I get an error message, my message gets delivered to the sender but is not copied to the send folder. 

I have four e-mail accounts, all managed on my desktop by Thunderbird (rkingsle@trapine.org; vsplashx@google.com; rkingsle@mightygenes.info; and robert.kingsley@trkingsley.com) .  If I send a message from trapine on my desktop to these other accounts, it gets delivered.  Sending e-mail from vsplashx gets delivered to all but trapine.  Sending e-mail from trapine on my phone to trapine, it gets delivered to my phone, but not my desktop.

Deleting a fair number of messages (~50) from trapine in an attempt to free up storage space had no effect. 

Hence two problems that appeared on the same day (Dec 14)  1) e-mail not being delivered, and 2) outgoing e-mail not being copied into sent folder.


Actual results:

Described above.

When sending an e-mail I get this error message:

Your message was sent but a copy was not placed in your sent folder (Sent) due to network or file access errors.
You can retry or save the message locally to Local Folders/Sent-rkingsle@trapine.org.

I do not have a Local Folders/Sent folder.


Expected results:

1) I should be receiving e-mail  in my inbox.
2) My outgoing messages should be copied to my sent folder