Closed
Bug 233027
Opened 22 years ago
Closed 20 years ago
multi-message selection: mark as read timer not cleared
Categories
(Thunderbird :: Mail Window Front End, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird1.1
People
(Reporter: fishbert, Assigned: erik)
References
Details
(Keywords: dataloss)
Attachments
(1 file, 1 obsolete file)
5.54 KB,
patch
|
mscott
:
review+
|
Details | Diff | Splinter Review |
User-Agent:
Build Identifier: Mozilla Thunderbird 0.5a (20040128)
When selecting multiple messages by first clicking on one unread message,
holding shift, then clicking on any other message, all selected messages are
marked as 'read' if the multiple-message selection was made before the 'mark as
read after X seconds' timer expired for the first message you selected.
from mscott: "we are supposed to be clearing the timer as soon as you try to
select more than one element in the thread pane or change the selected message.
Sounds like we are not doing that."
Reproducible: Always
Steps to Reproduce:
1. set some time > 0 for 'mark as read after X seconds' setting
2. select an unread message in the thread pane
3. hold shift and select another message in the thread pane (before X seconds)
4. wait for remainder of X seconds
Actual Results:
all messages are marked as 'read'
Expected Results:
should leave read status alone for all messages
Reporter | ||
Comment 1•22 years ago
|
||
should read:
-------
Actual Results:
all *selected* messages are marked as 'read'
Expected Results:
should leave read status alone for all *selected* messages
Assignee | ||
Comment 3•21 years ago
|
||
This seems to be working when using the mouse now.
Using the keyboard to select multiple messages keeps the first message shown in
the message pane and thus TB does not clear the message. The real problem seems
to be that multiple selection using the keyboard does not fire the change that
tells TB to update the message pane and therefore the first message is loaded
and the read timer is fired and marks all selected messgas as read.
I'm setting the priority to major since this is results in data loss.
Severity: normal → major
Assignee | ||
Comment 4•21 years ago
|
||
I filed a seperate bug for the keyboard selection bug which, if fixed, should
fix this bug.
Depends on: 241555
Comment 5•21 years ago
|
||
*** Bug 244126 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 6•21 years ago
|
||
This leads to data loss due to non read messages becoming marked as read and
therefore these might be missed.
Keywords: dataloss
Comment 8•20 years ago
|
||
(In reply to comment #3)
> This seems to be working when using the mouse now.
I'm not seeing any difference in this behavior between selecting via mouse and
selecting via keyboard. TB 1.0, Win2K.
OS: Windows XP → Windows 2000
Comment 9•20 years ago
|
||
*** Bug 254691 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 10•20 years ago
|
||
I don't know which build I was using at the time but mark as read is still
horendously broken even using the mouse to select. (version 1.0 (20041206))
This should probably also be hardware All and OS All but I don't have acces to
anything but WinXP at the moment. Can someone test this on an alternative
OS/hardware?
Comment 11•20 years ago
|
||
*** Bug 286032 has been marked as a duplicate of this bug. ***
Comment 12•20 years ago
|
||
*** Bug 290388 has been marked as a duplicate of this bug. ***
Comment 13•20 years ago
|
||
*** Bug 266988 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 14•20 years ago
|
||
Clear the read timer any time the message view is cleared or loaded as well as
when the user manually changes the read state.
This patch is not made on the cvs tree but on the latest nightly. If required I
can spend several hours downloading and syncing a cvs tree?
Assignee | ||
Updated•20 years ago
|
Attachment #188109 -
Flags: review?(mscott)
Comment 15•20 years ago
|
||
(In reply to comment #14)
> This patch is not made on the cvs tree but on the latest nightly. If required
> I can spend several hours downloading and syncing a cvs tree?
There's certainly no need to download the entire tree to make a patch that
changes isolated bits of code. I regularly use bite-sized cvs checkouts in
order to get a small tree that's clean before applying a patch and committing it
to source. It'll be a little more hassle for you because tree paths don't match
with the paths stored in nightlies, but it's not insurmountable.
Anyway, running the following command should get you all the files you need (and
more - I don't have the time to make this a precision checkout) in order to make
the patch:
cvs -q -z3 co mozilla/mail/base
From there, in order to figure out the files you need to modify you'll need to
figure out the mapping of files in the nightly to files in source. The file
mozilla/mail/base contains this mapping. The first string on each filename line
is the location of the file within the JAR you unzipped to get at the source.
The second is the location of the file relative to the current source directory.
From there, take the diffs you've made and use them to move your changes into
the portion of trunk source code you've downloaded. (You probably can't just
copy the changed files over the files in the tree, because the files in the tree
may be preprocessed [I haven't looked] in ways that make the files specific to
the nightly's target platform [and thus a copy would make the files
non-platform-agnostic]. That said, there's no harm in trying it, so go ahead if
you want to try saving time.)
After your changes are in your tree, running:
cvs diff -u8 mozilla/mail/base/ > msg-selection-patch.txt
...from the directory where you first ran the checkout command should work just
fine for creating a diff that you can post here that's immediately usable.
If you have further questions email me privately. Using this partial-tree
checkout method should save you a substantial amount of time over downloading
the whole tree for one 3KB patch to 4 files.
Comment 16•20 years ago
|
||
(In reply to comment #15)
> The file mozilla/mail/base contains this mapping.
Sorry for bugspam - that should be <mozilla/mail/base/jar.mn>.
Assignee | ||
Comment 17•20 years ago
|
||
Thanks goes to Jeff Walden for showing how easy things can be
Attachment #188109 -
Attachment is obsolete: true
Assignee | ||
Updated•20 years ago
|
Attachment #188216 -
Flags: review?(mscott)
Assignee | ||
Comment 18•20 years ago
|
||
Sorry for the bug spam but I'm interested in getting some reviews so that this
dataloss bug can be closed.
Assignee: mscott → erik
Updated•20 years ago
|
Attachment #188109 -
Flags: review?(mscott)
Comment 19•20 years ago
|
||
Comment on attachment 188216 [details] [diff] [review]
Same patch as before but on the CVS tree
thanks for the patch Erik. I just checked this in with a couple minor changes:
1) I got rid of some extraneous braces which came out of this change. I also
finished off the method call here:
if (markReadOnADelay && wintype == "mail:3pane") // only use the timer
if viewing using the 3-pane preview pane and the user has set the pref
+ {
+ ClearPendingReadTimer
}
Attachment #188216 -
Flags: review?(mscott) → review+
Updated•20 years ago
|
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird1.1
![]() |
||
Comment 20•19 years ago
|
||
Is there a seamonkey version of this bug?
You need to log in
before you can comment on or make changes to this bug.
Description
•