av9ash/GitBugs huggingface dataset:
Bug: Function traverseSubfolders() might loop forever if IMAP account has access to an "Other User's Folder"
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2024-05-25 19:08:58+00:00
Resolved: 2024-05-26 07:36:04+00:00

Steps to reproduce:

Have an IMAP account which has access to another users folder (e.g. via access control on the server side)
In an add-on call (e.g.) messenger.accounts.list(true)


Actual results:

Error console (in TB127b3) shows
  InternalError: too much recursion FolderLookupService.sys.mjs:71:29
which is function traverseSubfolders()


Expected results:

List of subfolders should be returned.
Bug: OpenPGP state is partly shifted out of the screen when the subject is too long
Status: UNCONFIRMED
Priority: --
Created: 2024-05-25 19:13:34+00:00
Resolved: 2024-05-27 09:08:08+00:00

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

Steps to reproduce:

I wrote an email (or received one) with an object long enough to be on multiple lines.


Actual results:

The OpenPGP logo, confirming the safety of the message, on the left of the object was badly rendered, the last P was outside of the screen.


Expected results:

The logo should look well and stays inside the screen, instead of trying to escape.
Bug: Intermittent comm/mail/components/extensions/test/xpcshell/test_ext_utilities.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2024-05-25 20:07:24+00:00
Resolved: 2024-05-29 12:35:21+00:00

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

---
```

```
Bug: thunderbird reading panel shakes hovering over very long link
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2024-05-26 11:13:00+00:00
Resolved: 2025-02-02 18:01:41+00:00

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

Steps to reproduce:

in the reading panel hover over link with long url


Actual results:

the reading panel shakes


Expected results:

the reading panel won't shake
Bug: Menu Bar for Plain Text Messages should include the Insert option for Characters and Symbols
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2024-05-26 14:44:54+00:00
Resolved: 2024-05-27 11:08:12+00:00

The ability to insert characters and symbols is on the Menu Bar>Insert menu for HTML messages, but the option is not available for plain text messages. The Characters and Symbols menu allows insertion of non-HTML characters that are equally appropriate for plain text messages. This shortcoming is implicit in bug # 287879, but that appears focused on greying of unused entries. I propose this option, as it will provide an Insert menu for plain text messages for special characters.
Bug: When importing from LDIF, groupOfNames objects are automatically imported as mailing lists, even though some of them were never intended to be ones
Status: UNCONFIRMED
Priority: --
Created: 2024-05-26 15:44:06+00:00
Resolved: 2024-08-28 19:43:26+00:00

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

Steps to reproduce:

1. Have a .ldif file with the following contents:

dn: cn=A,mail=testmailbox@testdomain
cn: A
mail: testmailbox@testdomain
homephone: 123
objectclass: top
objectclass: person

dn: cn=B
cn: B
homephone: 456
objectclass: top
objectclass: person

dn: cn=TestGroup
cn: TestGroup
uid: TestGroup
display-name: TestGroup
objectclass: top
objectclass: groupOfNames
member: cn=A,mail=testmailbox@testdomain
member: cn=B

2. Import this file into Thunderbird's address book.


Actual results:

Both A and B are imported, and a mailing list named TestGroup is created, with A as its only member.


Expected results:

Since the above LDIF file represents just some group of contacts from another application I used as my PIM, and that file was never intended to be used as a mailing list, no mailing list should be created.
At the very least, a warning for the user should be produced, like "Thunderbird can only treat a list of contacts as a mailing list. If you meant to create one, then not all of your contacts have e-mail addresses".
Under RFC 4519, "The 'groupOfNames' object class is the basis of an entry that represents a set of named objects including information related to the purpose or maintenance of the set". I.e., entries (including lists of contacts) with groupOfNames as their objectclass, are not necessarily mailing lists.
Bug: Tooltip showing or not showing using cursor hover in message pane subject line
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2024-05-26 17:52:18+00:00
Resolved: 2024-05-27 08:04:51+00:00

Steps to reproduce:

In the message pane with previous versions of TB, if the wording for the subject was too long for the display, hovering the cursor over whatever wording was showing used to display a tooltip showing the complete wording. This occurred whether the message had been read or not.




Actual results:

This only happens with v115 under specific circumstances. It does not happen if the message is still shown as unread (but see below). If it has been read, the tooltip appears. However, if that newsgroup or email account is exited, another one viewed, and then the original account returned to, the tooltip does not appear until the message has been read again (even if it is already shown as read). Also, if the read message is marked as unread through a right-click on its line in the message pane, the cursor hover tooltip still appears as long as the account hasn't been exited first (i.e. in the same way as mentioned above).


Expected results:

According to the previous versions, hovering the cursor over the subject line in the message pane showed the full wording of the subject.

As TB already has access to the full wording in the subject in the message pane whether the message has been downloaded or not, why does the message need to be read first to show the full wording in the tooltip?
Bug: Moving a folder that has a message open in a tab causes the tab to become blank when Thunderbird is restarted
Status: NEW
Priority: --
Created: 2024-05-27 06:40:58+00:00
Resolved: 2024-10-29 13:26:21+00:00

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36

Steps to reproduce:

1) With my messages set to open in tabs, rather than windows, I opened a message, then moved its folder.
2) I reselected the message tab to verify that the message was still visible; it was.
3) I exited Thunderbird and restarted it.

I tested this in Thunderbird 115.10.2 on Manjaro Xfce.


Actual results:

When I found the tab that the message had been displayed in, both the tab's title and contents were blank.  Moving the folder back and exiting and restarting Thunderbird didn't fix the message tab.  I consider this to be a serious bug, because it results in the loss of information, at least for users who keep messages open because they want to respond to them later.


Expected results:

The message tab should not be affected by moving its folder, even after the program is restarted.
Bug: comm/testing/marionette not on sys.path when running Marionette tests
Status: NEW
Priority: --
Created: 2024-05-27 08:47:13+00:00
Resolved: 2024-06-11 09:56:55+00:00

For local development, [thunderbirdinstance.py](https://searchfox.org/comm-central/source/testing/marionette/thunderbirdinstance.py) needs to be on the path to set some preferences, or Thunderbird will crash immediately on opening. This presumably used to work as that's what's happening [here](https://searchfox.org/mozilla-central/rev/3609b689a2c2ba7d75c4f047aee1546b86bc51bb/testing/marionette/client/marionette_driver/geckoinstance.py#672), and manually adding to the path at this point works.
Bug: Number of new mails is still showing in the taskbar after reading them
Status: UNCONFIRMED
Priority: --
Created: 2024-05-27 13:30:17+00:00
Resolved: 2024-05-27 13:30:17+00:00

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

Steps to reproduce:

Should be the same issue like in Bug 1849620. The only way to reproduce it is reading emails, then the 'badge' reduces the count or stay the same.





Expected results:

Count of unread emails have to be precise, in my opinion this is a very important feature. (115.11.0)
Bug: Messages don't show in inbox
Status: UNCONFIRMED
Priority: --
Created: 2024-05-27 14:59:00+00:00
Resolved: 2024-05-27 15:00:38+00:00

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

Steps to reproduce:

Use email as  normal.


Actual results:

As of a week or two ago, some of the emails in my inbox don't show in my inbox. If I use the search box I can find them in another tab, and if I open the message in thread view it shows that it's in the inbox. But in the main inbox view it's not there. And if I view my IMAP account through webmail from the provider (Dreamhost) I can also see the messages are there. I have the inbox set to display conversations as "unthreaded" so it's not just that I have neglected to expand the conversation or anything.


Expected results:

All emails in the inbox should be visible in the inbox.
Bug: "Attach the source of this link to the message" is always unchecked when opening "Link Properties"
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2024-05-27 15:44:38+00:00
Resolved: 2024-07-06 00:34:07+00:00

__Steps to reproduce:__
1. Compose a new HTML message.
2. Insert a link, such as "https://bugzilla.mozilla.org/show_bug.cgi?id=1787143", with "Attach the source of this link to the message" unchecked.
3. Save the message as draft.
4. View the message source.

__Expected result:__
The draft message consists only of some HTML containing the inserted link.

__Actual result:__
Console shows
```
Uncaught TypeError: can't access property "value", gMsgCompInputElement is undefined
    OnAcceptDialog chrome://messenger/content/messengercompose/EdImageLinkLoader.js:50
    _fireButtonEvent chrome://global/content/elements/dialog.js:515
    _doButtonCommand chrome://global/content/elements/dialog.js:494
    _handleButtonCommand chrome://global/content/elements/dialog.js:488
    doCommand chrome://messenger/content/messengercompose/ComposerCommands.js:1487
    goDoCommand chrome://messenger/content/globalOverlay.js:99
    oncommand chrome://messenger/content/messengercompose/messengercompose.xhtml:1
```
after step 2. ~~The draft message contains additionally a base64-encoded part with the source of the link.~~
Bug: [TB 127.0b3] Messages count, while downloading, is incorrect
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2024-05-28 11:24:52+00:00
Resolved: 2024-06-12 01:16:31+00:00

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

Steps to reproduce:

TB is downloading messages to Inbox/Sent folders


Actual results:

Displays the count wrongly - as seen in the attachment


Expected results:

Display the count correctly
Bug: Can't sort messages by Priority
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2024-05-28 13:49:59+00:00
Resolved: 2024-05-30 14:57:20+00:00

I recently added a message filter to change the priority of some received messages. This works, as I confirmed the priority is set using advanced search. The `Sort By` list shows `Priority` but it is disabled. I assumed previously this was because all messages were the same priority.

For that matter, it looks as if there are a number of other `Sort By` fields disabled which ought to be possible (e.g. `From`, `Received`, `Size`).

It'd also be nice if you could quick-filter by `Priority`. However that should probably be a separate bug.
Bug: When a tab that opens a PDF attached to a mail in the maildir folder is restored, the tab will display a calendar panel etc. instead of the PDF if the mail could not be loaded due to an error
Status: UNCONFIRMED
Priority: --
Created: 2024-05-28 16:26:44+00:00
Resolved: 2024-11-08 16:01:05+00:00

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:115.0) Gecko/20100101 Thunderbird/115.11.0

#### Steps to reproduce:
1. Set up a POP account with message storage type "File per message (maildir)".
2. Receive a mail with a PDF attached.
3. Open the PDF attached to the mail in a tab.
4. Delete the mail.
5. Restart Thunderbird.

#### Actual results:
The title of the tab that was displaying the PDF became "Problem Loading Page" and the tab content became blank.
Actually, "calendarTabPanel" is displayed, and once I displayed the calendar, the same calendar was displayed on the tab that was displaying the PDF.

#### Expected results:
The tab should display an error message.

#### Addtional Information:
If an error occurs while restoring six tabs of a PDF, each tab will display the following.
* 1st tab: "mail3PaneTab1"
* 2nd tab: "calendarTabPanel"
* 3rd tab: "calControlBarMenuPopup"
* 4th tab: "calendarItemPanel"
* 5th tab: "mail3PaneTab1"
* 6th tab: "contentTabWrapper0"
* 7th tab: "contentTabWrapper0"

"contentTabWrapper0" displays an error message.
The same problem occurs with Daily, and a similar situation occurs with Ver.91.
This bug was detected in bug 1858157.
Bug: Heading of message with Card view in "Inbox" under folder "Unified Folders" is display nothing
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2024-05-29 07:31:58+00:00
Resolved: 2024-05-29 11:50:44+00:00

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

Steps to reproduce:

TB: 115.11.0 (64-bit)
1. Open program, wait until all message retrieve.
2. Click in Inbox folder under Unifiled Folders.
3. Click the first message, read message on the right pan view (Card view)
4. Delete the read message, next message show up. Keep this step until the bug apprear.
5.  Try to deleted but go no where, message not move to next one as usual.


Actual results:

Header of the first email message in center pan display only date/time but:
- Blank title
- can't delete message
- display funny date/time


Expected results:

Header of message in center pan display normal field:
1. From:
2. Date/time
3. Title
Bug: 'Release' version got upgraded to ESR and showed a webpage (start page) for Daily
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2024-05-29 07:54:54+00:00
Resolved: 2024-06-20 10:57:11+00:00

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

Steps to reproduce:

I used Thunderbird's inbuilt updater to (1) see what was new and (2) update.


Actual results:

I was on the release version of Thunderbird. (I forget the version number. 115.something?) The 'what's new link' showed [this webpage for the daily version](https://start.thunderbird.net/en-US/daily/?uri=/thunderbird/releasenotes/&locale=en-GB&version=115.11.1&channel=esr115) (a link that has 'esr' within its title!) and the upgrade seems to have put me onto the Extended Support Release.


Expected results:

Users of the standard release should stay on the standard release. Or, if the standard release is being replaced (is it?) then users should be told. And the 'what's new' page ought to be consistent with whatever version one has been / is about to be upgraded to.
Bug: mid: links are not recognized in plain text messages
Status: UNCONFIRMED
Priority: --
Created: 2024-05-29 11:11:04+00:00
Resolved: 2024-07-15 09:09:59+00:00

Steps to reproduce:

Follow up to the bug #1785790 comment #8.

- clean profile, `thunderbird --profile /tmp/profile --safe-mode`, continue in troubleshooting mode
- add a news account
- compose a message, add to its body
  ```
  mid:123@localhost
  mid:ABC@mail.gmail.com
  ```
- save the message
- open the message in the Drafts folder


Actual results:

- `mid:123@localhost` is not recognized as a link
- `mid:ABC@mail.gmail.com` is recognized as a `mailto:` link


Expected results:

Both links are recognized as `mid:` links.

Linux, minimal LXC container with no other applications.

There is no such issue with my regular v115 profile.
Bug: Thunderbird, the download dialog  gets hung when I try to save an attachment to a particular directory, which has eight thousand file/direcotry entries.
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2024-05-29 11:58:56+00:00
Resolved: 2024-10-25 18:54:22+00:00

I am using TB 64-bit version under windows 10.
The current version is 115.11.1 (64 bit), but the previous version also showed the same symptom.

When I try to save a particular attachment to a particular directory TB's download dialog gets hung and TB main windows does not respond and I have to kill TB.

I narrow down the issue to the choice of save directory.
So far, only the download to a particular directory that has 8352 entries according to file explorer fails.
This problematic directory is L:\users\ci\Downloads

If the target directory has much fewer entries  it works OK. (I just checked that saving to  a directory that contains about 4 entries, and is under the problematic directory  works without a hitch.)

Strange thing is that saving to a directory that has  2654 entries also work without a hitch.
I say "strange"  because Windows file explorer almost always pause for a dozen seconds or much more to read directory entry information from this directory when I try to list files according to its modification time.
I though 2000 entries were a bit excessive, but was flabbergasted to realize l:\users\ci\Downloads have more than 8K entries since file explorer NEVER pauses to read or list the content of this directory when I request to sort the entries according to modification time. So I did not realize l:\users\ci\Downloads have so many entries.

My take on this is that there may be a suboptimal or buggy code that cannot handle
that many entries in the selected save target directory? Possibly an incorrect allocation issue when the buffer to store the entries get extended?
I say this because the list of file/directory entries shown in the download dialog 
is empty after I kill and restart the TB when it gets hung.

I will show the screendumps to explain this.
Bug: cascading message reappear when window is changed
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2024-05-29 18:01:40+00:00
Resolved: 2024-11-05 12:04:11+00:00

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

Steps to reproduce:

Email will be open and -> will show there are additional messages that are collapsed.


Actual results:

When I change the screen to perhaps sent email and go back to the inbox, the -> will expand showing all message, even though they were not all open when I left the inbox.


Expected results:

Should have remained in a collapsed state, was it was prior to leaving the inbox window.
Bug: cannot see my accounts, just chat tab showing
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2024-05-29 18:07:19+00:00
Resolved: 2024-06-03 10:26:07+00:00

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

