Pdf Attachment Tabs not restored after restart "The address wasn’t understood ... One of the following (imap) is not a registered protocol"
Categories
(Thunderbird :: Toolbars and Tabs, defect)
Tracking
(thunderbird_esr115 fixed)
Tracking | Status | |
---|---|---|
thunderbird_esr115 | --- | fixed |
People
(Reporter: km, Assigned: darktrojan)
References
()
Details
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-esr115+
|
Details | Review |
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36
Steps to reproduce:
Open an email with a pdf attachment
Open the attachment in a tab
Quit Thunderbird
Restart Thunderbird
Actual results:
The pdf display properly in the tab prior to restart, but fails after restart with
"The address wasn’t understood
One of the following (imap) is not a registered protocol or is not allowed in this context.
You might need to install other software to open this address."
Expected results:
The tab should display the same way it did before the restart.
This is the behavior on Thunderbird 116.b7 on Ubuntu.
Updated•9 months ago
|
This is still present in 118.0b1. It's really quite a problem having the pdf tabs get corrupted on every restart, especially as a beta user which requires a restart on every update. I know there are some related restart issues some intermittent. This one is completely reproducible every time.
Comment 2•8 months ago
|
||
I could be wrong but this was fixed previously, in the last 8 months. Can you find the bug report?
I think you might be thinking of the "27 byte" issue bug 1820351, where the downloaded file was always a corrupted 27 byte file. This is a different error with the message about some protocol error.
'"The address wasn’t understood
One of the following (imap) is not a registered protocol or is not allowed in this context.
You might need to install other software to open this address."
Updated•8 months ago
|
Comment 6•6 months ago
|
||
When investigating Bug 1858157 I think I ran into this bug. On MacOS 14 and able to reproduce on both current Daily (121.0a1) and 115.4.1.
Comment 7•5 months ago
|
||
A friend brought her computer by this morning, exhibiting this issue. I checked, and in the Settings/Synchronization and Storage, she has "Keep messages in all folders for this account on this computer". I don't know if that is relevant to the symptom, but I checked it because since the message mentions IMAP, I wondered if keeping the message locally would cause different behavior. Since she already had it local, I didn't turn it off (to make her re-download lots of messages later, and I wasn't sure if turning it off would actually immediately discard the local copies for a test). She's running thunderbird 115.5.1 on Windows 10.
Comment 8•5 months ago
|
||
Are there also errors listed in error console (command+shift+J) immediately after startup?
All I see in the error console are a lot of entries about caldav, whether or not I have a pdf tab.
This pdf error is very easy to reproduce, and a developer should have no trouble seeing it.
Reporter | ||
Comment 10•5 months ago
|
||
I just did an update to 121.0b5 (from b4). I lose my pdf tabs on every restart with the imap errors reported here. So I took the opportunity to check the error console. This time I see
Security Error: Content at about:neterror?e=unknownProtocolFound&u=imap%3A//km%2540mathcs.emory.edu%40imap.gmail.com%3A993/fetch%253EUID%253E/INBOX%253E434448%3Fpart%3D1.3%26filename%3D4EG1123%2520Emory%2520Gardens.pdf%26type%3Dapplication/pdf&c=UTF-8&d=One%20of%20the%20following%20%28imap%29%20is%20not%20a%20registered%20protocol%20or%20is%20not%20allowed%20in%20this%20context. may not load or link to chrome://global/skin/icons/info.svg.
I didn't see that last restart. Its not the same pdf, or maybe its the new beta, or I just missed it last time with all the calendar stuff that dominates the error console.
Reporter | ||
Comment 11•5 months ago
|
||
Just updated to 121.0b6, which means a restart. On every restart I lose the tabs with pdfs in them. This is what the error console said this time
Security Error: Content at about:neterror?e=unknownProtocolFound&u=imap%3A//km%2540mathcs.emory.edu%40imap.gmail.com%3A993/fetch%253EUID%253E/INBOX%253E435076%3Fpart%3D1.2%26filename%3Dtest.pdf%26type%3Dapplication/pdf&c=UTF-8&d=One%20of%20the%20following%20%28imap%29%20is%20not%20a%20registered%20protocol%20or%20is%20not%20allowed%20in%20this%20context. may not load or link to chrome://global/skin/icons/info.svg.
Comment 12•5 months ago
|
||
What I really don't understand is why this is broken and nothing is done about this serious regression. Even more because it worked before Supernova.
Comment 13•5 months ago
|
||
I can't reproduce. There must be something missing from the steps to reproduce.
Is the account where the mail with the pdf is logged in to when thunderbird starts? Is the password saved?
Reporter | ||
Comment 14•5 months ago
|
||
My IMAP sever is gmail. When thunderbird starts up it immediately loads the INBOX without any interaction. The Security settings are ssl/tls and Oauth2.
Comment 15•5 months ago
|
||
Same issue with another IMAP server connected through SSL/TLS with normal password.
Assignee | ||
Comment 16•5 months ago
|
||
Updated•5 months ago
|
Comment 17•5 months ago
|
||
Weird. I can reproduce with every provider, so it's definitely not an issue in that regard.
Doesn't matter if it is Gmail, Web.de, whatever...
Assignee | ||
Comment 18•5 months ago
|
||
It's nothing to do with which provider you have. This is a timing issue. If your tab gets restored before the IMAP mechanism is ready, you will see this bug. That's why it happens for some people but not others. The fix is to ensure one happens before the other.
Assignee | ||
Updated•5 months ago
|
Comment 20•5 months ago
|
||
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/4a6370af4d14
Make sure the IMAP protocol is ready before restoring PDF tabs. r=mkmelin
Comment 21•5 months ago
|
||
I noticed that the "imap not registered" is still occurring on PDF tabs on 115.6.0 on windows. This simple fix probably could have been uplifted to 115.6.0 to fix the bug in the release.
Assignee | ||
Updated•4 months ago
|
Comment 23•4 months ago
|
||
Comment on attachment 9368335 [details]
Bug 1846054 - Make sure the IMAP protocol is ready before restoring PDF tabs. r=#thunderbird-reviewers
[Triage Comment]
approved for esr115
Comment 24•4 months ago
|
||
bugherder uplift |
Thunderbird 115.7.0:
https://hg.mozilla.org/releases/comm-esr115/rev/c8444e99984d
Description
•