av9ash/GitBugs huggingface dataset:
Bug: octet-stream attachment interpreted differently on Windows and Linux
Status: UNCONFIRMED
Priority: --
Created: 2024-12-09 13:40:53+00:00
Resolved: 2024-12-15 08:46:40+00:00

Steps to reproduce:

I received an Email with a pdf-file attached. When opening the attachment on Linux Thunderbird, the file was corrupt, some content was missing. When opening the same attachment from the same email in a Thunderbird on Windows, the content of the pdf-file was fine.


Actual results:

The file on Linux Thunderbird is different (in size and checksum) from the file exported from Windows Thunderbird.


Expected results:

An attachment of an email should be the same when saving it from Windows or Linux Thunderbird.

When digging into this issue, I have found that the attachment, which is embedded as an octet-stream, differs in sequences containing 0x0D0A on Windows vs. 0x0A on Linux, the byte is just missing in the saved PDF (that seems to occur 7 time throughout my file). It occurs when the octet-stream had a line break at that place. To have the pdf-file valid, the byte sequence AC 0D 0A B0 would have been expected, but on Linux you just get AC 0A B0 (with 0D 0A being the Windows linebreak CR LF vs 0A being the Unix linebreak LF). Unfortunately, I cannot share the original email due to confidentiality, but with the attached eml-file, the issue can be reproduced. On Windows, the attachment is saved as a different file than on Linux, even the displayed file size of the attachment inside Thunderbird is different.

I can't assess whether the sender of by email is complying with all specifications, but Windows and Linux interpreting newlines inside an octet-stream differently was unexpected.
Bug: Undeletable "Template" directory in Trash. The current command did not succeed. The mail server for account xxx@yandex.com responded: [UNAVAILABLE] delete Backend error. sc=xxx_xxx_imap-production-main-127.
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2024-12-09 13:51:34+00:00
Resolved: 2025-01-01 19:25:49+00:00

Steps to reproduce:

I'm using Thunderbird 128.5.1esr.

A few months ago a weird "Template" directory appeared in the Trash.

I cannot delete it.

 * I've tried to empty the trash: it works only when I restart Thunderbird I see this folder again.
 * I've tried deleting local MSF files - this doesn't help either.
 * When I try to delete just this directory, I get an error:

The current command did not succeed. The mail server for account xxx@yandex.com responded: [UNAVAILABLE] delete Backend error. sc=xxx_xxx_imap-production-main-127.

I don't see it in the web interface of my email provider (yandex.ru).
I don't see it in K9 Mail either.
Bug: Problem with Base64-encoded SVG images
Status: NEW
Priority: --
Created: 2024-12-09 14:16:05+00:00
Resolved: 2024-12-14 09:11:45+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:

I created a new signature for Thunderbird in HTML, inserting an image tag with the src attribute containing an SVG converted to Base64. (Current version: 128.5.1esr)


Actual results:

While composing the email, the signature is displayed correctly with the image. However, once sent, the recipient sees the ALT attribute of the image instead of the image itself.


Expected results:

The image should be displayed correctly instead of showing the alt attribute (if specified). I have several clients with HTML signatures containing their logo in SVG format encoded in Base64, which have stopped working. I noticed that if the image is in PNG format (also encoded in Base64), it is correctly displayed by the recipient.
Bug: Reformat C/C++ files in comm-central that automation missed
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2024-12-09 16:16:23+00:00
Resolved: 2025-01-02 12:02:51+00:00

Bug 1893477 introduced a regression in clang-format jobs causing them to run without paths to check. That was fixed in Bug 1927480. This bug is to reformat the missed files.
Bug: Intermittent comm/mail/base/test/browser/browser_threads.js | icon should be visible - false == true
Status: NEW
Priority: P5
Created: 2024-12-09 19:58:45+00:00
Resolved: 2024-12-16 18:49:17+00:00

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

---
```

```
Bug: Intermittent [Parent 15748, IPC I/O Parent] WARNING: Process 15916 hanging at shutdown; attempting crash report (fatal error).: file /builds/worker/checkouts/gecko/ipc/chromium/src/chrome/common/process_watcher_posix_sigchld.cc:207
Status: NEW
Priority: P5
Created: 2024-12-10 04:22:04+00:00
Resolved: 2024-12-16 18:30:03+00:00

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

---
```

```
Bug: Intermittent comm/mail/components/extensions/test/browser/browser_ext_browserAction_popup_click.js | single tracking bug
Status: NEW
Priority: P5
Created: 2024-12-10 05:07:09+00:00
Resolved: 2024-12-16 19:26:23+00:00

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

---
```

```
Bug: Intermittent comm/mail/components/extensions/test/browser/browser_ext_composeAction.js | Dark theme should use lilght icon.
Status: NEW
Priority: P5
Created: 2024-12-10 05:09:55+00:00
Resolved: 2024-12-16 19:26:27+00:00

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

---
```

```
Bug: Intermittent comm/mail/components/extensions/test/browser/browser_ext_composeAction.js | Default theme should use default ico
Status: NEW
Priority: P5
Created: 2024-12-10 05:10:33+00:00
Resolved: 2024-12-16 19:26:29+00:00

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

---
```

```
Bug: Intermittent comm/mail/components/extensions/test/browser/browser_ext_composeAction.js | Uncaught exception in test bound test_popup_open_with_menu_command - Button should not have open state after the popup closed. - timed out after 50 tries
Status: NEW
Priority: P5
Created: 2024-12-10 05:11:10+00:00
Resolved: 2025-02-24 07:11:11+00:00

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

---
```

```
Bug: Leftover EWS configuration breaks account manager (cannot remove account)
Status: NEW
Priority: --
Created: 2024-12-10 12:55:51+00:00
Resolved: 2024-12-11 07:06:13+00:00

Using 128.5.1 I cannot use account manager to remove accounts.
Cliing the "Account Actions" button gives me a disabled "Remove Account" button for all accounts.

I have currently 4 accounts.

I get an error in error console:
```
Uncaught NS_ERROR_NOT_INITIALIZED: Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsIMsgOutgoingServer.serverURI]
    loadSMTPServerList chrome://messenger/content/am-identity-edit.js:544
    onPreInit chrome://messenger/content/am-main.js:98
    restorePage chrome://messenger/content/AccountManager.js:1477
    onPanelLoaded chrome://messenger/content/AccountManager.js:1290
    <anonymous> chrome://messenger/content/am-main.js:15
2 am-identity-edit.js:544
```

On the linux terminal I get:
```
[ERROR ews_xpcom::outgoing] tried retrieving a URI for the server before initializing it with an EWS URL
```

I currently don't have any EWS account configured.

It looks like I had previously used this profile to test the state of EWS in the 128 version, before learning that support on the 128 branch is incomplete.

So, I must have previously added an EWS account, and afterwards I must have deleted it.

However, despite that, I still have references to EWS in my settings, in particular:
 grep -i ews1 prefs.js 
```
user_pref("mail.smtpserver.ews1.clientid", "d4ef960b-01c8-4781-b896-7bb36938d18a");
user_pref("mail.smtpserver.ews1.type", "ews");
user_pref("mail.smtpservers", "smtp1,smtp2,smtp3,ews1,ews2,smtp4");
```

In loadSMTPServerList(), inside the looping of the servers, I added
console.log(server);

Manually inspecting the results, I confirm the exception is shown for the SMTP server with key "ews1".

In account settings, when looking interactively at the list of SMTP servers I have configured, (lower left, outgoing smtp servers), I get a list of three regular SMTP servers, only. No reference to EWS.

Apparently the GUI removal of the EWS account had not removed the reference to the EWS server.
Could you please check that going forward this cleanup will be complete?

I see that the statement that breaks was added in bug 1882574,
```
    serverName += server.serverURI.host;
```

Maybe you can add some checks in that function, to skip over invalid SMTP server entries in that list.
Bug: google contact synchronization: externally deleted contact is not synchronized in the Thunderbird CardDAV address book, it is not deleted
Status: NEW
Priority: --
Created: 2024-12-10 14:44:43+00:00
Resolved: 2025-01-19 01:28:43+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 delete a contact from google contact (firefox on windows or google contact android)


Actual results:

