* [sup-talk] [BUG] Killed thread and unread count
@ 2007-11-08 10:22 Pierre Baillet
2007-11-11 23:57 ` William Morgan
0 siblings, 1 reply; 2+ messages in thread
From: Pierre Baillet @ 2007-11-08 10:22 UTC (permalink / raw)
Hi,
When an unread thread is killed, it is still marked as belonging to +inbox
and hence is accounted as unread by sup in the "Label list". However, when
displaying the +inbox labelled emails, this thread does not appear. I think
this behaviour may confuse the user. Shouldn't killed threads be marked as
read ?
--
Pierre Baillet <pierre at baillet.name>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/sup-talk/attachments/20071108/cbc7065b/attachment.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* [sup-talk] [BUG] Killed thread and unread count
2007-11-08 10:22 [sup-talk] [BUG] Killed thread and unread count Pierre Baillet
@ 2007-11-11 23:57 ` William Morgan
0 siblings, 0 replies; 2+ messages in thread
From: William Morgan @ 2007-11-11 23:57 UTC (permalink / raw)
Hi Pierre,
Excerpts from Pierre Baillet's message of Thu Nov 08 02:22:29 -0800 2007:
> When an unread thread is killed, it is still marked as belonging to
> +inbox and hence is accounted as unread by sup in the "Label list".
> However, when displaying the +inbox labelled emails, this thread does
> not appear. I think this behaviour may confuse the user. Shouldn't
> killed threads be marked as read ?
Excellent question. This is actually a symptom of a larger problem,
which is that threading information is never explicitly stored in the
Sup index, and that being killed is a thread-level, not a message-level,
feature. (A killed thread is a thread in which at least one message has
the label :killed.)
So even if you marked a thread as unread before you killed it, the next
time a message in that thread was received, it would count as a new
message in the inbox, even though it never showed up.
In order for unread messages in killed threads to not count as unread
messages, Sup would have to maintain a list of all message-ids in all
killed threads, and check new messages against that list before
incrementing the unread message count. Not impossible, but substantially
harder than just marking killed messages as unread. I've added it to the
TODO.
--
William <wmorgan-sup at masanjin.net>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-11-11 23:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-08 10:22 [sup-talk] [BUG] Killed thread and unread count Pierre Baillet
2007-11-11 23:57 ` William Morgan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox