av9ash/GitBugs huggingface dataset:
Bug: webRequest.onBeforeRequest isn't triggered at all for clicked links in email message
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2023-03-15 21:54:46+00:00
Resolved: 2023-03-22 09:08:49+00:00

Steps to reproduce:

TL;TR:
1. Write a simple extension with a listener on `browser.webRequest.onBeforeRequest`.
2. Click any HTTP(S) link in an email message.


Longer description:
I was missing an add-on to whitelist clickable URLs to mitigate (spear)phishing attacks (see at the end for the reasons), so I wanted to write my own. Using the hello world tutorial in the Thunderbird documentation, I was able to write one, however, I hit the problem with not triggered "webRequest.onBeforeRequest".

When I load the extension in the debug mode, it is loaded, "initialization" is print. Unfortunately, when I click any http/https link in my email (which are open in Firefox), nothing is caught by the callback.

I also tried "webNavigation.onBeforeNavigate" which works. However, I need the real URL not "mailbox:///home/foobar/.thunderbird/abcd.default/Mail/example.com/Inbox?number=1234".

I attached a simple extension to reproduce the problem.

Here's a thread when I originally described the problem and I've got a suggestion from John Bieling to report a bug to get it fixed in Thunderbird:
https://thunderbird.topicbox.com/groups/addons/T37675249e8aa089e/webrequest-onbeforerequest-isnt-triggered-at-all


Actual results:

The listener is not called. Not at all.


Expected results:

The listener is called and it is possible to do some actions (e.g. block blacklisted domains).
Bug: view source -> TypeError: this.ownerGlobal.gBrowser.getTabForBrowser is not a function
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2023-03-15 22:55:31+00:00
Resolved: 2023-04-24 19:51:25+00:00

If I use view source (Ctrl+U) an exception in thrown and logged to console.
View source seems to work in general though.

gBrowser is set, but this gBrowser doesn't have a getTabForBrowser function

JavaScript error: chrome://global/content/elements/browser-custom-element.js, line 877: TypeError: this.ownerGlobal.gBrowser.getTabForBrowser is not a function
Bug: When replying, the entire message is quoted if you do not select more than at least one word.
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2023-03-16 04:35:55+00:00
Resolved: 2023-04-24 19:31:30+00:00

When replying, the entire message is quoted if you do not select more than at least one word.  

For example select "word ", "word" or "wor" in a message, then the entire message is quoted.
Bug: `Tasks` section of `Today Pane` may flicker as it changes size continuously under certain conditions
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2023-03-16 08:16:35+00:00
Resolved: 2023-06-06 02:49:02+00:00

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

Steps to reproduce:

1. Show the "today" pane
2. Change the density to "relaxed"
For the continuation it is a set of combinations, I tested with only one but it must have several possible cases
3. Have a font size of 12
4. Have 11 tasks in the pane


Actual results:

The task part changes size constantly, a bit epileptically.
Bug: Intermittent /builds/worker/checkouts/gecko/comm/mailnews/extensions/bayesian-spam-filter/nsBayesianFilter.cpp:462:44: error: no viable conversion from 'nsCString' (aka 'nsTString<char>') to 'const char *'
Status: RESOLVED
Priority: P5
Resolution: WORKSFORME
Created: 2023-03-16 10:46:20+00:00
Resolved: 2023-03-20 06:40:47+00:00

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

---
```

```
Bug: density for message list and folders view - different settings
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2023-03-16 12:51:56+00:00
Resolved: 2023-04-24 19:55:35+00:00

May be it is a bug in new UI. 

1. In classic TB the density button changes only the folders tree density and not affects the message list view.

2. In new Tb the density makes difference for both: message list and folders view. 

a) So, now in "default" density the message list is OK, but the folders view is way to "space"-y.

b) But the compact view makes the tree view OK, but the message list way to compact.
Bug: Certain Account Archive Folders Missing in Unified View
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2023-03-16 13:43:48+00:00
Resolved: 2023-07-09 11:48:16+00:00

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