the contact is not synchronized in the Thunderbird CarDAV address book, it is not deleted, it remains.
Note: I tested all the other synchronization scenarios and no problem, this only exists when you delete a contact from google contact.


Expected results:

when syncing with Thunderbird CarDAV address book the contact should be deleted
Bug: Intermittent comm/mail/test/browser/account/browser_accountTelemetry.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2024-12-10 18:48:38+00:00
Resolved: 2025-03-03 07:05:15+00:00

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

---
```

```
Bug: Tab not updated after adding label via API
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2024-12-10 19:10:59+00:00
Resolved: 2025-02-08 22:59:57+00:00

Steps to reproduce:

Via API I'm doing this:

messenger.messages.update(message.id, {
     "junk": true,
     "tags": ["action:junk"],
})


and (optionally - normally I guess that should be not needed):

const tabs = await messenger.mailTabs.query({ active: true, currentWindow: true });

messenger.mailTabs.realod(currentTab.id, {
    "bypassCache": true
});


Actual results:

Label is added to the message but it's not visible on the list of messages and message color is not changed, but as soon as I click on the same message, then label is becoming visible on the messages list and color of the message is changed


Expected results:

Current tab with list of messages is automatically updated after adding label via API or at least manual tab reload makes that right away label is visible and color of mail is being changed
Bug: unable to move thunderbird message
Status: UNCONFIRMED
Priority: --
Created: 2024-12-11 00:26:42+00:00
Resolved: 2025-01-01 22:04:49+00:00

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

Steps to reproduce:

moved message to wrong subfolder



Actual results:

when I tried to move to intended folder, the message won't move


Expected results:

the message should move to the intended folder
Bug: Thunderbird in LXQt uses libfm-qt dialog only once after opening
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2024-12-11 03:57:52+00:00
Resolved: 2024-12-11 06:57:13+00:00

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

Steps to reproduce:

1. Ensure that xdg-desktop-portal 1.18.4 and xdg-desktop-portal-lxqt 1.1.0 are installed.
2. In Settings --> General --> Config Editor, ensure that "widget.use-xdg-desktop-portal.file-picker" and "widget.use-xdg-desktop-portal.mime-handler" are both set to 1 and that the other three "widget.use-xdg-desktop-portal" settings ("widget.use-xdg-desktop-portal.location", "widget.use-xdg-desktop-portal.open-uri", and "widget.use-xdg-desktop-portal.settings") are all set to 2.
3. Close all Thunderbird windows if any settings in the previous step were changed.
4. Open Thunderbird and then open any email.
5. Press Ctrl+S. libfm-qt should appear as the save dialog, like expected (it'll look similar to PCMaFM-Qt).
6. Close the libfm-qt save dialog (no need to save the webpage).
7. Press Ctrl+S again. The GTK dialog appears instead.
8. Close the GTK save dialog.
9. Repeat step 8-9 however many times you'd like. The GTK dialog will always appear until all Thunderbird windows are closed and a new window is opened, starting a new Thunderbird session. The same thing will happen with this new session (the first time Ctrl+S is used, PCManFM-Qt is used for the dialog, but the GTK dialog is used every time after that).

I thought this was an issue with xdg-desktop-portal-lxqt, so I reported this on their GitHub (https://github.com/lxqt/xdg-desktop-portal-lxqt/issues/48), but the dev wasn't able to reproduce it. Maybe it's a Firefox (https://bugzilla.mozilla.org/show_bug.cgi?id=1936463) & Thunderbird-side issue since I couldn't reproduce this on my non-Mozilla apps.

I should note that running Thunderbird using GTK_USE_PORTAL=1 ("GTK_USE_PORTAL=1 thunderbird" in a terminal) seems to "fix" this issue. I put "fix" in quotes because I consider it to be more of a workaround, but at least it uses libfm-qt for the save/open dialogs every time during the whole session when run like that from terminal.

LXQt 2.1.0
Qt 6.7.2
Xorg 7.6
xdg-desktop-portal 1.18.4
xdg-desktop-portal-lxqt 1.1.0
Thunderbird 128.4.2esr (NON-FLATPAK)


Actual results:

libfm-qt file chooser dialog opens only the first time Ctrl+S or Ctrl+O is pressed. Afterwards, every time either of those two shortcuts are activated, the GTK file choose dialog opens instead.


Expected results:

libfm-qt file chooser dialog opens every time Ctrl+S or Ctrl+O is pressed.
Bug: Account Hub flow is not displayed at first launch
Status: RESOLVED
Priority: --
Resolution: WONTFIX
Created: 2024-12-11 08:06:18+00:00
Resolved: 2024-12-12 15:20:41+00:00

**Affected versions**
* 135.0a1(20241210105041)

**Affected platforms**
* Windows 10
* Windows 11
* macOS 14
* Ubuntu 24.04

**Pre-requisites:**
Have no accounts enrolled (first launch)

**Steps to reproduce**
1. Launch TB.
2. Go to burger menu and select Settings.
3. Check the Account Hub (experimental) option
4. Click on the Burger Menu again and Select New Account-Email.

**Expected result**
* The account hub flow should be displayed.

**Actual result**
* The account hub flow is not displayed. User has to enlist at least one account at launch(in the old flow) in order to use the Account Hub flow.
Bug: Finish button from Accounts Hub flow triggers error and is not closed
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2024-12-11 08:20:01+00:00
Resolved: 2024-12-13 16:48:10+00:00

**Affected versions**
* 135.0a1(20241210105041)

**Affected platforms**
* Windows 10
* Windows 11
* macOS 14
* Ubuntu 24.04

**Pre-requisites:**
Have at least one account previously configured.

**Steps to reproduce**
1. Launch TB.
2. Go to burger menu and select Settings.
3. Check the Account Hub (experimental) option
4. Click on the Burger Menu again and Select New Account-Email.
5. Go through all the screens inputting valid credentials and configurations.
6. Reach the end of the Account Hub Flow carrousel. 
7. Click on Finish.

**Expected result**
* Clicking on the Finish button should close the Accounts Hub carrousel.

**Actual result**
* The account hub flow is not closed upon clicking the Finish button (can only be closed with X button)
* The following message is displayed with a red(error state): `"Email account connected successfully. this[#currentSubview].captureState is not a function."`
* The actual account is indeed added and is functional.
Bug: Deselect/Select all buttons from the Account Hub flow are spilling out of their designated area
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2024-12-11 08:25:08+00:00
Resolved: 2025-02-04 21:00:07+00:00

**Affected versions**
* 135.0a1(20241210105041)

**Affected platforms**
* Windows 10
* Windows 11
* macOS 14

**Unaffected platforms**
* Ubuntu 24.04

**Pre-requisites:**
Have at least one account previously configured.

**Steps to reproduce**
1. Launch TB.
2. Go to burger menu and select Settings.
3. Check the Account Hub (experimental) option
4. Click on the Burger Menu again and Select New Account-Email.
5. Reach the "Sync your calendars and address books" part of the flow

**Expected result**
* The Deselect/Select all buttons are properly displayed, centered and are not spilling out of their designated area.

**Actual result**
* The Deselect/Select all buttons are spilling into both the table Title and the table Title contents.
* This issue is not present on the Ubuntu 24 platform
Bug: Long Full Name and email address strings go over check marks in first screen of Account Hub Flow
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2024-12-11 08:42:20+00:00
Resolved: 2025-01-17 22:50:13+00:00

**Affected versions**
* 135.0a1(20241210105041)

**Affected platforms**
* Windows 10
* Windows 11
* macOS 14
* Ubuntu 24.04

**Pre-requisites:**
Have at least one account previously configured.

**Steps to reproduce**
1. Launch TB.
2. Go to burger menu and select Settings.
3. Check the Account Hub (experimental) option
4. Click on the Burger Menu again and Select New Account-Email.
5. In the first screen, input a long name and long email address.

**Expected result**
* Long names or email addresses are correctly displayed and are not covering the field check marks.

**Actual result**
* Using long names and/or email addresses cause the text and check marks to cover each other .
Bug: "Remember password" check can be interacted while clicking outside of selectable area
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2024-12-11 09:48:35+00:00
Resolved: 2025-01-27 10:57:22+00:00

**Affected versions**
* 135.0a1(20241210105041)

**Affected platforms**
* Windows 10
* Windows 11
* macOS 14
* Ubuntu 24

**Pre-requisites:**
Have at least one account previously configured.

**Steps to reproduce**
1. Launch TB.
2. Go to burger menu and select Settings.
3. Check the Account Hub (experimental) option
4. Click on the Burger Menu again and Select New Account-Email.
5. Reach the "Enter your email account password" screen

**Expected result**
* Clicking outside the interaction zone of the Remember Password check should not affect the state of the field in any way

**Actual result**
* Clicking outside the interaction zone of the Remember Password check renders the field to change its state.
Bug: Full Name field from Account Hub Flow is not autocompleted on Windows
Status: NEW
Priority: --
Created: 2024-12-11 09:53:58+00:00
Resolved: 2024-12-17 19:16:54+00:00

**Affected versions**
* 135.0a1(20241210105041)

**Affected platforms**
* Windows 10
* Windows 11

**Unnafected**
* macOS 14
* Ubuntu 24

**Pre-requisites:**
Have at least one account previously configured.

**Steps to reproduce**
1. Launch TB.
2. Go to burger menu and select Settings.
3. Check the Account Hub (experimental) option
4. Click on the Burger Menu again and Select New Account-Email.
5. Reach the "Add your email address" screen

**Expected result**
* Full name field is already autocompleted with the user's system name.

**Actual result**
* Full name field is not autocompleted with the user's system name on Windows 11 and Windows 10
* macOS 14 and Ubuntu 24 are not affected by this issue and correctly apply the user's system name.
Bug: "Thunderbird failed to find the settings for your email account" string low visibility in OS Dark Mode
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2024-12-11 10:05:41+00:00
Resolved: 2024-12-13 10:27:46+00:00

**Affected versions**
* 135.0a1(20241210105041)

**Affected platforms**
* Windows 10
* Windows 11
* macOS 14
* Ubuntu 24

**Pre-requisites:**
Have at least one account previously configured.

**Steps to reproduce**
1. Launch TB.
2. Go to burger menu and select Settings.
3. Check the Account Hub (experimental) option
4. Click on the Burger Menu again and Select New Account-Email.
5. Reach the "Add your email address" screen and input invalid credentials 
6. Click Continue.

**Expected result**
* The "Thunderbird daily failed to find the settings for your email account" string should be visible, regardless of the user's OS color theme.

**Actual result**
* The "Thunderbird daily failed to find the settings for your email account" string is not visible while the user's OS color theme is set to Dark.
* The low visibility issue is especially prevalent on macOS platform. Consider changing the color font to a different color that is visible in OS's Dark Mode.
Bug: Subfolders with unread messages, after marking them all read and restarting TB, show up as unread again (bold, number of unread msgs)
Status: UNCONFIRMED
Priority: --
Created: 2024-12-11 10:24:52+00:00
Resolved: 2024-12-11 10:24:52+00:00

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

Steps to reproduce:

When receiving mails, the unread mails in the subfolder are displayed correctly


Actual results:

After the mails have been read, the marking (bold and number) disappears, but after each restart it reappears. Deleting it again does not help either, it always reappears.


Expected results:

No further display of sent or deleted mails
Bug: "Can't find a server" string not properly alligned in Accounts Hub flow
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2024-12-11 10:33:18+00:00
Resolved: 2025-01-20 22:22:27+00:00

**Affected versions**
* 135.0a1(20241210105041)

**Affected platforms**
* Windows 10
* Windows 11
* macOS 14
* Ubuntu 24

**Pre-requisites:**
Have at least one account previously configured.

**Steps to reproduce**
1. Launch TB.
2. Go to burger menu and select Settings.
3. Check the Account Hub (experimental) option
4. Click on the Burger Menu again and Select New Account-Email.
5. Reach the "Add your email address" screen.
6. Input invalid credentials.
7. In the "Incoming server settings", input "imap" in the beginning  of the Hostname field.
8. Click on Continue
9. In the "Outgoing server settings", input "smtp" in the beginning of the Hostname field.
10. Click on the "test" button.
11. In the error message displayed, click on the Show More hyperlink.

**Expected result**
* The details of the error "Can't find a server" are properly aligned. 

**Actual result**
* The details of the error "Can't find a server" are not properly aligned.