av9ash/GitBugs huggingface dataset:
Bug: Thunderbird opens with error
Status: UNCONFIRMED
Priority: --
Created: 2020-03-12 07:21:55+00:00
Resolved: 2020-05-12 00:41:52+00:00

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

Steps to reproduce:

Opened Thunderbird


Actual results:

It fails to open correctly


Expected results:

opens correctly
Bug: Saving multiple attachments
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2020-03-12 09:44:35+00:00
Resolved: 2020-03-18 02:17:25+00:00

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

Steps to reproduce:

In the incoming letter there are 7 attachments, one part of which needs to be saved in one folder, the other part in another folder. I select the first part of the attachments through pinched ctrl, click - save as, then select the folder, click save, everything is ok. Then again with the help of ctrl I select the second part of the attachments, click - save as, in the explorer opens the folder into which I saved the first part of the attachments, select the desired folder, click save, one attachment is saved there, the explorer with the first folder opens again


Actual results:

when you save each subsequent file for some reason, the first folder for the first part of the attachments is opened, despite the fact that I already selected the second folder, 1 file was saved there, in theory the path to it should have been remembered.


Expected results:

save part of the attachments to one folder, part of the attachments to another without manually selecting a folder for each file
Bug: Chat button in tab toolbar has no disabled appearance
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2020-03-12 13:17:58+00:00
Resolved: 2020-04-08 07:04:31+00:00

The chat button in my toolbar doesn't seem to work. Clicking it does nothing. Clicking the calendar icon (to the right of it) brings up the calendar tab.

There's no errors in the console or anything else.

This is with 75b1, but I think it was broke in 74 also.
Bug: Renaming of the contacts in the Chat not working
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2020-03-12 15:41:09+00:00
Resolved: 2020-04-07 17:23:41+00:00

If you right-click on the contact and click on the "rename", nothing will happen. 
Actual Result: You will see an input to edit the name of the contact.
Bug: Cannot attach files through autofs mounted filesystems
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2020-03-12 20:46:09+00:00
Resolved: 2020-05-06 22:12:27+00:00

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

Steps to reproduce:

1. I set up my system (currently Debian 10) to use autofs (currently version 5.1.2) to access my NAS through autofs using NFS (I tried NFSv3 and NFSv4, this doesn't make a difference).
2. I verified I can access a testing file.
3. In Thunderbird, I started to write a new message.
4. I entered a valid receipient and a subject
5. I attached the file (either by the button, by drag-n-drop or by Ctrl-Shift-A) from the NAS I verified before that I have access to.



Actual results:

1. When I doubleclick the file in the "Write:"-Window, nothing happens.
2. When I try to send the mail, I get following message: "There was a problem including the file <filename> in the message. Would you like to continue sending the message without this file?".
When I copy the file to a local filesystem before (/tmp), I can attach it without any problems.


Expected results:

1. The file should have opened.
2. There should be no errormessage and the mail should be sent with the file attached.
Bug: HTTP proxy for all protocols causes SOCKS to be used
Status: UNCONFIRMED
Priority: --
Created: 2020-03-13 06:53:45+00:00
Resolved: 2020-05-12 00:42:14+00:00

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

Steps to reproduce:

I had to configure Thunderbird 68.4.2 (32-bit) to use an HTTP proxy to access the internet. I chose 'Use this proxy server for all protocols'. It repeatedly told me it could not access the server. I monitored and found it speaking SOCKS but with the HTTP proxy host and port.

I should note I check the same box in Firefox when I'm behind a corporate firewall and have never had this problem.


Actual results:

HTTP proxy set to localhost 1234. Right-click on gmail account and choose 'Get Messages'. Thunderbird sends SOCKS5 handshake:

> socat tcp-listen:1234,reuseaddr - |od -t x1
0000000 05 01 00
0000003



Expected results:

If I choose use HTTP proxy for all protocols then Thunderbird must use HTTP proxy protocol (HTTP GET full URL and for other protocols CONNECT to host).
Bug: Add 'Existing Email Account' does not have OAuth2 when configuring an smtp account manually
Status: NEW
Priority: --
Created: 2020-03-13 07:10:02+00:00
Resolved: 2024-12-01 17:57:24+00:00

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

Steps to reproduce:

I added a gmail account in Thunderbird 68.4.2 (32-bit) several days ago using the 'Existing Email Account' UI and OAuth2 was not listed as an option.


Actual results:

See above.


Expected results:

OAuth2 should be listed as an option when adding an existing e-mail account.
Bug: Setting "Use Paragraph format instead of Body Text by default" resets after closing Thunderbird
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2020-03-13 13:02:01+00:00
Resolved: 2020-03-13 14:22:27+00:00

+++ This bug was initially created as a clone of Bug #1465830 +++

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
Build ID: 20180516032328

Steps to reproduce:


3. Preferences -> Composition -> Untick "Use Paragraph format instead of Body Text by default". Confirm.
4. Write a new message and see the text format is set to 'body'.
5. Quit Thunderbird.
6. Re-launch Thunderbird.
7. Write a new message and see the text format is now set to 'paragraph'.
8. Preferences -> Composition -> Note that the option "Use Paragraph format instead of Body Text by default" is now ticked again.


Actual results:

It appears that disabling the "Use Paragraph format instead of Body Text by default" option is not persistent when quitting & relaunching Thunderbird.


Expected results:

Upon relaunching Thunderbird, the "Use Paragraph format instead of Body Text by default" option should remain unticked if that is how it was set previously.
Bug: Default or custom thread pane / message list column order is reset to bogus order (icon cols first) after every restart of TB (esp. involving icon colums)
Status: VERIFIED
Priority: P1
Resolution: DUPLICATE
Created: 2020-03-13 13:05:31+00:00
Resolved: 2020-06-10 17:28:12+00:00

After updating to Version 74.0b1 the column order changed to "Thread/Starred/Attachements/Read/Junk Status/Correspondents/Date". After changing it back to my prefered order or after using "Restore Column Order" it resets back to "Thread/Starred/..." after closing and restarting Thunderbird.

74.0b2 didn't change this behaviour, 73.0b didn't show this error after reinstalling it. I used fresh profiles and disabled my addons.

After changing the order to my preference and restarting 74.0b in Safe Mode my prefered order persists, disabling Safe Mode reverts the order back to ""Thread/Starred/...".
Bug: Intermittent comm/mail/test/browser/message-header/browser_messageHeader.js | Uncaught exception - at chrome://mochitests/content/browser/comm/mail/test/browser/message-header/browser_messageHeader.js:939 - Error: more node should be collapsed after activ
Status: RESOLVED
Priority: P5
Resolution: WORKSFORME
Created: 2020-03-13 14:06:33+00:00
Resolved: 2021-12-07 08:26:28+00:00

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

---
Bug: messages not shown - instead the empty start page and create account window appears
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2020-03-13 21:18:58+00:00
Resolved: 2024-01-07 18:59:40+00:00

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

Steps to reproduce:

I guess it all happened with an update (<68.6).


Actual results:

Afterwards all messages diappeared. Even deleting invalidprefs.js and global-messages-db.sqlite did not help (after having the error message "gloda.ds.pch	ERROR	database error:[xpconnect wrapped mozIStorageError]"). The correct folder is accessed by Thunderbird each time. Following error message remained but disappeared as well: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMessenger.msgHdrFromURI]


Expected results:

messages should be displayed
Bug: Unable to load content script from Thunderbird mailextension
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2020-03-14 08:52:23+00:00
Resolved: 2020-10-28 16:09:07+00:00

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

Steps to reproduce:

TB74 does not support xul mailextensions anymore. In process of porting our existing AddOn we're trying to load script into the (main) mail tab, the goal is to modify certain UI elements (which is not covered by the mailextension API). None of the three suggested methods at https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Content_scripts seem to have any effect. The executeScript method is observed to load our javascript file from disk but no script code is executed. A similar report on this can be found here: https://stackoverflow.com/questions/59547118/how-to-write-a-thunderbird-extension-webextension-to-modify-the-message-displa 
Documentation on TB URL matches could be helpful too.



