Closed Bug 365858 Opened 19 years ago Closed 19 years ago

tags lost on drag&drop from the IMAP (without tag support) to Local-folder (copy works)

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gNeandr, Assigned: Bienvenu)

Details

(Keywords: fixed1.8.1.2, verified1.8.1.3)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1 Build Identifier: version 2 beta 1 (20070103) If I added a TAG to a msg while stored on IMAP folder, this TAG will be lost with moving to a Local folder. Reproducible: Always Steps to Reproduce: 1.select IMAP folder 2.tag a message (eg. "Later") 3.move that with D&D to a folder located in yr "Local" folder 4. check the TAG Actual Results: will loose the TAG at the local folder
this works for me, but I'm doing it on a server that stores the tags on the server, and you're doing it on a server that doesn't seem to allow storing of the tags on the server...I'll have to try it later on a server that doesn't store tags...
Status: UNCONFIRMED → NEW
Ever confirmed: true
@David you wrote "you're doing it on a server that doesn't seem to allow storing of the tags on the server." Think that's not the case. If the server does not store the TAG, why holds the "message" the TAG with de-connecting & logging in once more? Because the msg does not store the tag locally ... the server should be the one ... Also note the following behavior: --> with D&D the tagged msg over to Local store it's LOOSING the tag, --> ***BUT*** with COPYING to Local store it will HOLD the tag (just recognized this behaviour ;))
Summary: messages on a IMAP server moved down to local store to loose their TAGs. → messages on a IMAP server **D&D** down to local store to loose their TAGs.
Summary: messages on a IMAP server **D&D** down to local store to loose their TAGs. → messages on a IMAP server **D&D** down to local store **HOLDS** their TAGs.
Sorry, think have mixed up the headerline! Let me correct: This situation description is right: --> with copy by D&D the tagged msg over to Local store it's LOOSING the tag, ***BUT*** --> with COPYING that same msg to Local store, it will HOLD the tag
Summary: messages on a IMAP server **D&D** down to local store **HOLDS** their TAGs. → msg on IMAP-srv with**D&D**copy to local store will **LOOSE**TAGs, Copy **HOLDS**
Günter, if the server doesn't support storing tags, we store the tags in the local .msf file for the folder. Drag+Drop is the same as copy, internally.
David, also I have mixed the situations up a little ... sorry for that, with my both IMAP servers (web.de and 1und1.de) it's the same situation: 1. they "hold" the added TAGs also with unlogging & a new login [for that you said it's stored in .msf] -- OK for that. 2. there is a difference with a\\ drag&drop from the IMAP-folder down to Local-folder and b\\ copy that IMAP-msg to the Local-folder With b\\ the TAG is there in the LOCAL-folder, but NOT with a\\ ... that's the problem. First I only recognized the situation with a\\ and only accidentally I notice it's different with "Copy from IMAP to Local". Hope this clarifies the situation
Updating summary.
Summary: msg on IMAP-srv with**D&D**copy to local store will **LOOSE**TAGs, Copy **HOLDS** → tags lost on drag&drop from the IMAP (without tag support) to Local-folder (copy works)
Sorry Magnus!!!! Do you mean MY IMAP server don't support TAG?? How to make that for sure? As described with my last posting with point 1. I say it holds the TAG. David said if the server does not support TAGs, they are stored to .msf. Now: how can I check my servers if they store the TAGs or NOT? Whatever the situation is with storing TAGs or not: there is a difference between "D&D" and "Copy"
From your protocol log: * OK [PERMANENTFLAGS (\Deleted \Seen \Answered)] If it supported tags, it would have \* at the end of that line. There's no difference w.r.t. tags between move/copy and drag drop.
New TB update just arrived & installed: TB version 2 beta 1 (20070104) Did this fixed the "bug"?! Or did I some errors / mishandling before?? Don't know ... but an intensive test with mgs status of read/unread, with move and d&d didn't lost the TAGs anymore! Whatever, if I made a mistake, please forgive ... finally it works, that's the important point. Thanks for your patient. Günter
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
The key to recreate this, it seems, is to drag drop an unread message (or perhaps a message you haven't read in the current session) into a local folder w/o reading the message first.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Attached patch proposed fixSplinter Review
The problem was that in some situations, we were deleting the message header before we got a chance to copy the properties to the local msg hdr. So I removed the early delete; we still delete the header later on in the process...I tried some tests, and we still seem to delete the headers correctly in other situations, but I will let this bake on the trunk a little.
Assignee: mscott → bienvenu
Status: REOPENED → ASSIGNED
Attachment #250998 - Flags: superreview?(mscott)
this bug would also affect the junk score of messages drag dropped to local folders...
Attachment #250998 - Flags: superreview?(mscott) → superreview+
I wonder if this patch would also fix this issue: http://forums.mozillazine.org/viewtopic.php?p=2663613#2663613 I was able to reproduce that on the branch and the trunk. The trick is to have an imap filter moving the message to a local folder.
(In reply to comment #15) > I wonder if this patch would also fix this issue: > > http://forums.mozillazine.org/viewtopic.php?p=2663613#2663613 > > I was able to reproduce that on the branch and the trunk. The trick is to have > an imap filter moving the message to a local folder. > I was able to still reproduce this problem with the patch. I filed Bug 366508 for this issue since it sounds different.
fixed on trunk and branch.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago19 years ago
Keywords: fixed1.8.1.2
Resolution: --- → FIXED
verified fixed on the 1.8 branch using the tbird cand build, version 2.0.0.0 (20070326). I verified on Win Vista. I tagged a few unread messages from my Zimbra IMAP account and dragged and dropped them to my Local Folder, and the tags were preserved. Adding branch verified keyword.
Keywords: verified1.8.1.3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: