Closed
Bug 198364
Opened 22 years ago
Closed 22 years ago
auto advance on delete to next unread mail message is broken with recent cvs since 20030319
Categories
(SeaMonkey :: MailNews: Message Display, defect)
SeaMonkey
MailNews: Message Display
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Mitch, Assigned: ssu0262)
References
Details
(Keywords: regression)
Attachments
(1 file)
2.05 KB,
patch
|
gerv
:
review+
sspitzer
:
superreview+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.4a) Gecko/20030320
Build Identifier: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.4a) Gecko/20030320
Previous mozilla cvs builds since 20030319 had the feature of auto advancing
to the next unread mail message once the current one had been deleted.
This feature is now broken (regression) since 20030319 cvs.
Reproducible: Always
Steps to Reproduce:
1. Click on a unread mail
2. Delete it
Actual Results:
Mail selection stayed on deleted email (i have "mark message as deleted"
option turned on in Mail & Newsgroup->Server settings preferences)
Expected Results:
The mail selection should move to the next unread email as it did previously
Regression
I note that this could be an unfortunate side effect of the checkin
for bug 142065 that was checked in on 18th (i.e. ever since this started
happening)
Keywords: regression
Comment 2•22 years ago
|
||
Confirmed, for the last week or so.
I fear this may be intentional behaviour. I know there's been requests for this
from people who don't want to advance to the next message - with the side-effect
of marking it read when they didn't want to read it, so having to then mark it
unread.
I had hoped it would be configurable though...
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 3•22 years ago
|
||
Updated•22 years ago
|
Summary: auto advance to next unread mail message is broken with recent cvs since 20030319 → auto advance on delete to next unread mail message is broken with recent cvs since 20030319
I agree, this should definetly be a configuration option. After several years
of this behavior with both mozilla and netscape (and other mail agents) a
MAJOR change in the UI should not be taken so lightly without a vote or a
user configurable option.
Comment 5•22 years ago
|
||
I sure hope making it this way was NOT intentional. I typically hover my mouse
over the DELETE button as i read my mail:
1. read message
2. press delete button
- repeat
With the current BROKEN behavior, I now have to:
1. read message
2. aim at delete button
3. press delete button
4. aim at next message
5. select next message
- repeat
The steps to perform this routine task have more than doubled! Even (unfairly)
combining steps 2&3 and 4&5 it is a 50% increase in steps. :(
Comment 6•22 years ago
|
||
Agreed. This bug should be marked as a regression in behavior and
bug 65823 marked as an RFE with an option to enable it.
Comment 8•22 years ago
|
||
Reading the patch over in bug 142065, I'm pretty sure ssu broke this :-)
Reassigning to him, and nominating as blocking1.4b. This is really irritating
from a usability point of view; it really makes the interface feel clunky.
(If I select a message and delete it, the one message you can guarantee I
_don't_ want to be reading is the current one. Moving to the next message, the
previous behaviour, would be OK; moving to the next non-deleted one would
probably be better (bug 65823) - but I'd settle for a return to how it worked
before.)
Gerv
Assignee: sspitzer → ssu
Flags: blocking1.4b?
Here's a patch that seems to fix this. I'm still testing other permutations of
'delete message'.
Does anyone know (in the 'Mark It As Deleted' delete type):
* if deleting the currently selected message loads the next unread message or
simply the next message?
* if selecting multiple mssages and deleting them will load the next message?
* if undeleting the currently selected message loads the next
'message'/'unread message' at all?
I'll try to find the answer with a build that used to work.
Assignee | ||
Comment 10•22 years ago
|
||
Here's what I found out what it did before:
* if deleting the currently selected message loads the next unread message or
simply the next message?
-> It simply loads the 'next message' regardless if it's read or not and
already marked as deleted or not.
* if selecting multiple mssages and deleting them will load the next message?
-> It does not load the next message. It keeps the selected messages selected.
* if undeleting the currently selected message loads the next
'message'/'unread message' at all?
-> It does not. It leaves the currently selected message loaded.
I just tested the patch, and it will restore all of these behaviors, along with
fixing this bug. It will also not regress bug 142065.
Attachment #120212 -
Flags: review?(gerv)
Comment 11•22 years ago
|
||
All the previous behaviours are as you describe. Excellent :-)
Gerv
Comment 12•22 years ago
|
||
Comment on attachment 120212 [details] [diff] [review]
patch v1.0
Wow, you guys use longwinded method names in MailNews :-) r=gerv, although you
might want to fix that extremely long line to fit in 80 chars. This seems sane
to me, although I'm not in a position to test it.
Gerv
Attachment #120212 -
Flags: review?(gerv) → review+
Assignee | ||
Comment 13•22 years ago
|
||
Comment on attachment 120212 [details] [diff] [review]
patch v1.0
Seth, basically, the patch just adds a check for:
+ if (treeSelection.isSelected(treeSelection.currentIndex))
+ gNextMessageViewIndexAfterDelete = gDBView.msgToSelectAfterDelete;
if the deleted message is the same as the hilighted message, then we should use
the normal way of determining what the next message should be via
gDBView.msgToSelectAfterDelete (as it did before). Not sure why was taken out
in my other patch, sorry.
Attachment #120212 -
Flags: superreview?(sspitzer)
Comment 14•22 years ago
|
||
Comment on attachment 120212 [details] [diff] [review]
patch v1.0
looks reasonable, and
ssu is good at testing his stuff out.
r/sr=sspitzer
Attachment #120212 -
Flags: superreview?(sspitzer) → superreview+
Assignee | ||
Comment 15•22 years ago
|
||
patch checked in.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 16•22 years ago
|
||
*** Bug 200446 has been marked as a duplicate of this bug. ***
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•