av9ash/GitBugs huggingface dataset:
Bug: Attachment icon missing on message in list when working in IMAP online mode (keep messages on computer OFF)
Status: NEW
Priority: --
Created: 2022-02-15 10:26:33+00:00
Resolved: 2022-08-24 09:04:00+00:00

In Thunderbird > Mail > Message List, the attachment icon tends to be missing (not showing) when working with IMAP in online mode (keep message on computer OFF). They only appears ones the message is selected and attachments loaded in message preview pane... but do not always stay on screen over time either. Sometime when browsing various folder the icon disappear on some messages till they are loaded again.

It would be expected that as soon as the message **header** is loaded in folder view, the attachment icon appears immediately to indicated a message contains attachment(s). It isn't the case currently.
Bug: selectFolder does not work from Unread view
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2022-02-15 10:27:09+00:00
Resolved: 2024-05-16 11:10:57+00:00

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

Steps to reproduce:

Please see https://github.com/opto/nostalgy-xpi/issues/137
In nostalgy, when jumping to a folder from the Unread view using selectFolder, the jump does not work. When doing the jump from an All view, it seems to work.

A potential related issue (also Nostalgy-related from 13 years ago) is bug 350839
Bug: Event details missing from email view if email has HTML part
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2022-02-15 15:53:32+00:00
Resolved: 2022-02-16 14:09:07+00:00

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

Steps to reproduce:

Send a calendar event invitation from something that generates an HTML message along with the invitation. I've observed this with MS Teams and Google Calendar, both of which send messages with text/plain, text/html, and text/calendar parts.

This is running Thunderbird 91.5.0, on Linux Mint.


Actual results:

The message window displays the HTML part of the message, but it does not display the event details. It's worse with Teams, because the HTML message itself does not include the event time.

If I send a message from Thunderbird's interface, then it *does* show the event details. In that case, the message contains a text/plain part, but does not contain a text/html part.


Expected results:

There should be a way to display the event details from the text/calendar or application/ics part of the message in addition to the text/html or text/plain part.
Bug: slow rendering of an email - many <mailto:xxx>
Status: NEW
Priority: --
Created: 2022-02-15 16:00:48+00:00
Resolved: 2024-11-01 07:42:54+00:00

I was helping someone to build LibreOffice on Windows and they sent me bits of text that were syntax-highlighted code, copied from https://wiki.documentfoundation.org/Development/lode#Getting_Started

Displaying it is very slow, especially, if I hit Reply.

I anonymised the mail and trimmed it down. It does reproduce the slowness although sometimes it renders quickly. It was even slower with the full quoted discussion present.

TB 91.6.0 (64-bit)
Arch Linux
Bug: Profile automatically goes to deafult
Status: UNCONFIRMED
Priority: --
Created: 2022-02-15 16:12:17+00:00
Resolved: 2022-02-18 19:51:06+00:00

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

Steps to reproduce:

update to 91.6.0


Actual results:

upon opening thunderbird it went to the default profile.  I tried going to thunderbird.exe -p and selecting my profile and it went to the default profile.  I even tried going to the default profile and got the same thing.  I tried creating a new profile and selecting my profile and got the same thing.


Expected results:

My email should of opened up like it normally does.
Bug: If Thunderbird is not running, clicking a mailto: link invokes the message compose window to be launched but not Thunderbird and then a compose window
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2022-02-15 22:05:46+00:00
Resolved: 2024-04-29 12:33:22+00:00

I was able to repro this behavior in 98.0b2 like so:

1. With TB not running, visit https://distrowatch.com
2. At the bottom, click the mailto link for "Jesse Smith"
3. TB will launch a compose window, not TB and THEN a compose window
4. After sending a message, the Compose window disappears but TB is nowhere to be found

I feel like previously TB would launch and then fire up a compose window. If this is a new behavior of 98, it's a bit disorienting.
Bug: Thunderbird consumes a lot of processor power after machine resumes from being suspended
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2022-02-15 22:32:42+00:00
Resolved: 2022-07-06 11:58:25+00:00

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

Steps to reproduce:

1. Launch Thunderbird
2. Suspend the machine
3. Wait a while (it's always been at least a few hours when I've had this issue)
4. Resume the machine
5. Observe the whole machine seems sluggish, and that one of the processor cores is maxed out
6. Use the OS resource manager, or `top`, and note that `xorg` is the biggest CPU consumer
7. Quit Thunderbird (Ctrl+Q)
8. Observe that `xorg` goes back to normal, the CPU relaxes, and the machine doesn't seem laboured any more
9. Restart Thunderbird—whatever it was doing, it doesn't seem to need to do any more, because neither `xorg` nor any of the processor cores seem that laboured


Actual results:

Thunderbird causes `xorg` to be a resource hog.


Expected results:

Thunderbird plays nicely.
Bug: GCC build failure comm/mailnews/local/src/nsMsgLocalStoreUtils.cpp error: '0' flag ignored with precision and ‘%x’ gnu_printf format [-Werror=format=]
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2022-02-16 04:08:36+00:00
Resolved: 2022-02-28 01:48:44+00:00

I am locally compiling C-C TB using GCC with -Werror flag (ignoring some warnings).
This is to check various language issues early on.

In comm/mailnews/local/src/nsMsgLocalStoreUtils.cpp
we have two format strings passed |nsPrintfCString()| that cause the following
errors (-Werror) due to the not quite meaningful specification.
The errors are as follows. The line numbers are slightly off due to local patches.
```
/NEW-SSD/NREF-COMM-CENTRAL/mozilla/comm/mailnews/local/src/nsMsgLocalStoreUtils.cpp:175:36: error: '0' flag ignored with precision and ‘%x’ gnu_printf format [-Werror=format=]
  175 |         auto out = nsPrintfCString("%04.4x", msgFlags & 0xFFFF);
      |                                    ^~~~~~~~
/NEW-SSD/NREF-COMM-CENTRAL/mozilla/comm/mailnews/local/src/nsMsgLocalStoreUtils.cpp:196:36: error: '0' flag ignored with precision and ‘%x’ gnu_printf format [-Werror=format=]
  196 |         auto out = nsPrintfCString("%08.8x", msgFlags & 0xFFFF0000);
      |                                    ^~~~~~~~
```
I think it is wise to remove unnecessary '0' if the format string was meant that way.

The following stackoverflow entry should explain what we may want to do here.
https://stackoverflow.com/questions/10071924/warning0-flag-ignored-with-precision-and-x-gnu-printf-format