Actual results:

The javascript code should be injected in the TB mail tab, a console.log('Hello') message does not appear in the browser console. This behavior works fine for our background scripts. 


Expected results:

Content script should be loaded be either the mainfest.json method, the contentScript method or the executeScript method. The console.log message should appear.
Bug: deleted emails come back from the dead when thunderbird is reopened
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2020-03-14 14:05:02+00:00
Resolved: 2020-03-15 01:52:24+00:00

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

Steps to reproduce:

- Go to inbox.
- Delete or move them.
- Close thunderbird.
- Reopen thunderbird.


Actual results:

- Old emails are still there.
- The inbox gets synced with the server and so the old emails immediately disappear.


Expected results:

- Old emails should have been gone.

Other things I have tried:
- Go offline.
- Wait and keep using the inbox. Still, one-year-old emails keep showing up.
- Compact folders.
- Go for a walk. Rethink my choices in life. Pet a cat. Offer a sacrifice to the gods.
Bug: mail folder looks empty after updating to 68.6. 60.9 works
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2020-03-14 15:43:24+00:00
Resolved: 2020-04-13 17:24:07+00:00

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

Steps to reproduce:

Automatic update from 68.5 to 68.6


Actual results:

mail folder looks empty, calender is fine


Expected results:

display as before mail, calender side by side
Bug: Archive button moves mail into yearly folders despite single folder setting
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2020-03-14 15:48:36+00:00
Resolved: 2020-04-16 06:41:47+00:00

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

Steps to reproduce:

- Via Account Settings / Folders / Archive Options, I selected that all messages shall be archived in one single folder.

- Clicked the "Archive" button in the message window of a message in my Inbox.


Actual results:

The message got moved into a "2020" subfolder of my selected Archive folder.


Expected results:

The message should have been moved into the Archive folder at top level due to my single folder setting.
Bug: Keyboard problems in the filter dialog
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2020-03-14 15:58:50+00:00
Resolved: 2020-12-30 18:09:08+00:00

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

Steps to reproduce:

1. Tools - Filters
2. New filter
3. Browse this dialog with tab. Choose, eg, "To" in the combo box, and enter "fofo"
4. Press tab until the actions combo box, to choose what to do if a criteria is satisfied.
5. Choose Move to action
6. Press stab to choose the folder.
7. Press the down key to scroll the combo box. Nothing happens
8. Press space key, then down key, no effect
9. Press Enter, wants to validate and refuses as the folder is not chosen.
10. Press shift-tab and try to go out this area to go back to the text area where you entered "foo"
11. You cannot. You need to press tab to go around all the dialog to be back to this area.


Actual results:

cf, ssep 7 8 and 10


Expected results:

Step 7 or 8 should have opened the list of folders, just like does the left click. Step 10 should have enabled the user to go on with shift-tab until the text area without being stopped.
Bug: Filter Rules don't allow Remove All tags before applying one
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2020-03-15 04:39:56+00:00
Resolved: 2020-04-13 17:29:13+00:00

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

Steps to reproduce:

Add filter rules to Tag color my incoming mail.

As a side note: Allow clipboard pasting of bitmap snapshots in bug reporting.


Actual results:

However, if the messages were tagged say level 1, applying a tag with a rule does not override the existing, and thus the applied tag can get masked, ie. does not take effect. 


Expected results:

One way to fix is this is offer the same context-menu on messages option to "Remove All tags" in the "Filter Rules" dialog.  Then I can the rule remove all tags then apply the desired tag.  
As a side note: I don't see how allowing multiple tags, limited to customize color, can help visually, as only one tag will take precedence.
Bug: Manage Identities hangs with high CPU
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2020-03-15 07:59:43+00:00
Resolved: 2020-11-03 13:00:14+00:00

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

Steps to reproduce:

Account Settings > Manage Identities > Add... (or Edit...) a specific identity
Click on "Composition & Addressing" tab.  

macOS 10.14.6  Thunderbird 68.6.0 (64-bit)




Actual results:

Thunderbird hangs (100% CPU).  


Expected results:

Composition & Addressing form should open.
Bug: 'Message Filters' menu item gone
Status: RESOLVED
Priority: --
Resolution: WONTFIX
Created: 2020-03-15 10:25:04+00:00
Resolved: 2020-04-13 17:35:03+00:00

Starting with TB75.0 beta1 the 'Message Filters' menu item disappeared from the hamburger menu.
It's been there for ages, and should be restored.
Bug: Randomly disappears from taskbar
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2020-03-15 14:50:13+00:00
Resolved: 2021-01-01 03:07:00+00:00

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

Steps to reproduce:

normal operations, unpredictable, icon that has been pinned for weeks or days is suddenly not pinned to taskbar on startup.
Did also notice image changing to that of a plain piece of paper during daily operation yesterday, after having had to seek out Mozilla Thunderbird from among programs to open because unpinned at startup.


Actual results:

sought out Mozilla Thunderbird in menu, opened it, pinned it back to taskbar on startup. Still there today. Disappearance seems random.
Waited for icon to self-correct. It is the usual icon today.


Expected results:

expected icon to appear in taskbar on startup. 
expected icon to remain consistent during entire day's operation.
Bug: IMAP Response Injection when using STARTTLS
Status: RESOLVED
Priority: P1
Resolution: FIXED
Created: 2020-03-15 15:35:08+00:00
Resolved: 2021-09-13 11:55:04+00:00

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

Steps to reproduce:

Thunderbird has connected to an IMAP server and issued the starttls command. The server responds with "okay, let's start TLS now". However, the server (or some malicious party) also appends extra data after the starttls server response.

Example trace:

    S: * OK [CAPABILITY IMAP4REV1 STARTTLS LOGINDISABLED]\r\n
    C: 1 STARTTLS\r\n
    S: 1 OK start TLS now\r\n* OK [ALERT] Huch?\r\n2 OK ...\r\n4 OK ...\r\n
    ----- <TLS handshake> --- everything after this line is encrypted -----
    C: 2 capability\r\n
    // Thunderbird proceeds with login, as "2 OK" was already received/buffered
    C: 4 login \"alice\" \"password\"\r\n
    // Thunderbird proceeds with list, as "4 OK" was already received/buffered
    C: 5 list \"\" \"*\"\r\n
    ...


Actual results:

Thunderbird shows the alert, and also interprets both results even though they were provided via plaintext (w/o TLS.)

    1 OK start TLS now\r\n* OK [ALERT] Huch?\r\n2 OK ...\r\n4 OK ...\r\n

It seems that when the server answers with multiple results attached directly after "1 OK start TLS now\r\n" response, all following responses are written to an internal buffer first. Only after that, all sockets are switched to speak TLS. However, the old responses are kept and thus end up being interpreted as if they were read via TLS.

This issue was first described by Wietse Venema (www.postfix.org/CVE-2011-0411.html). Theoretically, any other protocols supporting STARTTLS (SMTP, LDAP, ...) could also be affected.


Expected results:

Thunderbird must not interpret the additional data. Arguably, everything after "1 OK start TLS now\r\n" should be interpreted as the SERVER_HELLO TLS message. An easier to implement, but potentially breaking alternative is to discard the data.

Using the additional data allows an attacker to inject malicious responses, which are interpreted as if they came via a secure TLS connection.
I guess that this issue could in one way or another be exploited to obtain sensitive data or be very useful to mount a successful attack on STARTTLS.

Please see the attached test program for a demonstration of the issue.
You will need to provide a a certificate chain and a private key for the leaf certificate. I used the mkcert tool [1] to create a local root CA and issued a certificate for 127.0.0.1.

Thunderbird is configured as follows:
IMAP: 127.0.0.1:10143 (STARTTLS)
SMTP: 127.0.0.1:10587 (STARTTLS)

