av9ash/GitBugs huggingface dataset:
Bug: cannot add <li> items in quoted message: pressing ENTER breaks quote instead of continuing the list
Status: NEW
Priority: --
Created: 2024-05-22 21:06:05+00:00
Resolved: 2024-05-23 11:08:10+00:00

When composing a HTML message, the user can add list items to lists by simply pressing `ENTER` at the end of a list item.

The same, however, doesn't work in quoted messages:
Pressing `ENTER` in a list doesn't add a list item, but ends/breaks the quote: _see screenshot in_ comment #1.

### steps to reproduce:
1. create new HTML msg
2. click in (empty) msg body to focus
3. click on "bullet list" button
4. write something
5. press `ENTER`
6. write something
7. press `ENTER`
8. result: you now have a `<ul>` list with 2 list items
9. press `CTRL`+`S` to save the draft
10. close msg compose window
11. click on draft folder
12. right click on the draft message you just created
13. click on `reply to all`
14. click at the end of the 2nd list item to set cursor there
15. press `ENTER`

### expected result:
a 3rd list item should be added

### actual result:
The cursor jumps out of the quote. No list item is added.

### reproducible: always
reproduced on:
* TB 115 @ Win10-64bit
* TB 128.0a1 (2024-05-17) (64-bit) @ Win10-64bit
Bug: Folder icon color changes if the folder is moved
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2024-05-23 02:41:36+00:00
Resolved: 2024-05-23 08:43:17+00:00

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

Steps to reproduce:

Select a folder.
Right-click, select Properties, Icon Color, select a different color, e.g., Green. The icon for the folder changes to Green.
Move the folder to another folder.


Actual results:

The color reverts to the light-yellow color.


Expected results:

The icon color should not have changed.
Bug: Messages that are filtered into new folders don't get number notification on Thunderbird taskbar icon
Status: UNCONFIRMED
Priority: --
Created: 2024-05-23 06:21:05+00:00
Resolved: 2025-02-02 17:44:46+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 made three message filters that just move messages that i receive in inbox to other folders


Actual results:

After making a few message filters i have noticed that i don't get number notification on Thunderbird icon in taskbar, while i do get the notifications for messages that say in Inbox folder


Expected results:

I was hoping that the messages moved to others folders will show number notification on Thunderbird icon in taskbar untill i read them.
Bug: XPCShell test tasks unconditionally skipped
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2024-05-23 09:00:19+00:00
Resolved: 2024-05-23 16:19:10+00:00