Oops, there are other places where the problem may occur. (I am only halfway through building C-C/M-C TB using GCC after refreshing it this morning. I had build TB using CLANG for the last week or so in order to create ASAN build (I have failed to build GCC version of ASAN build for a while), and did not realize this issue until today.

This turns up two places where %04.4.x appears,
https://searchfox.org/comm-central/search?q=%2504.4x&path=

also, the following also shows two places where %08.8x appears.

https://searchfox.org/comm-central/search?q=%2508.8x&path=

We should specify what we mean without irrelevant leading '0' to avoid any misunderstanding IMHO.
Bug: Erratic mouse scrolling in Message Preview Pane
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2022-02-16 11:36:27+00:00
Resolved: 2024-02-17 15:43:50+00:00

Steps to reproduce:

I'm using TB 91.5.0 in Kubuntu 20.04 LTS.
Here is the description of my issue:
1. Select some HTML message in Mail List Pane. (It seems that plain-text messages are treated properly).
2. Move the mouse over Mail Preview Pane.
3. Don't move the mouse. Turn scroll wheel up/down. Nothing happens, scroll wheel doesn't scroll the message.
4. Now move the mouse a bit, staying over Mail Preview Pane.
5. Use your scroll wheel once again. Now it scrolls the message in Preview Pane properly.


Actual results:

When mouse cursor appears over Mail Preview Pane for the first time, scroller events are ignored.


Expected results:

Mouse scroll wheel should work as soon as mouse pointer is positioned over Mail Preview Pane.
Bug: Latest version of TB (= 91.6.1) does not allow Moves of emails (also in Nostalgy++) to folders which have a '+' in their name.
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2022-02-16 22:02:49+00:00
Resolved: 2022-02-17 11:20:17+00:00

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

Steps to reproduce:

Two related problems in latest version of TB (= 91.6.1):
(1) Cannot move/save emails via R-click Move - No list of folders.
(2) In Nostalgy++, a recipient folder can be selected but the save function ('S')  doesn't move the email if, but only if, there is a '+' in the selected folder's name.


Actual results:

As above.


Expected results:

The email(s) should have moved and the folders should have appeared on selecting Move.
Bug: GCC build issue: mailnews/base/src/nsMsgFolderCache.cpp  |nsresult| needs casting to be used against "%x" format string.
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2022-02-17 05:26:38+00:00
Resolved: 2022-03-08 19:12:16+00:00

I am locally compiling C-C TB using GCC with -Werror flag (ignoring some warnings).
This is to check various language issues early on.

There are "%x" format specifier used for printing |nsresult| within |MOZ_LOG()|.

They need to be cast to an integer value or otherwise GCC complains that value of type |nsresult| cannot be used for "%x".
Thus with -Wall, build fails.

The attached patch fixes the issue.
It has been used locally and tryserver push for a while.
For example, see https://treeherder.mozilla.org/jobs?repo=try-comm-central&revision=7fb3853717d7aa5ba14eb41d5452f6c4e8486def
Bug: Not possible to move e-mails between folders of 2 gmail imap accounts
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2022-02-17 09:16:13+00:00
Resolved: 2022-02-18 12:14:44+00:00

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

Steps to reproduce:

- I have two separate imap gmail accounts
- Drag and drop any e-mail from a folder of account A to a folder of account B

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:91.0) Gecko/20100101 Thunderbird/98.0b2 

(I reported this issue before on version 91.6. But it was marked invalid !!!! This bug is real and I tested it on different MAC, multipe MAC OS versions)


Actual results:

The e-mail remains and I get this error :

Server imap.gmail.com has disconnected. The server may have gone offline, or there may be a network problem.


Expected results:

The e-mail should be moved from account A to B
Bug: mach test false _HEAD_FILES resolving for xpcshell-tests in comm/mail/base/test/unit
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2022-02-17 10:40:08+00:00
Resolved: 2022-02-18 10:54:39+00:00

The head files resolving with `mach test` is different to `mach xpcshell-test` if xpcshell.ini includes another xpcshell-[anything].ini.

It's the same issue as Bug 1751880 .

Not a huge annoyance as here is just one test for the xpcshell_maildir.ini but I've seen it.
Bug: Hide app on mac via Command H does not work
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2022-02-17 14:03:46+00:00
Resolved: 2022-04-25 18:08:49+00:00

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

Steps to reproduce:

Command H to Hide Thunderbird in v98.0b2 (64-bit)


Actual results:

OS Menu UI acted like it was clicked but app was not hide.


Expected results:

Thunderbird should have be hidden, note: normal Thunderbird menu > Hide Thunderbird is still working.
Bug: Open attachment for some file extension stopped working
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2022-02-17 16:18:22+00:00
Resolved: 2022-03-07 18:43:32+00:00

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

Steps to reproduce:

I received an email with an attachment. DCMark_2022-02-17.log a text file.
I tried to open the file, both using the right click menu and double clicking on the file.

Thunderbird Version 91.6.1 on Windows 10 
Edition	Windows 10 Home
Version	21H2
Installed on	‎2020-‎06-‎26
OS build	19044.1526
Experience	Windows Feature Experience Pack 120.2212.4170.0



Actual results:

Nothing happens

In the error log I get this
ncaught (in promise) 
Exception { name: "NS_ERROR_NOT_AVAILABLE", message: "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIMIMEService.getFromTypeAndExtension]", result: 2147746065, filename: "chrome://messenger/content/msgHdrView.js", lineNumber: 1980, columnNumber: 0, data: null, stack: "open@chrome://messenger/content/msgHdrView.js:1980:35\n", location: XPCWrappedNative_NoHelper }
​
columnNumber: 0
​
data: null
​
filename: "chrome://messenger/content/msgHdrView.js"
​
lineNumber: 1980
​
location: XPCWrappedNative_NoHelper { QueryInterface: QueryInterface(), filename: Getter, name: Getter, … }
​
message: "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIMIMEService.getFromTypeAndExtension]"
​
name: "NS_ERROR_NOT_AVAILABLE"
​
result: 2147746065
​
stack: "open@chrome://messenger/content/msgHdrView.js:1980:35\n"
​
<prototype>: ExceptionPrototype { toString: toString(), name: Getter, message: Getter, … }
msgHdrView.js:1980



Expected results:

The file should have been opened with Notepad++
Bug: Message Source window Save Page As no longer works
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2022-02-17 19:03:47+00:00
Resolved: 2022-05-05 19:14:55+00:00

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

Steps to reproduce:

view a Message Source - either; 
(a) in Folder view, highlight an email and from the Main Menu, or (b) open the email, and from email window Menu;

Select View then Message Source or press CTRL+U. The Message Source window will open. 
From the Message Source window select File then Save Page As. In the File Save dialog, navigate to your chosen folder, provide a filename with a .txt extension and click Save. 


Actual results:

No file is saved - anywhere. It's not flagged as hidden or system and it's not in the recycle bin. However, looking in {AppData}\Roaming\Microsoft\Windows\Recent there is a link to the non-existent file. 
Tested on Thunderbird versions 91.6.0 and 91.6.1 on Windows 10 Pro, and independently verified on two different installations by two other people.


Expected results:

Text file of the message Source should be saved.
This was working on 18/1/22 (I have a saved fie). My records show Thunderbird v91.5.0 was installed at that time.
Bug: New mail indicator incorrect in unified folder view
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2022-02-17 19:17:44+00:00
Resolved: 2023-10-07 17:50:32+00:00

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

Steps to reproduce:

Set up multiple IMAP accounts with Junk mail folders enabled. Receive junk mail at one or more accounts.


Actual results:

Unified folders do not show any new mail notification or sometimes the Inbox folder will incorrectly show bold/highlighted with new mail (#) Indicator. Upon expanding the unified inbox folder no sub folders show a new mail indicator and further inspecting the mailboxes reveal no new messages.

The "non-unified" folder for the account(s) containing the "unread" messages will also show bold and have an unread # attached, but expanding that folder will also not show any folder that has an unread message.

You, as the user, have to magically know that the phantom message is actually in the "spam/junk" folder of the accounts in this case, because the unified folder for Junk does not show bold, or have any message # indicator. If you expand the junk unified folder it will reveal the accounts under it are in fact bold and have an unread message number indicator. If you check those sub folders you then see the referenced unread messages.

Basically the wrong unified folder (inbox) is marked unread with # instead of the junk folder. The main account folder also has an indicator but due to the "Unified" set up, the folder that has the unread message cannot veiewed from that context. 

The account folder should not have an unread indicator if there is no way to "find" the message under it as that makes for a poor user experience. Aside from that, flagging the correct unified folder so we don't get sent on a wild goose chase would be ideal.

The unified junk folder does show the unread messages in it if you click directly on it instead of expanding it. In this case thunderbird realizes the error of its ways and then moves the unread notifier from either being previously missing, or previously marked erroneously on the inbox folder to the correct unified junk folder that you just opened.



Expected results:

The software should work correctly and not send me on a wild goose chase.

Actual version 91.6.0 (64-bit)
I just updated to 91.6.1 so if the problem resolves itself I'll update the report.
Bug: UI freezes after using IRC for a while on GNOME/wayland
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2022-02-17 20:40:53+00:00
Resolved: 2022-10-20 15:20:06+00:00

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

Steps to reproduce:

Running Thunderbird 91.6.1 with IRC accounts connected on GNOME/wayland on Linux.


Actual results:

The UI gets laggy after 1 to multiple days running Thunderbird. It takes long when you click on a tab that it switches. In the end I restart TB as the behaviour becomes only worser with time...


Expected results:

TB should stay responsive.
If I disable IRC accounts: Chat -> Show Accounts -> Disconnect all accounts
the described behaviour does not happen. TB stays responsive even after running for multiple days.

I'll try to record a screen video.
If you have any suggestion how I could obtain more information, which logs I need to turn on etc, please let me know :)
Bug: Can't VIEW a CRASH report from given interface, and "This file does not have an app associated with it"
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2022-02-17 21:11:00+00:00
Resolved: 2022-03-18 16:42:27+00:00

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

