av9ash/GitBugs huggingface dataset:
Bug: TB mochitest fails due to a strange codec error near the end.  comm/mail/test/browser/instrumentation/browser_instrumentSetup.js
Status: NEW
Priority: --
Created: 2021-04-19 04:54:18+00:00
Resolved: 2021-05-13 12:06:00+00:00

In my local mochitest testing of C-C TB (64-bit under Linux 64-bit, Debian GNU/Linux) , I noticed a new error (somehow the test itself is reported to have succeeded locally, but I suspect it especially in view of bug 1699584 .  

I don't think I have seen this error before.
The error comes from this test.
comm/mail/test/browser/instrumentation/browser_instrumentSetup.js

The error is:
```
 1:15.70 INFO runtests.py | Running tests: end.
Exception ignored in: <function BaseProfile.__del__ at 0x7efcf59738b0>
Traceback (most recent call last):
  File "/NEW-SSD/NREF-COMM-CENTRAL/mozilla/testing/mozbase/mozprofile/mozprofile/profile.py", line 86, in __del__
    self.cleanup()
  File "/NEW-SSD/NREF-COMM-CENTRAL/mozilla/testing/mozbase/mozprofile/mozprofile/profile.py", line 293, in cleanup
    self.clean_preferences()
  File "/NEW-SSD/NREF-COMM-CENTRAL/mozilla/testing/mozbase/mozprofile/mozprofile/profile.py", line 307, in clean_preferences
    if not self.pop_preferences(filename):
  File "/NEW-SSD/NREF-COMM-CENTRAL/mozilla/testing/mozbase/mozprofile/mozprofile/profile.py", line 358, in pop_preferences
    lines = f.read().splitlines()
  File "/usr/lib/python3.9/codecs.py", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe5 in position 12509: invalid continuation byte
 1:15.71 INFO Buffered messages finished

```

The test itself is reported to have succeeded.
```
mochitest-browser
~~~~~~~~~~~~~~~~~
Ran 4 checks (3 subtests, 1 tests)
Expected results: 4
Unexpected results: 0
OK

real	1m17.138s

```

The appearance of |lines = f.read().splitlines()| in the error log suggests that TB test (?) is trying to split an input at the incorrect position, maybe?

I suspect that this error has something to do with Bug 1699584
Intermittent comm/mail/test/browser/instrumentation/browser_instrumentSetup.js | Found an unexpected unknown window with document URI: about:blank and title: at the end of test run -

Especially when I look at the log listed there:
https://firefoxci.taskcluster-artifacts.net/WRz0f1YXSZeC6aAMIHRciQ/0/public/logs/live_backing.log

Look at the line that starts with:
``
task 2021-03-18T23:30:04.306Z] 23:30:04     INFO -  Exception UnicodeDecodeError: UnicodeDecodeError('utf8', '// Mozilla User Preferences
``
Maybe the appearance of the error is different from my local observation  because I use Debian GNU/Linux while the mozilla's testing farm uses Ubuntu or CentOS? [Or different version of python, etc.]

Since this is rather new, we should act on this quickly before people forgot the nature of the test, etc.
Bug: Can't see tag color when clicked on an e-mail
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2021-04-19 15:58:03+00:00
Resolved: 2021-05-03 21:12:00+00:00

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

Steps to reproduce:

I click on the e-mails in my preview pane


Actual results:

The blue color is so dark I can't see the tag color. Same inside the search boxes.


Expected results:

I never had a problem seeing them before the latest huge update.

It should be colored a bit, but I should still see the tag color.

Thanks
Bug: Remember password option not visible for SMTP outgoing password as of v88 beta
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2021-04-19 21:46:46+00:00
Resolved: 2021-04-27 21:48:53+00:00

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

Steps to reproduce:

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

On a fresh start of Thunderbird I am prompted for my master password and my incoming saved password for IMAP authentication works to pull new email.  When sending email, I get prompted to enter my outgoing SMTP password, but there is no checkbox to remember my password.

I then entered the Config Editor and verified both signon.rememberSignons and signon.rememberSignons.visibilityToggle were set to "true".  I set both to "false" and restarted Thunderbird.  Then set them back to "true" again.


Actual results:

When prompted for my incoming IMAP password, there is a checkbox to remember it with my master password.

However, when prompted for my outgoing SMTP password, the option to remember it is not available.


Expected results:

When prompted for my outgoing SMTP password, there should be an option to remember it with my master password.
Bug: Intermittent toolkit/components/telemetry/tests/unit/test_SyncPingIntegration.js | test_shutdown_handler_submits - [test_shutdown_handler_submits : 51] recorded that we sent a ping. - "undefined" == true
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2021-04-19 23:08:08+00:00
Resolved: 2021-04-26 06:18:41+00:00

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

---
```
```
Bug: Uploaded IMAP EML messages should keep the internal date of their original timestamps
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2021-04-19 23:08:13+00:00
Resolved: 2021-04-21 23:12:50+00:00

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

Steps to reproduce:

Dropped a EML message onto an online folder


Actual results:

It was saved in the folder with the internal date of the time of upload


Expected results:

It should have been saved in the folder with the internal date of the original EML's Date header.

For example, see internal_date in https://www.php.net/imap-append

Since you don't it, one can upload messages from 10 years ago and Thunderbird puts them at the top of the folder.

Other programs know to keep the internal date aligned during the upload process.
Bug: Public bulk mail notification won't count beyond 15 when adding more recipients, and silently discards all To/Cc recipients added after notification.
Status: RESOLVED
Priority: P1
Resolution: FIXED
Created: 2021-04-19 23:10:30+00:00
Resolved: 2021-05-27 12:15:55+00:00

Public bulk mail notification won't count beyond 15 when you add more recipients after its appearance, and worse, it'll **silently discard any public recipients added after the notification when moving pills with `Use Bcc instead`**. Fortunately, Thomas is here to uncover this assault on user's precious recipient pills...

STR (see screencast)

1) compose, add 15 recipients in To or Cc
-> Public bulk mail notification appears, suggesting to `Use Bcc instead`
2) add more recipients in To or Cc, say 3 more to make them 18, and observe notification count
3) Hit `Use Bcc Instead`

Actual result

- step 2) While adding more pills, notification count stuck at 15
- step 3) All To/Cc recipients added after notifcation's appearance are silently discarded when moving recipients to Bcc - that's serious dataloss!

Expected result

- Keep counting in the notification while more recipients are added! (Fluent handles such dynamic updates very well).
- Don't discard added recipients upon `Use Bcc Instead`!!!
Bug: Remote image (jpg) from RSS feed > Save image as...  offers only html flavor and is wrongly saved as image (jpg) file with htm/html extension.
Status: NEW
Priority: --
Created: 2021-04-20 00:33:01+00:00
Resolved: 2023-07-12 08:18:43+00:00

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

Steps to reproduce:

Tested with Thunderbird 78.10 x64 on Windows 7 and 10 (1809).

1. Add https://vc.ru/rss/all to "Blogs & News Feeds" subscriptions
2. Select any post with an attached image and save it via right click -> "Save Image As..."


Actual results:

The image is saved as an HTML file, but it is actually a full-size PNG. I also recorded a video of this happening with the post view inside the client (latest version of Firefox saves the file correctly).


Expected results:

The image should be saved with the correct name and extension (like "7dafabc0-1274-5bc7-9260-ca5b3df7e5a0.png").
Bug: browser/compose/messagedisplayAction contextmenu not working
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2021-04-20 06:58:51+00:00
Resolved: 2021-04-20 10:59:48+00:00

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

Bug 1620611 introduced a new fluent locale string using a brandShortname variable, which is not needed anymore, as fluent allows to reference other strings.
Bug: Messages are hidden in folder, shown in search results
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2021-04-20 08:24:18+00:00
Resolved: 2021-04-20 16:44:18+00:00

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

Steps to reproduce:

Nothing, it happens occasionally 
Using TB 78.10.0 on Win7


Actual results:

A message is not shown in the folder.
You can see it if searched for.
Quick filter counts it, but is not shown (see attached picture)

Started to notice/suspect this some time (versions) ago, but was not sure.


Expected results:

The message shall be displayed on the list
Bug: TB refuses to un-spam a message
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2021-04-20 08:56:21+00:00
Resolved: 2022-07-11 10:56:26+00:00

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

Steps to reproduce:

Recieved a mail that for some reason was maked as SPAM.
I did mark it as "Not Spam" and moved it back to Inbox


Actual results:

Message almost immediatelly was moved back to Junk folder and marked a SPAM.
Just because I habitually check the Junk folder before cleaning, i was able to save the message -- and now I have to constantly check and move back the message again and agaian and again!


Expected results:

Mail should stay in Inbox and not be treated as SPAM anymore
Bug: osx shippable perma comm/mail/base/test/unit/test_viewWrapper_realFolder.js | xpcshell return code: 0
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2021-04-20 15:02:01+00:00
Resolved: 2022-08-29 20:22:26+00:00

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

---
```
Looks like bug 1689840 did not help after all.```
Bug: Intermittent comm/mail/components/extensions/test/browser/browser_ext_menus.js | undefined assertion name - Got "Remove Generated extension as well as its configuration and data from Daily?", expected "Remove Generated extension from Daily?"
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2021-04-20 15:10:55+00:00
Resolved: 2021-04-26 06:26:46+00:00

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

