Open Bug 1511362 Opened 6 years ago Updated 7 months ago

IMAP: tags disappear after moving a message to a folder.

Categories

(MailNews Core :: Networking: IMAP, defect)

x86_64
Linux
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: hawran.diskuse, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0 Steps to reproduce: 1. Tag a message (within the INBOX) with a tag. 2. Move the message to another folder. Actual results: 3. There's not a tag on the message. (the same for more than one tag) Expected results: 3. All tags remain with the message.
ADDENDUM Thunderbird: Application Basics Name: Thunderbird Version: 60.2.1 Build ID: 20181010142946 User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 OS: Linux 4.4.0-139-generic Multiprocess Windows: 0/0 (Disabled) Web Content Processes: Stylo: content = true (enabled by default), chrome = true (enabled by default) Enterprise Policies: Google Key: Missing Mozilla Location Service Key: Missing Safe Mode: false Mail and News Accounts account1: INCOMING: account1, , (imap) ...:143, alwaysSTARTTLS, passwordCleartext OUTGOING: , ...:25, alwaysSTARTTLS, passwordCleartext, true account2: INCOMING: account2, , (none) Local Folders, plain, passwordCleartext account3: INCOMING: account3, , (rss) Feeds, plain, passwordCleartext Crash Reports for the Last 3 Days All Crash Reports Extensions Name Version Enabled ID DKIM Verifier 2.0.0 true dkim_verifier@pl ImportExportTools 3.3.0 true {3ed8cc52-86fc-4613-9026-c1ef969da4c3} Lightning 6.2.2.1 true {e2fda1a4-762b-4020-b5ad-a41df1933103} LookOut 1.2.13 false lookout@aron.rubin Messaging Menu and Unity Launcher integration 1.4 false messagingmenu@mozilla.com Internationalisation & Localisation Application Settings Requested Locales: ["en-US"] Available Locales: ["cs","en-GB"] App Locales: ["en-GB","und"] Regional Preferences: ["en-GB"] Default Locale: "und" Operating System System Locales: ["en-US"] Regional Preferences: ["en-GB"] OS: $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.5 LTS Release: 16.04 Codename: xenial $
Component: Untriaged → Folder and Message Lists
(In reply to hawran from comment #0) > User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:63.0) Gecko/20100101 > Firefox/63.0 > > Steps to reproduce: > > 1. Tag a message (within the INBOX) with a tag. > 2. Move the message to another folder. > > > Actual results: > > 3. There's not a tag on the message. > (the same for more than one tag) > > > Expected results: > > 3. All tags remain with the message. I can not reproduce using Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 on Ubuntu 18.04.1 LTS. I added one tag then moved it to a folder and the tag was still there. Repeated the test with multiple tags and they were still there after the move. Does the same problem occur if you try safe mode? Help > Restart with Add-ons Disabled.
I've just moved a couple of messages in the Safe Mode: all tags have disappeared.

Still experiencing the problem.

Application Basics

Name: Thunderbird
Version: 60.6.1
Build ID: 20190325143859

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
OS: Linux 4.15.0-46-generic

Multiprocess Windows: 0/0 (Disabled)
Web Content Processes:
Stylo: content = true (enabled by default), chrome = true (enabled by default)

Extensions

  Name
  Version
  Enabled
  ID

    DKIM Verifier
    2.0.0
    false
    dkim_verifier@pl

    ImportExportTools
    3.3.0
    false
    {3ed8cc52-86fc-4613-9026-c1ef969da4c3}

    Lightning
    6.2.6.1
    false
    {e2fda1a4-762b-4020-b5ad-a41df1933103}

    LookOut
    1.2.13
    false
    lookout@aron.rubin

    Messaging Menu and Unity Launcher integration
    1.4
    false
    messagingmenu@mozilla.com

Security Software

Type: Name

  Antivirus:
  Antispyware:
  Firewall:

Internationalization & Localization

  Application Settings
  Requested Locales: ["en-US"]
  Available Locales: ["en-US"]
  App Locales: ["en-US","und"]
  Regional Preferences: ["en-GB"]
  Default Locale: "und"

  Operating System
  System Locales: ["en-US"]
  Regional Preferences: ["en-GB"]

(In reply to hawran from comment #4)

Still experiencing the problem.

Even in safe mode.

The problem remains.

Name 	Thunderbird
Version 	60.8.0
Build ID 	20190705191649
User Agent 	Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
OS 	Linux 4.15.0-58-generic

Not all IMAP mail servers actually support the necessary flag to record the tag. In those cases Thunderbird stores the information in the MSF file for that folder. One of the unfortunate side effects of that storage is it is entirely local and specific to that folder. moving such a mail to another folder might well see the information lost.

As you removed the server name, I have no idea if it is a popular one. But I suggest you try a popular free server (like GMX.COM) and see if it replicates your problem

Well, the problem is that I've been experiencing the issue from time to time, not all the time.
(as for the server, it's seznam.cz)

See Also: → 1504993

I experience the same issue with TB 68.8.0 (and not before this version)
Take a tagged message from an imap folder, move it to another one, the tag disappear.

Same issue here with TB 68.10.0 - we noticed the issues this week, I can not tell for sure for how long we have this version installed, but according to the release notes, it has been available from the 1st of July 2020, so it cannot be longer than that.

Moving tagged messages locally works. For IMAP folders, the tags disappear. It does not always happen immediately, when you follow the moved message into the folder, the tags are there and then disappear before your eyes. Sometimes you even can leave the folder, and when you return, the tags are gone.

We then checked on the IMAP server, the tag is shown under "X-Mozilla-Keys:" before as well as after moving to the other folder, also after the tag is lost in TB. So it is definitely synchronised with the server and not lost there.

I'm not an expert, I tried to look at the .msf Files as well as they also seem to be used for storing tags according to my google research... And to me it looks like in our case, the tags are stored there as well. With every change, the .msf file becomes longer, but nothing old is removed. When I add tags, they can be found as e.g. $label8 $label3 in the addition.

I then moved my example to another folder (but did not follow it so the tags would still be there). I could find the labels with the email data (so at the top, not at the bottom).
I then opened the folder and the tags disappeared. When I checked the .msf again, another cryptic part had been added to the bottom. As I am not sure what it contains if you are able to decrypt it, I am not posting it here, but it did not contain obvious words like the $label things.

It would be great if someone could check this. Our server provider insisted that it is not their fault and that they did not change anything, which we tend to believe as we can see our tags on the server.
We have been working with these tags for years and it always worked fine, so to us, this is a major issue.

Severity: normal → S3

I can reproduce this on M. Thunderbird 102.13 (Debian GNU/Linux)

  1. Tag 1 mail letter in IMAP Inbox with any of M.Thunderbird default tags available.
  2. Drag this letter and drop it to any other IMAP folder
See Also: → 1901509
See Also: → 687784
See Also: → 730250
See Also: → 729732
See Also: → 760856
Component: Folder and Message Lists → Networking: IMAP
OS: Unspecified → Linux
Product: Thunderbird → MailNews Core
Hardware: Unspecified → x86_64
Summary: Tags disappear after moving a message to a folder. → IMAP: tags disappear after moving a message to a folder.
Version: 60 → unspecified
See Also: → 1863741
See Also: → 1892385
You need to log in before you can comment on or make changes to this bug.