Steps to reproduce:

Have Thunderbird crash.
Go to help menu, more troubleshooting information.
See latest bug.


Actual results:

Click bug to submit, and have that fail.
Then Thunderbird crashes again.
And again.


Expected results:

Submit bug report.
Bug: File Version of thunderbird.exe (Properties Details panel) does not match product version
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2022-02-17 23:02:13+00:00
Resolved: 2022-04-29 09:00:16+00:00

Steps to reproduce:

1. Try to find to install the latest version 91.6.1 with a critical patch
(https://www.mozilla.org/en-US/security/advisories/mfsa2022-07/) 

2. Verify the version of the exe


Actual results:

1. Thunderbird.net (partly) still offers: Version 91.6.0 February 8, 2022 https://www.thunderbird.net/en-US/thunderbird/all/
For example finnish versions URL: https://download.mozilla.org/?product=thunderbird-91.6.0-SSL&os=win64&lang=fi

2. Found the 91.6.1 from the ftp-site (about 14 hrs ago) https://ftp.mozilla.org/pub/thunderbird/releases/91.6.1/win64/fi/ -> installed it -> get the Properties of the thunderbird.exe -file -> It shows conflicting versions (file vs product)
Fileversion: 91.6.0.8080
Product version: 91.6.1


Expected results:

1. When the security advisory was released, we expected to be able to update from the official download site. About 14 hours ago thunderbird.net did not have it at all (it was only on the "ftp-site"). Now it can be found from the thunderbird.net main page, but not from the Systems & Languages page.

2. The Fileversion and the Product version of the exe should match (first three digits)?
Bug: New email alert with 91.6.1 (32-bit) still remains
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2022-02-18 07:37:52+00:00
Resolved: 2022-12-04 20:48:41+00:00

Steps to reproduce:

Nothing..... i've only received new emails


Actual results:

The Thunderbird icon on icons bar always shows the red symbol near the thunderbird icon, even if all the new emails are read.


Expected results:

The thunderbird icon with red circle should disappear from icons bar
Bug: News message can not be opened using URI provided by "Copy message location"
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2022-02-18 10:44:23+00:00
Resolved: 2024-05-28 20:57:03+00:00

Steps to reproduce:

I have problem with opening news messages from command line using URI obtained through "Copy message location" context menu item. It does no work in both 91 and 99 versions but it seems in different ways.

I would like to save URIs to my notes to be able to quickly open messages later.


Actual results:

```
thunderbird 'news://news.gmane.io:119/83mtiq0zhd.fsf@gnu.org'
```
Blank message pane. In thunderbird it works, but only once for each Message-ID

```
thunderbird -news 'news://news.gmane.io:119/83mtiq0zhd.fsf@gnu.org'
```
New window with folder view is created, message is not selected

```
thunderbird -mail 'news://news.gmane.io:119/83mtiq0zhd.fsf@gnu.org'
```
The window with folder view is raised but the message is not shown


Expected results:

- Message should be displayed when URI obtained using context menu.
- Unsure which particular option should work, but it should be clear from docs and from the `--help` message.
- Both `@` and `%40` variants works.

The following replacement works for thunderbird-99, but not for thunderbird-91 at all.
```
thunderbird 'news://news.gmane.io:119/83mtiq0zhd.fsf%40gnu.org'
```

Another workaround that requires editing of URIs as well is
```
thunderbird 'mid:83mtiq0zhd.fsf@gnu.org'
```
but the same with `%40` currently expected by `news:` scheme does not work.:
```
thunderbird mid:83mtiq0zhd.fsf%40gnu.org
```