Steps to reproduce:

1a) Use multiple Gmail Accounts for your inbox in `Unified` View. 
1b)Verify that a folder for each account exists under `Archive` unified folder
2) Perform an Upgrade to Thunderbird 112.0b1
3a) Check the `Archive` folder `Unified` View in the new UI. 
3b) Verify that the Gmail accounts no longer exist


Actual results:

In transitioning to Thunderbird 112.0b1, the `Archive` folders that correspond to Gmail's `All Mail` folder no longer are visible in the tree structure of the `Unified` View. The emails still display when clicking on the main `Archive` header but aren't visible as separate folders for different accounts.


Expected results:

The `All Mail` folder in Gmail that traditionally is displayed in TB as an `Archive` folder in the Unified view should have its own folder in the `Unified` view tree structure.
Bug: Using Unified Folder, archiving read messages in Inbox marks them unread when archived in Archives folder (involves ProtonMail)
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2023-03-16 15:08:20+00:00
Resolved: 2023-05-25 21:55:15+00:00

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

Steps to reproduce:

1) Read a message in the Inbox View using Unified Folder
2) After reading the message (confirmed by the subject line no longer being bold), archive the message using the `A` shortcut key
3) View the message in the archive folder and note that it is no longer marked as `Read`


Actual results:

Messages that have been archived from the Inbox after reading them are marked as Unread when using the `A` shortcut key to archive them.


Expected results:

The messages that are archived after being read should remain marked as `Read`.
Bug: Favourite folders list not sorted
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2023-03-16 15:18:26+00:00
Resolved: 2023-04-24 19:51:26+00:00

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

Steps to reproduce:

Open Thunderbird 111 or 112b1.
Select View / Folders / Favourite.



Actual results:

All my favourite folders appear, but are in an apparently random order (but consistent between runs of the app).
If I add a new favourite folder, it is added to the bottom of the list of favourites.
Screenshot example attached.


Expected results:

Previous behaviour was to sort them by name within each separate email account.
Bug: Google contact data empty - Some contacts are completly blank but they can be searched correctly. If I edit them no information is present.
Status: UNCONFIRMED
Priority: --
Created: 2023-03-16 15:21:48+00:00
Resolved: 2024-08-01 10:33:38+00:00

Steps to reproduce:

1. Connect a google mail address and the addressbook via CardDav.
2. Sync the contacts. 
3. Close and reopen Thunderbird multiple times


Actual results:

Some contacts are completly blank but they can be searched correctly. If I edit them no information is present.

Checking the contact on the google contact page all the information is present.


Expected results:

All contacts should be visible.
Bug: Intermittent comm/mail/test/browser/tabmail/browser_tabSwitch.js | calendar list has focus, calendar tab's last active element should be stored
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2023-03-16 16:23:21+00:00
Resolved: 2023-03-20 06:41:42+00:00

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

---
```

```
Bug: Try-c-c is not running Windows tests
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2023-03-16 17:23:10+00:00
Resolved: 2023-03-19 00:30:19+00:00

The Windows 10 tests got removed a little prematurely. The Windows 11 tests are still considered Tier 2 upstream.

The unfortunate effect of this is that try-c-c is not running Windows tests except the MSIX variant, which are a little broken right now (and intentionally tier 2).

Since upstream is moving to run tests on win11, and have eliminated the win10-32 test platform completely, I propose forcing our Win11 tests to tier 1 so that they run as expected and are not "accidentally" ignored because they are marked tier 2. Upstream will no doubt follow soon enough.

Alternatively, I back out d153b4d35fcbfd5638b8653a1a65fc8aa088f5f6 from bug 1822040 and bring back win10 x64 tests. I prefer not to since they're going away soon.
Bug: Intermittent comm/calendar/test/browser/browser_basicFunctionality.js | Test timed out
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2023-03-16 17:52:13+00:00
Resolved: 2023-03-16 23:54:14+00:00

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

