Closed Bug 1685336 Opened 5 years ago Closed 3 years ago

When starting Thunderbird without network, many Gmail folder have weird name

Categories

(MailNews Core :: Backend, defect)

Thunderbird 86
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: foss, Unassigned)

References

Details

(Whiteboard: [closeme 2022-12-15][dupeme?])

Attachments

(1 file)

Hello,

Steps I use to reproduce the issue:

  1. This issue only occurs with Gmail labels
  2. Disconnect your computer from the network then launch Thunderbird or launch Thunderbird in offline mode

Result:
As you can see in screenshot, many folder are reported with a weird name.

Expected result:
Thunderbird should be able to display the folder name even if launch in offline mode or without connection.

Let me know if you have any questions.

Thanks in advance for looking at this one.

See Also: → 1685449

Reporter, please try setting mail.server.default.allow_utf8_accept to false with config editor and see if that affects both the current bug and bug 1685449. To be sure it takes effect, restart tb after making the change. Thanks.

I added to tb a gmail account with non-us-ascii folder names and don't see a problem online or offline. This is with allow_utf8_accept to true.

Reporter Alex, how do the folder names appear when they ar correct? Do they contain non-US-ascii chars? How many folders have this problem? Does the folder location in the "tree" matter? When you see this and then start online, are the folders names OK? Any more details that I have not mentioned might be helpful!

(In reply to gene smith from comment #1)

Reporter, please try setting mail.server.default.allow_utf8_accept to false with config editor and see if that affects both the current bug and bug 1685449. To be sure it takes effect, restart tb after making the change. Thanks.

For this issue, It doesn't have any impact. I don't made all the try I want here due to bug 1559448 which makes Thunderbird to crash every time I close it and it wastes me lot of time.

(In reply to gene smith from comment #2)

I added to tb a gmail account with non-us-ascii folder names and don't see a problem online or offline. This is with allow_utf8_accept to true.

Reporter Alex, how do the folder names appear when they ar correct? Do they contain non-US-ascii chars? How many folders have this problem? Does the folder location in the "tree" matter? When you see this and then start online, are the folders names OK? Any more details that I have not mentioned might be helpful!

I finally found the 3 folders making Thunderbird unhappy, at least on Debian GNU/Linux 10, the folders are:

  • ".action"
  • ".reading"
  • ".writing"

If I rename them to action, reading then writing and dropping manually the ".msf" files associated with the weird name I don't have the issue.

Renaming them from "action" to ".action" and so on I reproduce the issue again at next restart.

So starting with a dot causes problems? I'll check that out.
Just to be sure I understand, the quote ( " ) is NOT part of the folder name, right?

(In reply to gene smith from comment #5)

So starting with a dot causes problems?

Yes, it causes problems.

I'll check that out.
Just to be sure I understand, the quote ( " ) is NOT part of the folder name, right?

Indeed, the quotes " are not part of the folders names.

Component: Untriaged → Backend
Product: Thunderbird → MailNews Core
Whiteboard: [dupeme?]

As mbox files do not have any extension, then starting a file name with a dot could cause computer to get confused into thinking .action is an unknown extension.

I think reporter Alex is on linux per comment 4 (but don't know what "Linux 10" is). Anyhow, I just created gmail folders called .bashrc at root level and under [Gmail] and it seems to work OK for me on linux. Per my IMAP:5 log, gmail's hierarchy delimiter is / so using . in a folder name should be ok. (Including a / in a folder name is currently an issue when the delimiter is also /.)
Alex, maybe an IMAP:5 log showing the folder names returned by gmail would tell us something. See https://wiki.mozilla.org/MailNews:Logging

Alex, does this still reproduce for you?
If so, please create an IMAP:5 log showing the folder names returned by gmail. See https://wiki.mozilla.org/MailNews:Logging

Whiteboard: [dupeme?] → [closeme 2022-12-15][dupeme?]

(In reply to Wayne Mery (:wsmwk) from comment #9)

Alex, does this still reproduce for you?
If so, please create an IMAP:5 log showing the folder names returned by gmail. See https://wiki.mozilla.org/MailNews:Logging

Hello Wayne

I no longer use this scenario anymore. I don't have the bandwidth to give it a try. If you think this issue should be closed, I'm OK with it. If someone reproduce it again, it'd be OK to reopen this issue or create a new one.

Thanks for the update

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: