av9ash/GitBugs huggingface dataset:
Bug: Preserve preferred phone number when editing contacts (TEL;TYPE=cell,pref:123-4567)
Status: NEW
Priority: P4
Created: 2022-07-16 01:31:50+00:00
Resolved: 2022-07-20 01:14:45+00:00

Thunderbird Daily 104.0a1 build 20220715105930 does not appear to recognize or preserve `pref` in the `TYPE` parameter of `TEL` to indicate a preferred-use telephone number, as described in [Section 3.3.1 of RFC 2426](https://datatracker.ietf.org/doc/html/rfc2426#section-3.3.1).  For example, with [DAVx⁵](https://www.davx5.com/) 4.2.2-ose on Android, if I create a contact named Jane Doe with home 867-5308 and mobile 867-5309 marked as default, it syncs as:

```vcard
BEGIN:VCARD
VERSION:3.0
PRODID:+//IDN bitfire.at//DAVx5/4.2.2-ose ez-vcard/0.11.3
UID:3ea1b6d3-a6e1-4963-996d-01de2fa1d52f
FN:Jane Doe
N:Doe;Jane ;;;
REV:2022-07-16T01:03:01Z
TEL;TYPE=home:867-5308
TEL;TYPE=cell,pref:867-5309
END:VCARD
```
If I edit then save in Thunderbird (without any changes) it becomes
```vcard
BEGIN:VCARD
VERSION:3.0
PRODID:+//IDN bitfire.at//DAVx5/4.2.2-ose ez-vcard/0.11.3
UID:3ea1b6d3-a6e1-4963-996d-01de2fa1d52f
FN:Jane Doe
N:Doe;Jane ;;;
REV:20220716T010301Z
TEL;TYPE=home:867-5308
TEL;TYPE=cell:867-5309
END:VCARD
```
Note that  `pref` was removed from `TEL;TYPE=cell,pref`.

As a user, I would appreciate it if the preference information was not lost when editing unrelated properties.

Note: `TYPE=pref` is preserved for `ADR` and `EMAIL` in my testing.  It is only lost for `TEL`.
Bug: Incorrect email displayed in additional message window (when message pane hidden)
Status: UNCONFIRMED
Priority: --
Created: 2022-07-16 12:20:54+00:00
Resolved: 2024-02-17 15:00:57+00:00

Windows 10
Version 102.0.2

Settings > General
REading and Display
Select 'A new message window'
Do not select 'Close message window/tab on move or delete.

Disable the Message Pane.

In list there are 3 emails, A, B, C where A is the top one.
Sorted by Date, Descending, unthreaded

Select 'B' to highlight then open email 'B' using double click so it opens in a new window.
then press 'A'
Email is archived.
In Message List email 'C' is now highlighted as the email above has been removed and list is moved up to fill gap. This is expected.
However, email 'A' is auto opened and is now displaying in the window which previously displayed 'B'. This is an error - not expected.

Expect:
The highlighted Email 'C' to be displaying in the already opened window.

Note: 
If Message Pane is enabled, but keep all other settings
Select 'B' it is displayed in Message Pane
press 'A' key and email 'B' is Archived.
Email 'C' is auto highlighted in list and email 'C' is displayed in MessagePane.
So all works as expected when using Message Pane.
Bug: Message moved from JUNK to INBOX header is correct, body is not.
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2022-07-16 18:51:17+00:00
Resolved: 2022-07-18 00:18:01+00:00

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

Steps to reproduce:

I moved email from JUNK to INBOX.  Later, header is correct, but body is from a different email.


Actual results:

I reported this before, and it is marked as closed and resolved, which it is not.
It happened again this morning, 07/16/2022.
I move an email from JUNK to INBOX this morning.  I went back to it this afternoon, the header shows the email I moved, but the body is from a totally different email.


Expected results:

Header should match body of email.
Bug: Thunderbird slow loading - after deleting parent.lock it starts faster
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2022-07-17 02:51:58+00:00
Resolved: 2022-08-10 22:52:00+00:00

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

Steps to reproduce:

Thunderbird takes a LONG time to load up.
Per https://support.mozilla.org/en-US/questions/1139817 : 

I deleted the below which were found in my Thunderbird profile folder prior to starting up Thunderbird.
Deleted all these files - they should be auto recreated.

    parent.lock
   [ old parent.lock]-not present
    session.json
    xulstore.json 

After deletion Thunderbird starts up easier. However, somehow these files get re-populated into the profile so a future opening of Thunderbird is slow again. Should these files be deleted by Thunderbird when it closes?

I am not sure what to do. May need to copy some of profile and re-intall Thunderbird. 
Need to know what files to copy and not copy. 

I welcome any suggestions to rectify this problem with loading.

I have a profiles.ini file that I modified to look like this:(Backed up original first)
[Install8216C80C92C4E828]
Default=Profiles/me5bkwb3.default
Locked=1

[InstallD78BF5DD33499EC2]
Default=Profiles/me5bkwb3.default
Locked=1

[Profile0]
Name=default
IsRelative=1
Path=Profiles/me5bkwb3.default
Default=1


# Modified 7-13-2022 by rk-deleted old profiles

Thanks.
Rich




Actual results:

SEE ABOVE


Expected results:

Faster loading
Bug: [perma] comm/mail/base/test/browser/browser_detachedWindows.js | detached window: chrome://messenger/content/messageWindow.xhtml
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2022-07-17 06:18:31+00:00
Resolved: 2022-08-03 08:22:25+00:00

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

---
```
Something from m-c
From https://treeherder.mozilla.org/jobs?repo=mozilla-central&revision=c682cdddfbf135649d809fe701febf001b32e747 or 
https://treeherder.mozilla.org/jobs?repo=mozilla-central&revision=315e476ecf385fa0c9fd395aa1423a26b6a1e1b1
```
Bug: Progress bar running after connecting from password prompt
Status: UNCONFIRMED
Priority: --
Created: 2022-07-17 11:51:42+00:00
Resolved: 2022-07-17 12:36:22+00:00

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_14_5; rv:101.0esr) Gecko/20010101 Firefox/101.0esr

