Bug 3743 - Tags are not saved
Summary: Tags are not saved
Status: RESOLVED WORKSFORME
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Folders/IMAP (show other bugs)
Version: 3.14.1
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2016-12-09 13:53 UTC by jecagi
Modified: 2017-02-08 20:58 UTC (History)
1 user (show)

See Also:


Attachments

Description jecagi 2016-12-09 13:53:06 UTC
I assign one or more tags to one or more messages. Then I go to a different folder and come back to the former. The tags I just assigned are gone.
Comment 1 Ricardo Mones 2016-12-09 14:23:44 UTC
It works fine here. Is that an IMAP account or a local one?

If that's an IMAP account open network log (Tools/Network Log) and see which messages the server is returning when you apply the tags.
Comment 2 jecagi 2016-12-09 22:31:36 UTC
(In reply to comment #1)
> It works fine here. Is that an IMAP account or a local one?
> 
> If that's an IMAP account open network log (Tools/Network Log) and see which
> messages the server is returning when you apply the tags.

Thank you, Ricardo, for your quick answer.

It's indeed an IMAP account (@yahoo.es) but I can't find anything relevant in the network log.

At 22:12 I added a $Viajes tag to a message. Then waited until 22:13 before:
 1) Changed to a different message, same folder and came back -> The tag was still there.
 2) Changed to a different folder and back to the original message -> The tag was gone.

Here is the log of those two minutes:

[22:12:09] IMAP> 52 NOOP 
[22:12:09] IMAP< 52 OK NOOP completed 
[22:12:15] IMAP> 25 NOOP 
[22:12:15] IMAP< 25 OK Success 
[22:13:09] IMAP> 53 NOOP 
[22:13:09] IMAP< 53 OK NOOP completed 
[22:13:14] IMAP> 54 STATUS "INBOX/Cdad. vecinos" (MESSAGES UIDNEXT UIDVALIDITY UNSEEN) 
[22:13:14] IMAP< * STATUS "Inbox/Cdad. vecinos" (MESSAGES 4 UIDNEXT 59854 UIDVALIDITY 1479493484 UNSEEN 0) 
[22:13:14] IMAP< 54 OK STATUS completed 
[22:13:14] IMAP> 55 SELECT "INBOX/Cdad. vecinos" 
[22:13:14] IMAP< * 4 EXISTS 
[22:13:14] IMAP< * 0 RECENT 
[22:13:14] IMAP< * OK [UIDVALIDITY 1479493484] UIDs valid 
[22:13:14] IMAP< * OK [UIDNEXT 59854] Predicted next UID 
[22:13:14] IMAP< * FLAGS (\Answered \Deleted \Draft \Flagged \Seen $Forwarded $Junk $NotJunk) 
[22:13:14] IMAP< * OK [PERMANENTFLAGS (\Answered \Deleted \Draft \Flagged \Seen $Forwarded $Junk $NotJunk)] Permanent flags 
[22:13:14] IMAP< * OK [HIGHESTMODSEQ 6360203047064456024] 
[22:13:14] IMAP< 55 OK [READ-WRITE] SELECT completed; now in selected state 
[22:13:14] IMAP- [fetching flags...]
[22:13:14] IMAP> 56 UID FETCH 1:* (FLAGS UID) 
[22:13:14] IMAP< [FETCH data - 222 bytes]
[22:13:15] IMAP> 26 NOOP 
[22:13:15] IMAP< 26 OK Success 
[22:13:19] IMAP> 57 STATUS INBOX (MESSAGES UIDNEXT UIDVALIDITY UNSEEN) 
[22:13:19] IMAP< * STATUS "Inbox" (MESSAGES 57 UIDNEXT 60787 UIDVALIDITY 1 UNSEEN 42) 
[22:13:19] IMAP< 57 OK STATUS completed 
[22:13:19] IMAP> 58 SELECT INBOX 
[22:13:19] IMAP< * 57 EXISTS 
[22:13:19] IMAP< * 0 RECENT 
[22:13:19] IMAP< * OK [UIDVALIDITY 1] UIDs valid 
[22:13:19] IMAP< * OK [UIDNEXT 60787] Predicted next UID 
[22:13:19] IMAP< * FLAGS (\Answered \Deleted \Draft \Flagged \Seen $Forwarded $Junk $NotJunk) 
[22:13:19] IMAP< * OK [PERMANENTFLAGS (\Answered \Deleted \Draft \Flagged \Seen $Forwarded $Junk $NotJunk)] Permanent flags 
[22:13:19] IMAP< * OK [HIGHESTMODSEQ 6362210793018097664] 
[22:13:19] IMAP< 58 OK [READ-WRITE] SELECT completed; now in selected state 
[22:13:19] IMAP- [fetching flags...]
[22:13:19] IMAP> 59 UID FETCH 1:* (FLAGS UID) 
[22:13:19] IMAP< [FETCH data - 2470 bytes]
Comment 3 Ricardo Mones 2016-12-10 18:37:59 UTC
You don't need to wait, I'd want to see the response of server when you set the flag, which unfortunately is not on your log.

For example, if set the BUG tag the following is immediately written in my network log:

[18:30:27] IMAP> 317 UID STORE 156481 +FLAGS.SILENT (BUG) 
[18:30:28] IMAP< * 57140 FETCH (UID 156481 FLAGS (BUG \Seen)) 
[18:30:28] IMAP< 317 OK Success 

What does appear on yours?

Also, does the tag also disappear if you don't use '$' in the tag?
Comment 4 jecagi 2016-12-11 22:52:39 UTC
(In reply to comment #3)
> You don't need to wait, I'd want to see the response of server when you set
> the flag, which unfortunately is not on your log.
> 
> For example, if set the BUG tag the following is immediately written in my
> network log:
> 
> [18:30:27] IMAP> 317 UID STORE 156481 +FLAGS.SILENT (BUG) 
> [18:30:28] IMAP< * 57140 FETCH (UID 156481 FLAGS (BUG \Seen)) 
> [18:30:28] IMAP< 317 OK Success 
> 
> What does appear on yours?
> 
> Also, does the tag also disappear if you don't use '$' in the tag?

The same happens if I don't use '$'. I set a 'compras' flag (without '$') and this is what is written in the network log:
 [22:44:18] IMAP> 24 SELECT Archivo 
 [22:44:18] IMAP< * 655 EXISTS 
 [22:44:18] IMAP< * 0 RECENT 
 [22:44:18] IMAP< * OK [UIDVALIDITY 27] UIDs valid 
 [22:44:18] IMAP< * OK [UIDNEXT 60775] Predicted next UID 
 [22:44:18] IMAP< * FLAGS (\Answered \Deleted \Draft \Flagged \Seen  $Forwarded $Junk $NotJunk) 
 [22:44:18] IMAP< * OK [PERMANENTFLAGS (\Answered \Deleted \Draft \Flagged \Seen $Forwarded $Junk $NotJunk)] Permanent flags 
 [22:44:18] IMAP< * OK [HIGHESTMODSEQ 6362073882873089072] 
 [22:44:18] IMAP< 24 OK [READ-WRITE] SELECT completed; now in selected state 
 [22:44:27] IMAP> 72 NOOP 
 [22:44:27] IMAP< 72 OK Success 
 [22:44:47] IMAP> 25 NOOP 
 [22:44:47] IMAP< 25 OK NOOP completed 

Nothing to do with the word 'compras' as you can see.
Comment 5 jecagi 2016-12-11 22:55:06 UTC
I mean 'Compras tag' (not flag). Sorry.
Comment 6 Ricardo Mones 2016-12-12 07:30:32 UTC
(In reply to comment #4)
[...]
> The same happens if I don't use '$'. I set a 'compras' flag (without '$')
> and this is what is written in the network log:
>  [22:44:18] IMAP> 24 SELECT Archivo 

Well, that's still not what I'd want to see (that's that is written when a folder is open, not when a tag is set), so let's try again:

1. Open network log
2. Open some folder
3. Select some message
4. Wait until network log stops being written
5. Right-click the message you previously selected
6. Set a tag and post here what's written in network log at that moment

Thanks in advance,
Comment 7 Ricardo Mones 2016-12-20 10:42:01 UTC
No feedback since last week, hence closing. Probably a server error, but lacking the requested network log cannot know for sure.

Reopen if you can obtain the log, thanks.
Comment 8 Chocimier 2017-02-08 20:52:24 UTC
Same problem here. With tlen.pl server nothing is sent during adding tag. However selecting with Shift+* works well, network log for that is 

[20:50:52] IMAP> 144 UID STORE 6704 +FLAGS.SILENT (\Flagged) 
[20:50:54] IMAP< 144 OK Store completed

Note You need to log in before you can comment on or make changes to this bug.