When starting Thunderbird without network, many Gmail folder have weird name
Categories
(MailNews Core :: Backend, defect)
Tracking
(Not tracked)
People
(Reporter: foss, Unassigned)
References
Details
(Whiteboard: [closeme 2022-12-15][dupeme?])
Attachments
(1 file)
|
25.27 KB,
image/png
|
Details |
Hello,
Steps I use to reproduce the issue:
- This issue only occurs with Gmail labels
- 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.
Comment 1•5 years ago
|
||
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.
Comment 2•5 years ago
|
||
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!
| Reporter | ||
Comment 3•5 years ago
|
||
(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.
| Reporter | ||
Comment 4•5 years ago
|
||
(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.
Comment 5•5 years ago
|
||
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?
| Reporter | ||
Comment 6•5 years ago
|
||
(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.
Updated•5 years ago
|
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.
Comment 8•5 years ago
|
||
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
Comment 9•3 years ago
|
||
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
| Reporter | ||
Comment 10•3 years ago
|
||
(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.
Comment 11•3 years ago
|
||
Thanks for the update
Description
•