Open Bug 1504993 Opened 6 years ago Updated 7 months ago

Message-tags are lost on moving messages to imap folder

Categories

(MailNews Core :: Networking: IMAP, defect)

x86_64
Linux
defect
Not set
critical

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: robi, Unassigned)

References

Details

(Keywords: dataloss)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0 Steps to reproduce: Tag messages using numbers (1,2... ). Move those messages to another folder Actual results: Tags assigned to messages are lost Expected results: Tags assigned to messages should be kept
I cannot reproduce this. Does it happen if Thunderbird is started in safe mode - Help > Restart with Add-ons Disabled? > Move those messages to another folder What other folders are we talking about - in the same account, different, local?
Flags: needinfo?(robi)
Yes, the result is the same even if started in safe mode. I have tried with TB 60.2.1 in Ubuntu 18.04.1, 60.3.0 Windows 10 and 52.9.1 in Windows 10. Localised and English versions. I marked one message in INBOX with number 1 (red) and moved it to SomeFolder within the same IMAP account. When moving mouse on SomeFolder, message is color tagged for a fraction of second, than changes back to black - without tag.
Flags: needinfo?(robi)

I can confirm this issue with Thunderbird 60.7.0 (64-bit) on OpenBSD 6.5 with an IMAP account stored in a Maildir. Steps to reproduce:

  1. thunderbird --safe-mode
    1. check disable all add-ons
    2. Continue in Safe Mode
  2. create new IMAP folder foo
  3. select and tag arbitrary mail
  4. move tagged mail to foo
  5. open foo to see said mails untagged

This only ever happens for the very first move opeartion iff foo has been newly created.
Following steps 3 and 4 result in tags being preserved.

This issue is not reproducible with already existing folders.

Restarting Thunderbird between steps 3 and 4, that is after creating the new folder but before moving mail, does not change behaviour: tags are still lost.

I experienced this issue in an effort to archive all mails except tagged ones. This is what I did:

  1. create temporary folder in same IMAP account
  2. Quick Filter for tagged messages in Inbox
  3. move all matches to temporary folder
  4. reset filter
  5. archive all mail
  6. move all mail from temporary folder back to Inbox
  7. lost all tags

This is also reported in bug 1511362. (there is also bug 760856)

I cannot reproduce.

Severity: normal → critical
Component: Folder and Message Lists → Networking: IMAP
Keywords: dataloss
Product: Thunderbird → MailNews Core
Summary: Message-tags are lost on moved messages → Message-tags are lost on moving messages to imap folder
See Also: → 1511362, 760856, 1527586

I can reproduce this on M. Thunderbird 102.13

  1. I tag 1 mail letter in IMAP Inbox with any of M.Thunderbird default tags available.
  2. I drag this letter and drop it to any other IMAP folder

(In reply to Narcis Garcia from comment #5)

I can reproduce this on M. Thunderbird 102.13

  1. I tag 1 mail letter in IMAP Inbox with any of M.Thunderbird default tags available.
  2. I drag this letter and drop it to any other IMAP folder

The type of imap server may affect this. Can you tell me the type of imap server (yahoo, gmail, dovecot etc) for the source and destination folder you are transferring the message between? If you are transferring the message within the same account, of course, the source and destination server will be the same.
I tried it within an account on an "Intermail" imap server (my ISP's server) and it kept the "important" tag afrer I moved or copied the message to another folder.
Requesting this from any reporter seeing this problem, not just Narcis G.

From comment 13:

I can confirm this issue with Thunderbird 60.7.0 (64-bit) on OpenBSD 6.5 with an IMAP account stored in a Maildir. Steps to reproduce:

The steps described on comment 13 worked for me (daily 116) on a maildir based account (iCloud imap server). But lots of changes to maildir and probably to tag code since TB 60.

See Also: → 1901509
See Also: → 687784
See Also: → 730250
See Also: → 729732
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
See Also: → 1863741
See Also: → 1892385
You need to log in before you can comment on or make changes to this bug.