Bug 1895453 [converted the `__skipMe = condition` notation to `.skip(condition)`](https://hg.mozilla.org/comm-central/diff/68c545a1bb7a9fa6a43466d9960125a73eb1d236/mailnews/base/test/unit/test_threadMsgCounts.js) on `testGroupedBySortByDate`. *In xpcshell tests, calling `.skip` is unconditional.* I wish it wasn't, but here we are. There is another way which is more accepted (but uglier IMO), I'll use that instead.
Bug: local folders not transferred to snap in ubuntu upgrade
Status: UNCONFIRMED
Priority: --
Created: 2024-05-23 13:40:02+00:00
Resolved: 2024-07-08 22:55:10+00:00

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

Steps to reproduce:

Local folders have not been transferred with the move to snap on Ubuntu.


Actual results:

Local folders not in snap  version of thunderbird. 


Expected results:

Local folders should have moved to snap version of thunderbird.
Bug: [snap] browser does not open when clicking link in message
Status: UNCONFIRMED
Priority: --
Created: 2024-05-23 13:52:05+00:00
Resolved: 2024-07-08 22:54:51+00:00

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

Steps to reproduce:

Restarted Thunderbird several times.  Same result each time. 


Actual results:

Click on link in message and Open Link in Browser do not open a browser session. Copy of the link and paste into browser works. This started happening after an upgrade in Ubuntu move Thunderbird to snap. 


Expected results:

Browser window should be opened.
Bug: failure while reading the configuration file. please contact your system administrator
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2024-05-23 14:43:29+00:00
Resolved: 2024-05-24 07:40:32+00:00

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

Steps to reproduce:

Upgrade Thunderbird


Actual results:

after updating thunderbird it launches with an error message : failure while reading the configuration file. please contact your system administrator
Bug: Main window state problems with tray icon
Status: UNCONFIRMED
Priority: --
Created: 2024-05-23 15:20:36+00:00
Resolved: 2024-10-20 22:08:01+00:00

There is a bug with main window size when you use the tray icon. If the main window was maximized to full screen by the user and then minimized to tray, it may switch back to its original size after clicking on the tray icon. It happens not always, only in some cases.

Below are the steps to reproduce one of them:

1. Enable "When Thunderbird is minimized, move it to the tray" setting.
2. Maximize the main window to full screen.
3. Minimize it to tray.
4. Open the main window by clicking on the shortcut to the app.
5. Minimize it again.
6. Left-click on the tray icon. After that you will see that the main window has restored and not maximized anymore.

I also noticed the same behavior without opening the app by clicking on the shortcut, but not sure how to reproduce it, it just happens while using the program and I'm tired of maximizing the main window each time.
Bug: Tray icon disappears after windows explorer restart
Status: UNCONFIRMED
Priority: --
Created: 2024-05-23 15:28:55+00:00
Resolved: 2024-09-09 04:48:56+00:00

The Thunderbird's tray icon disappears from the tray if the Windows Explorer restarts for some reason.

Steps to reproduce:
1. Enable "When Thunderbird is minimized, move it to the tray" setting.
2. Minimize the main window to tray.
3. Restart Windows Explorer.
4. See, that there is no Thunderbird tray icon anymore.
Bug: No equivalent of MailServices.tags.addTag(name, color, ordinal) in Extensions API: messages createTag requires user to come up with key
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2024-05-23 17:43:01+00:00
Resolved: 2025-01-23 22:27:59+00:00

Steps to reproduce:

There is no reliable way to create a new tag using the Extensions API such that the key used for a new tag would correspond to the key generated for the same tag through Thunderbirds UI (Message > Tag > New Tag...). The latter uses `MailServices.tags.addTag(name, color, ordinal)`, but this function is not exposed in the Extensions Messages API. Closest is `messenger.messages.createTag(key,tag,color)`, but this requires the caller to make up a key for the new tag.


Expected results:

An equivalent of `MailServices.tags.addTag` in the Extensions Messages API (preferably one that returns the generated key ;-).

In this case this is (somewhat) of a problem, because an extension cannot create tags (with `messenger.messages.createTag()`) using the same key encoding as "Manage tags..." would do when the same complex tag containing non ASCII characters is added. This creates compatibility issues when importing Xbox files with tag information stored in X-Mozilla-Keys created using `messenger.messages.createTag()` in a new profile where tags are added using "Manage tags...".
Bug: perma  comm/mail/components/extensions/test/browser/browser_ext_menus_context_action.js | A promise chain failed to handle a rejection: can't access property "get", StartupCache.menus is undefined
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2024-05-23 19:05:09+00:00
Resolved: 2024-05-27 07:23:11+00:00

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

---
```
Something needs porting.
```
Bug: I can't open links contained in email
Status: UNCONFIRMED
Priority: --
Created: 2024-05-23 20:42:45+00:00
Resolved: 2024-05-25 16:40:40+00:00

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

Steps to reproduce:

Upgrade to Ubuntu 24.04 and open an existing mail with a link. Click on the link.

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



Actual results:

 The browser never opens.


Expected results:

Browser (Firefox) should open a tab for the link.
Bug: messenger.messages.listAttachments returning nested attachments
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2024-05-23 21:20:48+00:00
Resolved: 2024-05-28 22:37:51+00:00

Steps to reproduce:

Called listAttachments against a message with an .eml attachment which itself contained attachments.


Actual results:

The nested attachments were listed; the parent attachment was omitted.


Expected results:

Please see the Topicbox thread at:
https://thunderbird.topicbox.com/groups/addons/T10a3b6ef4ef7b1c9/messenger-messages-listattachments-differeing-results-between-tb-102-and-115

This was the behavior prior to TB 106; it was considered a defect and therefore the logic changed to return the .eml attachment itself rather than the child attachments.  This was working (IIRC) through TB 125, but in 126 the former behavior has resurfaced.

The .eml attachment should be listed, not its child attachments, which can be accessed if desired through the message property (as per J. Bieling's comment in the aforementioned Topicbox posting).
Bug: Contact is not assigned to lists at LDIF import if there is an empty attribute value in the distinguished name of that contact, or there is no mail attribute
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2024-05-23 22:06:02+00:00
Resolved: 2024-05-25 06:15:27+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. There is a .ldif file produced by exporting data from another address book application, with the following contents:

dn: cn=A B,mail=ab@test.com
cn: A B
mail: ab@test.com
modifyTimeStamp: 20240523T180445Z
givenName: A
sn: B
xbatTemplateOptions: -----
xbatFavourite:  
xbatCharset: Windows-1251
objectclass: top
objectclass: person

dn: cn=C D,mail=
cn: C D
modifyTimeStamp: 20240523T214509Z
givenName: C
sn: D
homePhone: 123-4567
xbatTemplateOptions: -----
xbatFavourite:  
xbatCharset: windows-1251
objectclass: top
objectclass: person

dn: cn=List_for_testing,mail=
cn: List for testing
uid: List_for_testing
modifyTimeStamp: 20240523T214459Z
display-name: List for testing
xbatCharset: windows-1251
xbatOptions:  +    
objectclass: top
objectclass: groupOfNames
member: cn=A B,mail=ab@test.com
member: cn=C D,mail=

2. I import this file into Thunderbird's Address Book.


Actual results:

Both A B and C D are imported, but only A B is included in the "List for testing" list, while C D is in the root of the address book.


Expected results:

Both A B and C D should be in the "List for testing".

Neither RFC 4514 nor the previous RFC 2253 (obsoleted by it) prohibit having an empty string as AttributeValue.
At the moment, this is a showstopper for me in migrating my address book to Thunderbird. I have several thousand contacts sorted into dozens of lists, and many of those contacts are phone-only.
Bug: adding address to address book via avatar icon sometimes fails: icon remains gray, allowing multiple duplicate contacts to be added
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2024-05-24 00:46:51+00:00
Resolved: 2024-07-15 14:10:12+00:00

## summary
Clicking on the gray avatar (unknown-address-icon) in the email header sometimes doesn't work correctly:
Each click adds a duplicate address book contact and the icon does not turn blue.

## steps to reproduce
1. go to Inbox
2. select an email from an unknown recipient (not stored in any address book)
3. sender address has a gray avatar
4. try to add sender to address book by doing the following (both fail):
   * click on avatar **OR**
   * right-click on sender address and select `add to address book` from the context-menu

## expected results
* avatar icon should turn blue
* contact should be added to address book
* right-click context-menu for sender should now include `edit contact` menu item
* right-click context-menu for sender should not include `add to address book` menu item

## actual results
* no [ux-userfeedback](https://bugzilla.mozilla.org/describekeywords.cgi#ux-userfeedback):
   * Avatar icon stays gray.
   * Right-click context-menu for sender does not include `edit contact` menu item.
   * Right-click context-menu for sender still includes `add to address book` menu item.
* Contact is added, but due to the preceding 3 items user assumes the contrary. ([ux-trust](https://bugzilla.mozilla.org/describekeywords.cgi#ux-trust))
* Therefore user repeatedly clicks on avatar ([ux-trust](https://bugzilla.mozilla.org/describekeywords.cgi#ux-trust)), but it still stays gray.
* As a consequence, multiple duplicate contacts are created ([ux-mode-error](https://bugzilla.mozilla.org/describekeywords.cgi#ux-mode-error )), *see screenshot* in comment #1
   * BTW, this should be prevented by bug 45946.

## reproducible: sometimes
Unfortunately the bug does not always occur (so "cannot reproduce" doesn't equal WORKSFORME here).
I am observing the bug regularly, but have not found any clue as to what conditions must be fulfilled for manifestation. It seems to appear randomly (not saying it is), so it's probably hard to reproduce and track down.
Bug: Thunderbird hangs on startup if no Internet
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2024-05-24 07:00:13+00:00
Resolved: 2024-09-30 20:12:41+00:00

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

Steps to reproduce:

Start Thunderbird 115.7.0 without an Internet connection.


Actual results:

Thunderbird freezes after the popups of it couldn't connect to servers. You must force quit it and start it again.


Expected results:

The interface should be responsive also when no Internet connection.
Bug: "Item changed on server": Buttons on modal dialog are outside of screen area
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2024-05-24 07:35:41+00:00
Resolved: 2024-05-24 07:52:13+00:00

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

Steps to reproduce:

1. Create an appointment with very long description. Such appointments may be created e.g. by MS Teams / MS Outlook, and may contain a very verbose description of how to joint a meeting and even whole Email threads.

2. Do something that causes an "item changed on server" dialog. It is not clear what I did to cause it, possibly related to snoozing events and/or using Google Calendar as a backend, but it is recurring.


Actual results:

The modal dialog should be shown, giving the option which version to use going forward. If the description is long, it should be either scrollable or truncated. 


Expected results:

The modal dialog is shown, but the buttons are outside the visible screen area.


ADDITIONAL INFORMATION

This was observed on OpenSuse 15.3, using XFCE, thunderbird installed from the webpage on a 1920x1080 screen resolution.

When the message contains only the meeting invitation without a message history, the buttons become accessible using a 1920x1200 resolution. 


POSSIBLE WORKAROUND

On Linux systems, it is often possible to drag windows arbitrarily holding the Alt-key and dragging with the mouse on any pixel of the window. 

This is not an option however if the used window manager does not support this feature, e.g. when using MS Windows. It may also be disabled due to interfering with the normal operation of some programs (e.g. drag and drop of rows/columns in LibreOffice Calc).

Under XFCE in particular, it can be solved by choosing another key for dragging or enabling in temporarily under "Window Manager Tweaks > Accessibility". But for that, the user has to know about this feature existing in the first place.
Bug: Access key ambiguity (?) when we right click on folder name. Copy to and Compact have the same access key?
Status: NEW
Priority: --
Created: 2024-05-24 08:43:34+00:00
Resolved: 2024-07-15 12:30:07+00:00

This is for linux x86_64, but I think it is true for all the architecture and platform.
I don't use keyboard shortcut very often.

But shouldn't menu item be uniquely determined by a single key?
I noticed that the context menu for a folder shows 
Copy to   and
Compact
to be accessed by the same keyboard shortcut ("c").
It seems we need to cycle through the choice hitting "c" again to choose the desired item and then 
hit ENTER.
(I noticed that the ESR TB under Windows behaves exactly the same.)

I do understand that  changing this at this time may have an issue with long time users who rely on this keyboard shortcut assignment.


I think the good guideline of user interface suggest avoiding such ambiguity and
I suspect this has some negative impact on usability by physically disabled even.
Bug: error when printing attached PDF files: "File was not loaded completely"
Status: UNCONFIRMED
Priority: --
Created: 2024-05-24 12:24:05+00:00
Resolved: 2025-01-07 08:52:13+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:

double click on a small pdf file from the attachment.
Version 115.11.0 64-bit
Windows 11
Open settings in Thunderbird 


Actual results:

a new TAb has been opened.  When printing to any printer, the error message "File was not loaded completely" appears. It cannot be printed. In the preview, this document is displayed as A5, although A4 is set. If A3 is selected, it is displayed correctly in the preview.



Expected results:

It cannot be printed
Bug: --with-librnp-backend=openssl fails during configure
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2024-05-24 13:51:11+00:00
Resolved: 2024-07-02 19:59:01+00:00

Building with: `--with-librnp-backend=openssl` throws an error during mach configure:
```
rnp_defines["PACKAGE_STRING"] = rnp_defines["PACKAGE_STRING"][:-1] + '-openssl"'
```
Bug: Error in UTF-8 encoding of attachment file name in macOS version
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2024-05-24 15:11:30+00:00
Resolved: 2024-05-26 08:39:15+00:00

Steps to reproduce:

Attach a file abcä.txt into a message.


Actual results:

The Content-Disposition header gets a value

attachment; filename*=UTF-8''%61%62%63%61%CC%88%2E%74%78%74%2E%67%70%67

where "ä" is "%61%CC%88" which is wrong.


Expected results:

The value must contain octets according to the defined encoding. Windows Thunderbird gives the following value for Content-Disposition header:

attachment; filename*=UTF-8''%61%62%63%C3%A4%2E%74%78%74

where "ä" is "%C3%A4". 0xC3 0xA4 are the correct octets for UTF-8 encoded Unicode "ä": https://www.compart.com/en/unicode/U+00E4
Bug: Intermittent comm/mail/components/addrbook/test/browser/browser_import.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2024-05-24 16:09:52+00:00
Resolved: 2024-06-03 06:45:42+00:00

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

---
```

```
Bug: Thunderbird flatpak broken after Freedesktop update
Status: UNCONFIRMED
Priority: --
Created: 2024-05-24 17:12:13+00:00
Resolved: 2024-05-24 17:56:10+00:00

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

Steps to reproduce:

1. Install last version of thunderbird available on flathub.
2. Install last Freedesktop Platform version available on flathub.
3. Try to open thunerbird with flatpak run org.mozilla.Thunderbird.

Tested in two different fedora 40 installs and in a Ubuntu 22.04 install with the same results.


Actual results:

Thunderbird does not start and terminal outputs the following: 

XPCOMGlueLoad error for file /app/lib/thunderbird/libxul.so:
libdbus-glib-1.so.2: cannot open shared object file: No such file or directory
Couldn't load XPCOM.



Expected results:

Thunderbird should have started.
Bug: Deleted Email Reappears in Inbox
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2024-05-25 03:12:21+00:00
Resolved: 2024-12-07 16:37:24+00:00

Steps to reproduce:

1. After downloading new emails (POP mail server), delete one or more emails from inbox.
2. Right-click Trash folder, "Empty Trash"
3. Close Thunderbird.
4. Later, even after a power-down/up of the device hosting Thunderbird (In my case a Windows 10 Pro (64-bit) workstation) open Thunderbird.


Actual results:

The LAST DELETED email from the previous session appears (marked as "read") in the Inbox.


Expected results:

The email should not appear.

NOTE: This has been occurring for years but has increased to about 90% occurrence in TB 115 [currently using TB 115.11.0 (64-bit)]
Bug: Sent email reappears in drafts folder
Status: UNCONFIRMED
Priority: --
Created: 2024-05-25 03:25:26+00:00
Resolved: 2024-12-07 16:41:23+00:00

Steps to reproduce:

1. In Thunderbird, click "+ New Message" or select "Reply"/"Reply All"/"Forward"
2. Compose message/replay/forwarding message.
3. After composing message, click the "Send" Button.
4. Close Thunderbird.
5. Re-open Thunderbird (even after system shutdown-power up transition).


Actual results:

1. During the same session as the message is composed and sent, the draft version disappears from "Drafts" and appears in "Sent".
2. After exiting Thunderbird and later re-opening Thunderbird, the "Draft" folder appears in BOLD, and the last draft version auto-saved to the drafts folder appears in "Drafts" while the final sent version appears in "Sent". 
NOTE: this most often happens when it takes more than 3-5 minutes to compose a message/reply/forwarding message.


Expected results:

"Drafts" should be empty and the sent message appear in "Sent" folder.
Bug: Bottom of text cut off in email card view
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2024-05-25 17:16:41+00:00
Resolved: 2024-08-24 20:02:23+00:00

Steps to reproduce:

- Run Thunderbird Beta (127.0b3 (64-bit)) on Windows 10.
- Use default layout density and default text size (12px).
- Use Card view in message list.


Actual results:

Email subject line is slightly cut off/truncated from the bottom, most noticeable on the letter "g".


Expected results:

No text truncation.

Some combinations of text sizes and layout densities do not cause the text to be truncated but the default combination does.
Bug: c-c perma toolkit/components/extensions/test/xpcshell/test_load_all_api_modules.js | Unexpected exception SyntaxError: redeclaration of const parserUtils at chrome://messenger/content/parent/ext-utilities.js:1
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2024-05-25 17:35:50+00:00
Resolved: 2024-05-27 07:02:49+00:00

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

---
```

```