Steps to reproduce:

Every now and then, Thunderbird asks me to re-enter my password.
I re-enter my password.


Actual results:

The blue progress bar at the bottom remains active.
Thunderbird shows a high CPU load, like 35%



Expected results:

Idle Thinderbird should have a neglicible cpu load.
Bug: Virtual folders loose their reference, disappear, duplicate, are removed from favorite folders
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2022-07-17 20:11:37+00:00
Resolved: 2022-07-22 00:25:56+00:00

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

Steps to reproduce:

V 91.11.0 (32-Bit) Windows

1. Create a virtual folder filtering all messages not containing a tag (
2. Make this virtual folder a favorite folder
 


Actual results:

All kind of strange things happen:
1) Sometime the saved searches folders lose their reference folder, so they just show an empty result and opening the details of the saved search does not show the original search condition, but the default one.
2) All favorite folders disappear from the favorite list.
3) Saved searches folder are duplicated, twice the same name in the favorites and in the normal folder tree.
4) Some saved searches folder disappear.

I could not figure our, when the changes happen. Often they occur after restart of thunderbird, but I cannot say for sure that it happens only then.


Expected results:

The saved searches should stay as they are. As it has been for many years now. I feel the behaviour started about some weeks ago.
Bug: Message header and message display mismatch
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2022-07-18 09:54:34+00:00
Resolved: 2022-07-19 08:30:47+00:00

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

Steps to reproduce:

After installation of 102.0.2(64 bit) Win 10, the header panel of main message view panel is not syncronized, the header panel, what is shown is belongs to another meassage, the header is not syncronized to the message!


Actual results:

The header panel is not syncronized to the message view


Expected results:

Header and message should be in sync state
Bug: Error in display of unread email count in Unified Folders Inbox/Grouped by Sort (showing  the equivalent 32-bit unsigned integer. ie. -1 => 4294967295)
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2022-07-18 20:20:03+00:00
Resolved: 2023-10-07 17:57:09+00:00

Steps to reproduce:

Assume the user has multiple email accounts added to TBird, and normally views the Unified Folders Inbox. For that view the user has set 'View/Sort by' to 'Date' and  'Grouped by Sort'. Each group will display a header label that includes a parenthesized list as such: (unread count/total count) or just (total count) if there are no unread emails in the  group.

1. observe the count for the Today group - (x/y)
2. receive a new email. count changes to (x+1/y+1)
3. read the new email. observe the new count


Actual results:

1. the original count was (1). ie. no unread emails and 1 previously read email.
2. the count after receiving the new email: (1/2)
3. the count after reading the new email: (4294967295/2)

apparently whenever an unread email is read the unread count decrements by 2 instead of 1. When the new unread count is less than 0 it displays as the equivalent 32-bit unsigned integer. ie. -1 => 4294967295

notes:
1. navigating to/from another mailbox will cause the unread count to be recalculated and shown correctly.
2. This bug has existed in numerous previous versions, but I haven't taken the time to run it down/report it till now.
3. I haven't tested much, but the problem doesn't seem to happen in the individual folder inboxes, only in the Unified one.



Expected results:

1. the original count was (1). ie. no unread emails and 1 previously read email.
2. the count after receiving the new email changed to (1/2)
3. the count after reading the new email changed to (2)

When an unread email is read, the unread count should decrement by 1 and never to a value less than 0.
Bug: tb debug perma - Assertion failure: staticPrefValue == preferenceValue (Preference 'browser.sessionstore.platform_collection' got modified since StaticPrefs::browser_sessionstore_platform_collection_AtStartup was initialized. Consider using an `always`
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2022-07-19 00:45:31+00:00
Resolved: 2022-08-08 06:21:21+00:00

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

---
```

```
Bug: The sort by drop down box for search results isn't working
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2022-07-19 03:18:52+00:00
Resolved: 2022-07-19 10:04:04+00:00

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

Steps to reproduce:

Search for a keyword - went to results - tried to sort by date and the box is locked


Actual results:

Search for a keyword - went to results - tried to sort by date and the box is locked


Expected results:

the drop down should have worked
Bug: Fresh Install of Thunderbird 102 unable to use OS contacts on macOS 12.4
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2022-07-19 05:01:56+00:00
Resolved: 2022-07-20 01:44:50+00:00

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

Steps to reproduce:

I've done a fresh install of Thunderbird 102 on macOS 12.4 (Monterey).  On this system, Thunderbird does not see any of the contacts stored in the OS Contacts application.

Within Thunderbird, the Address book -> Mac OS X Address Book screen shows "no contacts available", despite there being many contacts visible within the Contacts application provided in the OS.  Email addresses listed in the Contacts application are not suggested when entering new names/addresses in the To/CC/BCC fields when composing messages (unless the addresses are also store in another address list, such as collected addresses).


Actual results:

This issue might be due to "enhanced" OS security features added in more recent macOS releases.

The OS System Preferences -> Security & Privacy -> Privacy -> Contacts screen does not list Thunderbird as a program that has ever requested access to the OS Contacts, and there is no way to manually enable/disable this access from this screen for Thunderbird unless the OS reports that the program has actually requested access.


Expected results:

Previous versions of Thunderbird (e.g. 91) showed addresses listed in the OS application in the Thunderbird Address book -> Mac OS X Address Book screen and also suggested these addresses in the To/CC/BCC fields when composing messages.
Bug: Delays While Typing
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2022-07-19 05:28:25+00:00
Resolved: 2022-12-18 13:24:12+00:00

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

Steps to reproduce:

Type a message.  It is not predictably reproducible.  However, it happens frequently.


Actual results:

While typing, the letters displayed to not keep up with the keystrokes.  Most of the time, they do keep up.  However, there are times when there is a delay.  When the delay ends, the typed characters display normally.  This occurs while typing new messages.


Expected results:

The characters being typed should never be delayed on displaying.
Bug: bustage due to extra nsITransfer.init() param added in bug 1739348
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2022-07-19 10:27:46+00:00
Resolved: 2022-09-14 17:02:29+00:00

Looks minor - there's an extra (optional) bool param added to nsITransfer.init():

```
* @param aOpenDownloadsListOnStart true (default) - Open downloads panel.
*                                  false - Only show an icon indicator.
*                                  This parameter is optional.
```
 I _think_ we want false here, but it might not matter either way.
Bug: no default disabling of threaded view possible with lots of imap-folders in thunderbird 102
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2022-07-19 13:28:29+00:00
Resolved: 2022-07-26 04:57:11+00:00

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

Steps to reproduce:

User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.0.2 64-Bit

as well as

User-Agent:  Mozilla/5.0 (Windows NT 10.0; rv:102.0) Gecko/20100101 Thunderbird/102.0.2 32-Bit

i'm working on imap having about 300 folders and subfolders to handle.

after upgrading to thunderbird 102 "sort by ... threaded" seems to be the new default setting for folder views as in all the folders that were set to "sort by ... unthreaded" by default before the upgrade the view is now "threaded".

it's possible to set view > sort by > unthreaded manually per folder.


Actual results:

but as i have lots of folders to handle i don't want to switch every single one of them to "unthreaded" manually.

so, in the config editor i changed "mailnews.default_view_flags" from default 1 to 0. but that didn't change a thing. the folders with threaded view before changing the setting in the config editor are still threaded.


Expected results:

it should have changed the view to unthreaded for all the folders, but it didn't. 

i posted in the support board, and it seems the specific problem might be that i have lots of folders as others get their views unthreaded after changing that setting "mailnews.default_view_flags" from default 1 to 0: https://support.mozilla.org/en-US/questions/1383023#answer-1520487

i also tried to set that value to 32 with no effect.

so i assume there might be a bug causing thunderbird 102 to not being able to handle that change of view when the amount of folders to handle is beyond a certain amount.
Bug: no default disabling of threaded view possible with lots of imap-folders in thunderbird 102
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2022-07-19 13:31:15+00:00
Resolved: 2022-07-19 16:42:21+00:00

Steps to reproduce:

User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.0.2 64-Bit

as well as

User-Agent:  Mozilla/5.0 (Windows NT 10.0; rv:102.0) Gecko/20100101 Thunderbird/102.0.2 32-Bit

i'm working on imap having about 300 folders and subfolders to handle.

after upgrading to thunderbird 102 "sort by ... threaded" seems to be the new default setting for folder views as in all the folders that were set to "sort by ... unthreaded" by default before the upgrade the view is now "threaded".

it's possible to set view > sort by > unthreaded manually per folder.


Actual results:

but as i have lots of folders to handle i don't want to switch every single one of them to "unthreaded" manually.

so, in the config editor i changed "mailnews.default_view_flags" from default 1 to 0. but that didn't change a thing. the folders with threaded view before changing the setting in the config editor are still threaded.


Expected results:

it should have changed the view to unthreaded for all the folders, but it didn't. 

i posted in the support board, and it seems the specific problem might be that i have lots of folders as others get their views unthreaded after changing that setting "mailnews.default_view_flags" from default 1 to 0: https://support.mozilla.org/en-US/questions/1383023#answer-1520487

i also tried to set that value to 32 with no effect.

so i assume there might be a bug causing thunderbird 102 to not being able to handle that change of view when the amount of folders to handle is beyond a certain amount.
Bug: Upon restart Thunderbird does not remember customised AppMenu position (AppMenu always moved to right-most position)
Status: RESOLVED
Priority: --
Resolution: WONTFIX
Created: 2022-07-19 14:49:44+00:00
Resolved: 2024-08-27 04:33:20+00:00

Windows 10
version 102.0.2

Start Thunderbird in Normal Mode.
Use 'Customise' Mail Toolbar - I positioned the 'Menu icon' on far left of 'Mail Toolbar' and also positiona asepartor between 'Menu icon' and 'Get Messages' button.
Later I exit Thunderbird.
Upon restart the separator is still on the left, but the Menu icon has reverted to the right. This is wrong.

Reset the Menu Icon on far left.
Went into Troubleshoot Mode - 'Help' > 'TRoubleshoot Mode'
Did not select any of the checkboxes - just 'Continue in TRoubleshoot mode'
by default the 'Menu icon' was now on far right - expected as this is the default.
Later return to normal - 'Help' > 'Turn Troubleshoot Mode off'
Thunderbird restarts in normal mode.

However, the 'Menu icon' is still on the far right. It did not return to the far left as per my customise selection.

Expect: any customise selections to be retained and used in normal mode because I did not select the Troubleshoot option 'Reset Toolbars and controls' nor did I make any customisation whilst in Troubleshoot Mode.

The 'Menu icon' should have appeared positioned on the far left when I returned to Normal Mode.

Exit Thunderbird.
Open the xulstore.json file.
the 'button-appmenu' is written to be on far right.
Start Thunderbird and Menu app icon is on the right.
Use 'Customise' and reposition on the far left - in image it is shown on the left side.
Exit Thunderbird and check the 'xulstore.json' file and now it is correctly showing the 'button-appmenu' followed by separator' on far left.
Open Thunderbird - separtor on far left and menu icon on far right - this is wrong.
Open xulstore.json and now the separator is on the far left and the button-appmenu' is on far right.

Something is overwriting the xulstore.json upon start and whilst it remembers the position of any item added via Customise, it is rewriting the position of the menu icon which is not acceptable.

The default position of the 'menu app icon' is not a logical position because I read from left to right, so all menus would be on my left.
This was never a problem in version 91.11.0 or indeed any previous version.
I updated to version 102.0.2   (did not use any beta etc before updating) and this is a new fault. 

To be honest this fault is driving me potty and it's position is very important. 
I should not have to keep moving things back to correct setting upon every start up.
Bug: Console errors on new 102 install after just setting up a gmail IMAP account - Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIRequest.name] OAuth2.jsm:171 onStateChange resource:///modules/OAuth2.jsm:171
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2022-07-19 17:37:23+00:00
Resolved: 2023-04-05 14:02:43+00:00

102.0.3 (64-bit), Win10

Console looks pretty red after just setting up a gmail IMAP account on a fresh 102 install. See attachment; the most relevant listed here:

---

NS_ERROR_NOT_IMPLEMENTED: Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIRequest.name] OAuth2.jsm:171
    onStateChange resource:///modules/OAuth2.jsm:171

---

Unknown Collection "thunderbird/password-recipes" RemoteSettingsClient.jsm:143
    UnknownCollectionError resource://services-settings/RemoteSettingsClient.jsm:143
    sync resource://services-settings/RemoteSettingsClient.jsm:502
    InterpretGeneratorResume self-hosted:1422
    AsyncFunctionNext self-hosted:632
    (Async: async)
    _importingPromise resource://services-settings/RemoteSettingsClient.jsm:365
    InterpretGeneratorResume self-hosted:1422
    AsyncFunctionNext self-hosted:632
    (Async: async)
    get resource://services-settings/RemoteSettingsClient.jsm:371
    InterpretGeneratorResume self-hosted:1422
    AsyncFunctionNext self-hosted:632
    (Async: async)
    reset resource://gre/modules/LoginRecipes.jsm:134
    LoginRecipesParent resource://gre/modules/LoginRecipes.jsm:62
    get recipeParentPromise resource://gre/modules/LoginManagerParent.jsm:1450
    sendLoginDataToChild resource://gre/modules/LoginManagerParent.jsm:515
    receiveMessage resource://gre/modules/LoginManagerParent.jsm:290

