Closed
Bug 115950
Opened 23 years ago
Closed 23 years ago
IMAP : fix next message selection after deleting multiple msgs for imap-delete model
Categories
(MailNews Core :: Networking: IMAP, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla0.9.9
People
(Reporter: naving, Assigned: naving)
Details
Attachments
(1 file)
(deleted),
patch
|
Bienvenu
:
review+
|
Details | Diff | Splinter Review |
The message selection goes up-down, is all weird, messed-up.
Assignee | ||
Comment 2•23 years ago
|
||
yes, it is related. We can mark this as dup.
*** This bug has been marked as a duplicate of 65823 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Comment 3•23 years ago
|
||
selection is jumping for imap-delete model for multiple deletes, that bug
is about selecting non-deleted message which is a minor but this is bad
because it jumps to end of the view.
I have a fix for this problem.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Summary: IMAP : fix next message selection after deleting msgs for imap-delete → IMAP : fix next message selection after deleting multiple msgs for imap-delete model
Assignee | ||
Comment 4•23 years ago
|
||
moving to 0.9.9
Priority: -- → P3
Target Milestone: --- → mozilla0.9.9
Assignee | ||
Comment 5•23 years ago
|
||
Just made it like 4x. multiple deletion will not do anything to selection.
The fix is to have js and C++ both use nsMsgViewIndex_None.
Also I cleaned up some small things like multiple selection of msgs will
setTitle to folder, selectAll will also do the same thing.
I did this for standalone and search and for search we will have to know
deleteModel if we are to select next msg correctly before we delete the msg.
tested standalone, folder w/ one message, replying to msg, search and going
back and forth between deleteModels.
Assignee | ||
Comment 6•23 years ago
|
||
cc david for review. I will get seth to sr also.
Comment 7•23 years ago
|
||
isn't nsMsgViewIndex_None the same as -1 which is the same as 0xFFFFFFFF? I
can't really tell the difference in the patch, except that global variable
starts off at -2 instead of -1, but that can't be sufficient to fix this bug.
Assignee | ||
Comment 8•23 years ago
|
||
If you look at nsMsgDBView::GetMsgToSelectAfterDelete we assign
msgViewIndex_none in the case of multiple msg deletion and when
deletemodel==IMAPDelete
js doesn't take nsMsgViewIndex_None as -1, it takes it as 0xFFFFFFF or
427454545 (something like this)
Comment 9•23 years ago
|
||
Comment on attachment 68035 [details] [diff] [review]
proposed fix
r=bienvenu, ok, I think I see.
Attachment #68035 -
Flags: review+
Comment 10•23 years ago
|
||
Comment on attachment 68035 [details] [diff] [review]
proposed fix
r=bhuvan
Assignee | ||
Comment 11•23 years ago
|
||
fixed
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•