Steps to reproduce:

Uninstall and reinstall the app. I did this as no matter what I click on the app, none of the options work


Actual results:

My emails and accounts disappeared. I cannot see my accounts/emails as they suddenly disappeared. I am able to see my accounts when I go to File > Get New Messages, but I am unable to do anything with my Thunderbird app. It shows nothing no matter where I click. The app is updated, and I have even uninstalled and reinstalled it.


Expected results:

Someone might have hacked this app.
Bug: Unread Folders: message numbers in parent folders do not clear when messages are read
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2024-05-29 22:56:29+00:00
Resolved: 2024-05-30 20:20:59+00:00

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

Steps to reproduce:

I have parent folders with subfolders. I have new message which are moved by filters to the subfolders. The Unread Folders view shows the number of unread messages in the parent and subfolder. When the message in the subfolder is read, the number next to the subfolder dissappears, but the parent folder still shows the number of unread messages in the Unread Folders view.


Actual results:

see above


Expected results:

In the Unread Folder view, when a message in a subfolder is read, the entire tree should update to show that the message has been read.
Bug: [127.0b3 (64-bit)] Thunderbird excessive writes - occupies 60GB of the disk space
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2024-05-30 07:28:13+00:00
Resolved: 2024-05-30 12:01:02+00:00

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

Steps to reproduce:

TB 127.0b3 (64-bit) on Windows 11
Open thunderbird, and setup 10 mail accounts. 1 Gmail account is approx 10GB in size. Two other mail accounts total up to 8GB. 
All the accounts mailboxes, in total, should be 20GB at most. 


Actual results:

Windows c:\ drive is runs out of space. 
On running the 'diskusage' command line utility; the report shows that Thunderbird related folders account for 60GB of storage space. 
Before starting Thunderbird, the available space is 25GB.
Once Thunderbird runs for an hour, the 25GB is gone, and the disk shows 0GB free.
If Thunderbird is closed, then within a few minutes, the available space returns to 20+ GB. 

the diskusage report is attached, for your reference. 


Expected results:

Expected Thunderbird to occupy 20GB + installable = 22GB at most. 
Do not expect Thunderbird to significantly contribute to an out-of-disk storage situation.
Bug: frequent tab closures
Status: UNCONFIRMED
Priority: --
Created: 2024-05-30 12:12:57+00:00
Resolved: 2024-06-12 13:15:53+00:00

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

Steps to reproduce:

If you have 4+ emails open in different tabs and then select 15+ messages from the Inbox and move into a folder, the tabs of the open emails close automatically.


Actual results:

The emails that I had open in separate tabs closed when I didn't want to.


Expected results:

The emails should have remained open in the tabs.
Bug: In main window cannot use Ctrl-PageDown to switch to another tab
Status: NEW
Priority: --
Created: 2024-05-30 13:05:44+00:00
Resolved: 2024-10-25 13:01:28+00:00

Using TB 115, when in the mail main window, with additional tabs open (e.g. calendar or an open email in a tab),
I could use the keyboard shortcuts CTRL-PageDown or CTRL-PageUp to switch to one of the other open tabs.

This no longer works for me on Linux.
Instead, the shortcut scrolls the message list.

Interestingly, if the currently active tab is another tab (e.g. calendar or email open in a tab), the shortcut still works to cycle through open tabs (until I arrive at the main email hierarchy tab).
Bug: perma Assertion failure: cache->GetWrapperMaybeDead() == obj || (js::RuntimeIsBeingDestroyed() && !cache->GetWrapperMaybeDead()), at /builds/worker/workspace/obj-build/dist/include/mozilla/dom/BindingUtils.h:1535 - browser_markAsRead.js failing
Status: RESOLVED
Priority: P5
Resolution: WORKSFORME
Created: 2024-05-30 13:08:39+00:00
Resolved: 2024-08-29 08:35:26+00:00

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

---
```
For comm/mail/base/test/browser/browser_markAsRead.js
```