---
```
```
Bug: Thunderbird so slow downloading messages, for years. Profile shows most activity in XREMain::XRE_main.
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2021-04-20 15:26:26+00:00
Resolved: 2021-09-19 02:45:11+00:00

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

Steps to reproduce:

I have had horrible slowness in thunderbird for years.  i open thunderbird, and it mucks around forever downloading messages, especially when I haven't opened it in a while.  doing absolutely anything in thunderbird is excruciatingly slow.  task manager shows it is hardly using any resources, yet is not responding.  This has persisted after using tools like thunderfix.  unsubscribing from All Mails folders on gmail.  After formatting windows and reinstall and seting up thunderbird again, it still persists.  At first after a new install it works great.  But over time as i accumulate email it always gets this way.  I have only just now found out how i can create a performance profile and submit this bug report.   


Actual results:

its so slow.  I fixed the issue by moving to outlook.  when outlook is setup with the same email accounts, outlook does not have the slowness, it works great. 


Expected results:

Not be slow
The performance profile link:
https://share.firefox.dev/3dvtMK2

This computer I ran this profile on has an i7 processor 3rd gen, 16gb ram, ssd.
Bug: After replying to message from Local Folders, message list temporarily blank until the local folder is reselected in folder list
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2021-04-20 17:32:09+00:00
Resolved: 2022-01-27 12:50:31+00:00

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

Steps to reproduce:

Open a LOCAL FOLDERS folder of stored email.  You might see many older emails you have stored there. Open one of the new emails and reply to it.  


Actual results:

When you have replied the user interface returns to the same folder, but now it is empty and does not show any emails at all. You must click the local folder once to bring back the display of all emails in that "Local Folders" folder.


Expected results:

The emails should not have disappeared from that folder.

Note: not affected by repairing the suspect folder. This happens to any and all folders in the Local Folders area. Sometimes random and may not happen on each occurence.
Bug: Composition fails to autocomplete existing mailing list from personal AB
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2021-04-20 18:27:24+00:00
Resolved: 2021-06-01 00:56:44+00:00

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

Steps to reproduce:

Check presence of mailing list. Open message and click Forward button to start composing forwarding message. Enter name of mailing list as recipient. 


Actual results:

There is no recognition of mailing list like what happens when contact name is  recognized and accepted.


Expected results:

The mailing list should be accepted and the component addresses displayed.
Bug: PDFs are not being displayed in HiDPI (retina)
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2021-04-21 00:39:53+00:00
Resolved: 2021-04-21 23:23:32+00:00

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

Steps to reproduce:

Open a PDF file from a message by double clicking it while using Thunderbird on a MacBook Pro with Retina (high DPI) display.


Actual results:

PDF is displayed, but all fonts look blurry.


Expected results:

Fonts should be sharp, like they are when I open the identical PDF in Preview.
Bug: Showing the mails in different format
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2021-04-21 08:22:49+00:00
Resolved: 2021-05-23 02:41:14+00:00

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

Steps to reproduce:

opening thunderbird for the first time.
logging into the account.
open an email.



Actual results:

showing it in an organised manner.


Expected results:

Showing it with a proper format
Bug: Failed login dialog displayed over the in-process password dialog
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2021-04-21 12:03:28+00:00
Resolved: 2023-08-04 14:21:29+00:00

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

Steps to reproduce:

This is more of an annoyance than a true programming bug, but it has been occurring for years and it is routinely annoying.

This issue occurs if the user has more than one mail account in TB and does not save the passwords for each account.  Such a user must enter the password for each mail account whenever TB starts.

When a user has multiple accounts, TB opens an "enter your password" dialog for each account, one at a time, and submits the password to the mail server.  There is an error-trapping function that displays a "retry" dialog when the mail server returns an error code.  Usually, the error is that the user entered the wrong password.

When a user enters the wrong password, this is the order of events:

1. TB submits the defective password to the mail server (like it would for any password);
2.  TB opens a new "enter your password" dialog for the next mail account, which is also normal and expected behavior, 
3. Inevitably, the first mail server returns an authentication error to TB, and TB then displays a "login failed" dialog box, directly on top of the currently-active "enter your password" dialog while the user is in the middle of typing in the password.  

As a result, the user is interrupted.  Often, the password contains an "r" or "e" or the user hits enter, and this triggers the retry dialog, which then re-submits the bad password and continues this cycle.   Also, after the user eventually clears the "retry" dialog, the user will typically need to blank out the "login" dialog and start over.  Picking up mid-password rarely works, and instead starts a new cycle of failed login / retry dialogs.

Steps to reproduce: 

1) Set up TB with two or more mail accounts, but do not allow TB to save the passwords 
2) Restart TB.
3) When prompted for the password for the first account, mistype it and hit enter.
4) When the next dialog box comes up, start typing the password for account #2.  Assuming a reasonable typing speed and Internet connection speed, the result will be similar to the accompanying image.

There is, I think, a straightforward solution:  the function that displays the "retry" dialog should check whether an "enter your password" dialog is open and, if so, wait until the latter dialog has closed before displaying itself. 

Also, "retry" is a bad default choice.  (see image)   If the password was wrong the first time, it's still wrong 2 seconds later....  "Enter new password" would be a better default, I think, since that is what the user will have to do.
Bug: Automatic download of messages on program start does not occur.
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2021-04-21 13:39:42+00:00
Resolved: 2021-06-27 14:57:56+00:00

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

Steps to reproduce:

Since the last update, new messages are not automatically loaded to my Inbox from the host server on start-up, and the screen is set on the file source screen and not the Inbox - also last used search item remains in the search box despite repeated removal, so limits the visible messages to those relating to that search, not the complete Inbox.



Expected results:

'Clean start' with screen opening with the Inbox and automatic download of messages from the host server
Bug: On MacOS, archiving some messages from standalone window with shortcut key A opens a new tab in Safari and saves the message as Inbox-1 to desktop
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2021-04-21 14:51:16+00:00
Resolved: 2021-10-27 22:21:26+00:00

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

Steps to reproduce:

in macos version, if you select the message, without open it, and use the hotkey A (Archive), behaviour expected is done. If the message is opened, the hotkey A will not archive, instead it will try to open the message outside Thunderbird. Problem started around version 75.



Expected results:

hotkey A must act the same with the message on list or opened.
Bug: dialogs get color conflict with themes
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2021-04-21 15:34:15+00:00
Resolved: 2021-04-22 10:04:08+00:00

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

Steps to reproduce:

I have "under the midnight moon" theme installed. When upgrading from
thunderbird-87.0b3 to thunderbird-88 (any) in the calendar when you open
a new event, nothing at the top (IE the save button etc) can been seen.
The lightning makes a color conflict with the theme.


Actual results:

I can no longer see the save and other buttons at the top of the new event
window.


Expected results:

I should be able to see the save and other buttons at the top of the
new even window.
Bug: Kills video when editing reminders in google calendar
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2021-04-21 19:22:15+00:00
Resolved: 2021-11-25 13:07:28+00:00

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

Steps to reproduce:

Replaced native calendar with Google Calendar
Edited previously existing reminder - changed title and clicked on "SAVE" button.
  


Actual results:

Computer remained on but video blanked out. No keyboard or mouse control over computer. Had to manually reboot the computer.  

This happened three times in succession, so it's not a fluke.


Expected results:

Calendar should have saved revised reminder.
Bug: Intermittent toolkit/modules/tests/xpcshell/test_DeferredTask.js | test_arm_delay_notrestarted - false == true | xpcshell return code: 0
Status: RESOLVED
Priority: P5
Resolution: WORKSFORME
Created: 2021-04-21 23:34:02+00:00
Resolved: 2021-12-07 08:26:17+00:00

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

---
```
Possibly related to change to macOS 10.15.```
Bug: Reordering accounts in the Account Settings tab is broken
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2021-04-22 03:43:58+00:00
Resolved: 2021-07-23 03:53:48+00:00

Dragging and dropping an account to reorder it always puts the dragged account at the top of the list. There's also no drag position indicator showing.
Bug: Thunderbird 89.0 Beta 1: Notifications for incoming emails are no longer detected by the screen reader
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2021-04-22 07:13:01+00:00
Resolved: 2022-10-04 17:52:30+00:00

Starting with Thunderbird 89.0 Beta 1, notifications for incoming emails are no longer recognized by the screen reader. With version 88, all incoming emails were still recognized and read by the screen reader.

### Steps to reproduce

1. StartJAWS or any other screen reader that you have available.
1. Make sure Thunderbird is minimized in the system tray.
1. Wait for a new email to arrive.

#### Result

The screen reader does not speak the notification. Unfortunately, I don't know if a visual notification is displayed or if there is a defect there as well.

#### Expected

The screen reader should read the notifications as soon as an email arrives, as in previous versions.
Bug: Notification sounds for incoming e-mails are still only played once
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2021-04-22 07:34:50+00:00
Resolved: 2021-05-04 02:14:52+00:00

The notification sound is played for each new e-mail. However, if another email arrives without reading the previous new email, no new notification sound will be played.

### Steps to reproduce

1. Minimize Thunderbird in the system tray.
1. Wait until the first mail has arrived and the sound has been played. Please do not read the mail!
1. Now wait for another mail.

#### Result

If another e-mail arrives, no notification sound is played.

#### Expected

A notification sound should be played for each new incoming e-mail.