---

[Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIMsgAccountManager.loadVirtualFolders]"  nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)"  location: "JS frame :: chrome://messenger/content/msgMail3PaneWindow.js :: loadPostAccountWizard :: line 882"  data: no] msgMail3PaneWindow.js:882:20
    loadPostAccountWizard chrome://messenger/content/msgMail3PaneWindow.js:882
    AsyncFunctionNext self-hosted:632
    (Async: async)
    _onMessageReceived chrome://messenger/content/msgMail3PaneWindow.js:627

---

[HEAD, GET, PROPFIND, PUT errors related to accounts.google.com, see attachment]

---

about:addressbook : Unable to run script because scripts are blocked internally. 30 (existing bug)
Bug: Console errors on new 102 install after just setting up a gmx IMAP account
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2022-07-19 18:12:36+00:00
Resolved: 2022-07-23 11:11:56+00:00

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

102.0.3 (64-bit), Win10

Console looks pretty red during autoconfig of a GMX IMAP account on a fresh 102 install. See attachment; the most relevant listed here:

Ben B., some of these seem autoconfig related, anything we can do about that? Or anything we should tell gmx?

---

NS_ERROR_NOT_IMPLEMENTED: Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIAutoCompleteInput.popupElement] LoginManagerPrompter.jsm:90
    observe resource://gre/modules/LoginManagerPrompter.jsm:90

---

XML Parsing Error: mismatched tag. Expected: </img>.
Location: https://www.gmx.net/.well-known/autoconfig/mail/config-v1.1.xml?emailaddress=johndoexxx%40gmx.de
Line Number 121, Column 7: config-v1.1.xml:121:7

---

XML Parsing Error: mismatched tag. Expected: </img>.
Location: https://www.gmx.net/autodiscover/autodiscover.xml
Line Number 121, Column 7: autodiscover.xml:121:7

---

[GET errors checking gmx.net, see attachment]