Closed Bug 2087735 Opened 18 days ago Closed 16 days ago

ImapMail folder contents deleted after Windows Update KB5127936

Categories

(Thunderbird :: Folder and Message Lists, defect)

Thunderbird 159
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 2087454

People

(Reporter: planckparticles, Unassigned)

Details

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

Steps to reproduce

Installed Windows Update 2026-10 Preview Update (KB5127936) (26300.9818) on its release 10/28/2026

Confirmed unexpected behavior on update of 2nd Windows machine.

Uninstalled and cleaned profile, installed Thunderbird Daily - same unexpected behavior.

Uninstalled the Windows Update, cleaned TB Daily and installed TB - ImapMail loads correctly (if slowly). So this is the workaround.

Actual results

Initially Thunderbird correctly connected to the Network Solutions server netsol-imap-oxcs.hostingplatform.com and the inbox contents (messages and directories) disappeared. TB re-installs connected but did not add messages to inbox.

After the unexpected behavior the ImapMail folder contained just basic templates and a 2k INBOX,
C:\Users\Bobf\AppData\Roaming\Thunderbird\Profiles\ug2amzqy.default-release\ImapMail

Expected results

The default TB behavior, server messages appear in inbox.

Additional behavior:

Exited and restarted TB. Watched the status bar as all the folders in the Inbox were deleted.
Folders still exist on server.

C:\Users\Bobf\AppData\Roaming\Thunderbird\Profiles\ug2amzqy.default-release\ImapMail\netsol-imap-oxcs.hostingplatform.com contains only msgFilterRules.dat

A Download gets the messages in the Inbox but not the folders in the Inbox. ...ImapMail\netsol-imap-oxcs.hostingplatform.com contains

10/30/2026  04:38 PM    <DIR>          .
10/30/2026  03:51 PM    <DIR>          ..
10/30/2026  04:38 PM             1,230 Drafts.msf
10/30/2026  04:38 PM         1,649,232 INBOX
10/30/2026  04:39 PM             3,567 INBOX.msf
10/30/2026  04:38 PM             1,233 Junk.msf
10/30/2026  03:51 PM                 0 msgFilterRules.dat
10/30/2026  04:38 PM             1,228 Sent.msf
               6 File(s)      1,656,490 bytes

The above workaround statement is incorrect :(

Is behavior better with Windows started in Safe Mode?

Component: Untriaged → Folder and Message Lists
Summary: ImapMail contents deleted after Windows Update KB5127936 → ImapMail folder contents deleted after Windows Update KB5127936

Using Windows Safe Mode with Networking the inbox is still empty after clicking Get Messages.
In the status bar I can see the lookingup and connecting messages, but inbox remains empty.

Also FYI, Webmail from the same Windows machine, and also a 3rd party app on Android, both work as expected.

And I just installed TB 24 on Android, and that works as expected.

I notice the ping times to the server are long, typically 100-150mS. This is the case on both Starlink and Cable ISPs.

Also Windows reinstalled the update, which might explain why removing the update only worked for a short while.

Hypotheses :

  1. TB handles a timeout as an empty response, which of course it is not. This would explain the disappearing messages (OK, its a guess)
  2. The MS release changed some default network timeout, and TB uses the default. There is some evidence of something similar, but it is not a smoking gun https://learn.microsoft.com/en-us/answers/questions/6055311/kb5127936-reproducible-firewall-2042-and-wesp-7000

I tried looking at https://github.com/thunderbird/thunderbird-desktop but I don't have enough familiarity to test my hypotheses. Feel free to ignore my guesswork.

duplicate of Bug 2087454 - Thunderbird 159.0: IMAP folders disappear after restart despite successful LIST responses ?

I notice the ping times to the server are long, typically 100-150mS. This is the case on both Starlink and Cable ISPs.

Hardly uncommon, shouldn't be the cause for any issues.

I do not believe the Windows Update is the root cause, but just a timing coincidence.

Please try to install Thunderbird 153 ESR and see if that works fine.

153.6.0esr worked only the first time, when all messages and folders were downloaded.

After an exit and restart all the messages disappeared, though the folders remained (different from 159).

FYI IMAP Host uses Port 993, SSL/TLS, Normal Password.

Also uninstalled KB5124010 and TB ESR now works as expected. Can exit and restart TB and messages are retained.

@Robert: This issue isn't related to the OS itself. There is something screwed up in the desktop-codebase of TB 159.0.

(In reply to Ron from comment #12)

@Robert: This issue isn't related to the OS itself. There is something screwed up in the desktop-codebase of TB 159.0.

Any clues what might be going on? The amount of reports we are getting means it can't be very widespread.

What combinations do you say are working?

If there is some code issue, an IMAP log could be useful. See https://wiki.mozilla.org/MailNews:Logging

See workaround in Bug 2087454

set mail.server.serverN.use_compress_deflate to false

Worked for me, tried on two Windows machines that both previously had the issue. Both now good.
Both have the latest Windows OS updates.
No need to repair folders via Subscribe.

Seems robust. :)

Let's dupe it there, thanks!

Status: UNCONFIRMED → RESOLVED
Closed: 16 days ago
Duplicate of bug: 2087454
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.