To make testing easier, the provided example server also implements the minimum SMTP functionality to pass thunderbirds account wizard. Thus, you can setup a fresh thunderbird profile (-ProfileManager) for testing. 

[1] https://github.com/FiloSottile/mkcert
Bug: Cannot edit existing Contact info when selecting a contact from All Address Books.
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2020-03-15 16:13:56+00:00
Resolved: 2020-06-22 08:03:34+00:00

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

Steps to reproduce:

1. Create a Contact, and save - this works
2. Open Contact and attempt to make a change in the Contact info
3. Close
4. Reopen the Contact and the modifications are missing


Actual results:

Any changes to the Contact info are not updated after closing and re-opening Contact.



Expected results:

As in previous versions, any changes or modifications should be saved.
Bug: Dark mode UI not usable.  Black on Black.
Status: RESOLVED
Priority: P1
Resolution: FIXED
Created: 2020-03-15 23:08:36+00:00
Resolved: 2020-04-10 13:14:10+00:00

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

Steps to reproduce:

New mail or reply in dark mode.    75.0b1


Actual results:

Create new mail or reply to mail.  Text color indicates black on white, but everything is black.   Turns out the indicator box for background is really "transparent" and if I change that to "white.  Further testing indicates that the default background in dark mode is transparent (not white) and so it's just the defaults that need to change.


Expected results:

The release process needs to update the default colors for dark mode.
Bug: Not able to print from Thunderbird 75 OB1 - Windows 10
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2020-03-16 05:07:37+00:00
Resolved: 2020-03-16 14:02:28+00:00

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

Steps to reproduce:

Went back to previous version and able to print


Actual results:

Says sent to print, but nothing happens


Expected results:

Should have printed
Bug: Folders list empty after update from 68.5 to 68.6
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2020-03-16 10:00:56+00:00
Resolved: 2020-04-30 22:42:12+00:00

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

Steps to reproduce:

Automatic update from 68.5 to 68.6


Actual results:

The left panel is empty. Folders can be seen by "GO --> Folders". 'get messages" seems to work (but nothing is accessible).
After restoration of profile and installation of 68.5 (and successful creation of the registry key DisableAppUpdate), all is ok.
The problem can be reproduced.
Another symptom :
Under 'account settings', 'account actions', 'add mail account' does nothing at all.
OS : Windows 10 2004 19041.153


Expected results:

Folders list must be accessible.
Bug: Multiple pasting of middle <p>paragraph</p> adds unwanted <p><br></p> and removes <p></p> from next paragraph (copy/paste/linebreak)
Status: NEW
Priority: --
Created: 2020-03-16 10:16:25+00:00
Resolved: 2020-05-12 00:42:23+00:00

+++ This bug was initially created as a clone of Bug #789569 +++

Seen on 76.0a1 (2020-03-11) (64-bit)
For checking HTML source, I've used Ctrl+A on message body, then Insert > HTML

## STR

1. Compose
2. Type to add some paragraphs:
  p1 [Enter]
  p2 [Enter]
  p3 [Enter]
  p4 [Enter]

````
<p>p1</p>
<p>p2</p>
<p>p3</p>
<p>p4</p>
<p><br>
</p>
````
3. Select all of p2 (place cursor before "p2", then Shift+Cursor down); do *not* deselect before next step.
4. Press Ctrl+V three times to paste

## Actual result
- <p>p2</p> itself gets pasted correctly
- unwanted  <p><br></p> added after the last pasted p2 (strangely, only once)
- <p></p> removed from next paragraph, p3 now orphaned
- unwanted <br> in last paragraph (probably unrelated)

````
<p>p1</p>
<p>p2</p>
<p>p2</p>
<p>p2</p>
<p><br>
</p>
p3
<p>p4</p>
<p><br>
</p>
````

## Expected Result
- don't add extra <p><br></p> after the last pasted <p>p2</p>
- don't remove <p></p> from next paragraph
- (don't have extra <br> in last paragraph)

````
<p>p1</p>
<p>p2</p>
<p>p2</p>
<p>p2</p>
<p>p3</p>
<p>p4</p>
<p></p>

````