---
```

```
Bug: Valid GPG signature is shown as invalid if the encryption subkey has expired
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2023-03-16 18:32:44+00:00
Resolved: 2023-03-16 21:49:17+00:00

When using a GPG key that has an expired encryption key (but a valid signature key), the email signature is shown as invalid (with the reason "The key has expired").

**Steps to reproduce**:

1. Import a key that has a valid signature subkey but an expired encryption subkey. I used the [public key from the BSI newsletter](https://www.bsi.bund.de/SharedDocs/Oeffentl_Schluessel_BSI/Buerger-CERT-Newsletter_PGP_2023.asc?__blob=publicationFile&v=2), but a self-generated one works as well
2. The key manager shows this key as expired, even though the signature subkey is still valid (in the case of BSI, until 2031-01-23)
3. Receive a signed email (signed newsletter example attached)

**Expected result**:

The signature is accepted, e.g. as done by running GPG manually:

```
gpg: Signature made Thu 16 Mar 2023 11:57:50 AM CET
gpg:                using RSA key 4A51174602339B6C
gpg: Good signature from "Bürger-CERT Newsletter <buerger-cert-newsletter_pgp@newsletter.gsb.bund.de>" [unknown]
```

**Actual result**:

The signature is shown as invalid (due to an expired key). Worse, the signature check seems to end prematurely (if you modify the text, the reason is still an expired key, and not that the data mismatches).

*Note*: This might be related to [#1755775](https://bugzilla.mozilla.org/show_bug.cgi?id=1755775), but affects signatures (and manifests without the secret keys available).
Bug: 111beta is "not responding" (19 pop accounts)
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2023-03-16 19:06:18+00:00
Resolved: 2023-11-02 14:40:47+00:00

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

Steps to reproduce:

Good day,
after update, the program crashes (not responding) also put other problems.
Thanks


Actual results:

Crashed


Expected results:

Work stable
Bug: Latest Beta now takes 25 seconds to open 112.0b1 (64-bit) Windows 10
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2023-03-16 19:49:52+00:00
Resolved: 2023-07-31 16:31:23+00:00

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

Steps to reproduce:

Normal Windows Open Firefox


Actual results:

It now takes 20-25 seconds longer to open 7 Tabs


Expected results:

It did only take ~2 seconds to open with previous version
Bug: Screen readers such as jaws 2023 and NVDA 2023.1 only speak subject of message in message list in thunderbird 112.0 beta1
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2023-03-16 20:34:38+00:00
Resolved: 2023-04-24 19:49:40+00:00

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

Steps to reproduce:

Using Either jaws 2023 latest build as of december or NVDA 2023.1 RC,  Open thunderbird 112.0 beta1 either installed or portable..
Once openwed, navigate to the list of messages and downarrow through them.  You should hear the subject, the senders name, date and whatever coloms are displaied.  This all depends on how the coloms are displaied and the order they are set.  What you hear is the subject only.

Older versions of thunderbird did not exhibit the behavier.


Actual results:

NVDA and jaws only spoke the suibject in the medssage list .


Expected results:

NVDA and jaws should have spoken all coloms visable such as subject, sender and date.
Bug: Port bug 1738056: About Thunderbird window appears in top left for an instant before moving to the center
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2023-03-16 21:20:51+00:00
Resolved: 2023-03-22 21:09:11+00:00

Verified the jump happens on current Thunderbird beta (112) on macOS.

Some of the upstream bug is already ported in Bug 1816532, plan for this to cover 	D172007.
Bug: Right click in Folder panel to Open in New Tab also selects the folder, losing context of current tab
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2023-03-17 02:26:40+00:00
Resolved: 2023-03-29 10:34:16+00:00

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

Steps to reproduce:

Right click in Folder panel to Open in New Tab 


Actual results:

The New Tab Opens correctly but the Current you are on also changes to the New Tab value ie you end up with 2 Tabs the same 


Expected results:

The Current Tab should remain as is - only the New Tab should hold the result from the Right click
Bug: Style IMAP noSelect folders properly
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2023-03-17 03:11:52+00:00
Resolved: 2023-03-27 23:37:36+00:00

The [Gmail] folder and anything else marked noSelect by the IMAP server used to be coloured grey and italicised. We hid the [Gmail] folder but other things could need the styling. I'm going to unhide temporarily it while I fix this bug, then go back and fix it properly in bug 1818592.
Bug: ctrl-pgdn for tab switching gets trapped in main message pane
Status: UNCONFIRMED
Priority: --
Created: 2023-03-17 03:44:06+00:00
Resolved: 2024-01-17 17:41:10+00:00

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

Steps to reproduce:

tldr: type ctrl-1 then ctrl-pgdn. without multiple tabs open, this should take you to the second tab.

In Thunderbird 102.7.1, the ctrl-pgdn and ctrl-pgup keystroke (in Ubuntu 20.04) normally does a nice job of moving through message tabs and the main message pane (quick-access keystroke: ctrl-1). However, recently, it seems that something's changed, and one can't use ctrl-pgdn to move from the main message pane to the first message tab. Any time you're on the main message pane, the ctrl-pgdn or ctrl-pgup keystrokes seem to get interpreted at simply pgup or pgdn keypresses, and scroll the message list instead of switching tabs.

i checked the release notes for 102.8 and 102.9, nothing about this issue was shown, so I assume it is a current issue.


Actual results:

without multiple tabs open, ctrl-1 ctrl-pgdn wrongly scrolls down in the message list, instead of taking you to the next tab.


Expected results:

without multiple tabs open, ctrl-1 ctrl-pgdn wrongly scrolls down in the message list, instead of taking you to the next tab.
Bug: perma comm/mail/components/preferences/test/browser/browser_cloudfile.js after bug 1822578
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2023-03-17 05:17:54+00:00
Resolved: 2023-03-20 06:46:06+00:00

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

---
```

```
Bug: User Identification Request connecting to IRC - Certificate selector is modal, blocks "Compose" window
Status: UNCONFIRMED
Priority: --
Created: 2023-03-17 07:06:28+00:00
Resolved: 2023-03-17 10:35:46+00:00

Steps to reproduce:

1. Resumed my Win11 PC from sleep.
2. Switched to running TB, started creating new message.
3. (Without noticing, there was a "User Identification Request"  from the built-in IRC client in the background, asking for my client cert)
4. Clicked "Send"


Actual results:

TB froze. There was no way to "unfreeze" TB.

I tried switching to the "User Identification Request" and cancel the dialog to indicate I don't want to use any cert for that IRC server, but the "Cancel" button didn't respond as every visible UI component of TB was frozen.


Expected results:

The (somehow?) modal "User Identification Request" dialog should not be modal with regards to email composition and sending.

My wild guess is that at the time TB tried to send the email via SMTP, it established an SMTP connection to the SMTP server. As this is also connected to setting up a TLS connection, it was probably blocked by the ongoing TLS setup for IRC.
Bug: Border of inactive search bar invisible in dark mode
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2023-03-17 07:11:47+00:00
Resolved: 2023-03-17 07:14:12+00:00

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

Steps to reproduce:

Set Thunderbird to dark mode


Actual results:

The border of the search bar in the unified toolbar is invisible when the search bar is inactive (not selected). 


Expected results:

Put a border line around the search bar or use a different color.
Bug: Forwarded invite attachment looses ics extension
Status: UNCONFIRMED
Priority: --
Created: 2023-03-17 08:18:03+00:00
Resolved: 2023-10-07 18:09:12+00:00

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

Steps to reproduce:

I forwarded a MS Team Invite to a third email account. (Properly recognized as such by thunderbird)
My recipient account is using outlook (no choice, professional account, please forgive me :D).


Actual results:

The invite itself of the email is visible as "Attached Message Part" without extension.

As a quickfix, I saved locally and added the *.ics extension, then I could open it with outlook and add it to the calendar.


Expected results:

The extension is already present on the message attachment so that it can directly be recognized by the other mail clients (I did not verified if thunderbird would handle it properly, since it would not solve my problem).
Bug: Status panel is shown above tab (instead of at the bottom of the window)
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2023-03-17 08:27:01+00:00
Resolved: 2023-03-22 18:03:55+00:00

STR:
- Hide the statusbar (view -> toolbars -> status bar)
- Open a message with a link or the start page
- Hover over a link

Expected result:
The status panel showing the location of the link is shown at the bottom left (inline-start, block-end) of the window content.

Actual result:
The status panel is shown above the tab content (so over the unified toolbar or tab list).
Bug: Clearing junk loads/displays junk message body
Status: NEW
Priority: --
Created: 2023-03-17 08:31:55+00:00
Resolved: 2023-03-18 03:26:58+00:00

When running in classical layout with the message pane open, one can select the Junk folder, see the junk mails in the list at the top right, and the message pane stays open but empty. When selecting "Empty Junk" from the context menu, the messages are marked deleted (my setting for the relevant accounts), but the last junk message is selected in the top right pane, causing its contents to be loaded in the message pane. While the workaround is to just close the message pane before emptying junk, I do not always remember to do that. And I think that for this folder it might even  pose a security risk to load a message without the user actively clicking on it.

This is with TB v111.0b3 on (Linux x86_64) but has been an issue since a a while, definitely before the Supernova UI changes. (This used to be a problem a looong time ago and got fixed in bug 200138 but reappeared some time ago.)
Bug: Unified toolbar should be below the main menu bar
Status: RESOLVED
Priority: --
Resolution: WONTFIX
Created: 2023-03-17 09:12:13+00:00
Resolved: 2024-07-19 14:26:56+00:00

I'm using TB (currently v112.0b1) on Linux and am using systems where there is a real window manager (fluxbox or similar and XFCE4) and basically all apps that I use also have a real menu bar.
So having the supernova toolbar above the menu bar is unexpected and irritating. Even in newest Firefox betas the menu bar is always at the top of the window when it's switched on. (There, customize even allows to place toolbar items within the menu bar.) This should be the same on Linux or at least customizable. Ideally, the toolbar should be below the tabs (since they are different depending on the tab) but in between menu and tabs would be a lot better than being forced at the top of the window.

While bug 1817673 discusses a similar issue on Mac I am opening this one since I don't find one for this particular issue and on Linux.
Bug: Tabs disappeared after updating from version 91.13.1 to 102.8.0 on Windows
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2023-03-17 10:20:06+00:00
Resolved: 2024-03-02 17:02:28+00:00

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

Steps to reproduce:

TB 91.13.1 (64bit Windows 10 PRO v. 22H2 fully updated on i7) > hanburger Menu > Help > About Thunderbird > button Update to 102.9.0 (64bit) > then button Restart TB.


Actual results:

TB started in version 102.8.0 (instead of 102.9.0) but all the 12 tabs I had (besides the main tab and calendar tab) disappeared. Only the main tab and Calendar tab are present. I don't have any Add-on or Theme installed (just the default theme). Then, with the version 102.8.0 running, I "repeated" the same process to update from version 102.8.0 to 102.9.0.


Expected results:

It should have kept all the tabs I had.
Bug: Port bug 1819940 - Remove expired extensions related telemetry probes
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2023-03-17 10:52:13+00:00
Resolved: 2023-03-20 06:48:23+00:00

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

We need to port https://hg.mozilla.org/mozilla-central/rev/691295217cf9
This is what's breaking many add-on tests atm. 

E.g. https://searchfox.org/comm-central/rev/3ceb232ad4213dc6db48029c352c42cdd3ca5155/mail/modules/ExtensionsUI.jsm#737 needs to go. (Perhaps that's all?)