Closed
Bug 130982
Opened 23 years ago
Closed 23 years ago
delete/move context menu command attempts to restore focus to invalid row
Categories
(SeaMonkey :: MailNews: Message Display, defect)
SeaMonkey
MailNews: Message Display
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: ssu0262, Assigned: ssu0262)
Details
Attachments
(1 file, 2 obsolete files)
3.60 KB,
patch
|
ssu0262
:
review+
ssu0262
:
superreview+
asa
:
approval+
|
Details | Diff | Splinter Review |
steps to reproduce:
1) left-click on a new folder in the folder pane (this ensures that
there isn't a message loaded in the message pane). Make sure that
this folder has more messages than can be shown in the thread pane.
2) scroll down to the last message in the thread pane.
3) right-click on the last message (or any message here) and select
the delete message menu item.
Notice that it scrolls back to the top attempting to show the row above the
first possible row.
Comment 2•23 years ago
|
||
I see this on RedHat Linux 7.2, BuildID 2002031319, so marking OS:ALL.
OS: Windows 2000 → All
Comment 4•23 years ago
|
||
Comment on attachment 74137 [details] [diff] [review]
patch v1.0
This is a bit of a guess but wouldn't it be easier to move the Ensure call
under the if (... >= 0) condition?
no, that wouldn't be correct. There are actually two problems here:
1) Delete/Move To commands ensure that the reselected row is visible.
2) Calls to ensureRowIsVisible() is sometimes being passed in a value
< 0.
To fix 1), EnsureRowInThreadOutlinerIsVisible() needs to be removed from
HandleDeleteOrMoveMsgCompleted().
To fix 2), EnsureRowInThreadOutlinerIsVisible() needs to not call
ensureRowIsVisible() for indexes < 0.
Status: NEW → ASSIGNED
Comment on attachment 74137 [details] [diff] [review]
patch v1.0
r=bhuvan
Attachment #74137 -
Flags: review+
Comment 7•23 years ago
|
||
part of this change is to the heavily hacked on HandleDeleteOrMoveMsgCompleted()
fix one bug, you regress an old one, or cause a new one.
Why was that call there in the first place? can you use cvsblame to help figure
that out, and then if it was added for a bug, see if you change doesn't regress it.
This new patch will only patch problem 2). Problem 1) has been filed as bug
131307.
Attachment #74137 -
Attachment is obsolete: true
added comments to the previous patch.
Attachment #74432 -
Attachment is obsolete: true
Assignee | ||
Comment 10•23 years ago
|
||
Comment on attachment 74434 [details] [diff] [review]
patch v1.2
moving r= from the earlier patch for problem 2).
got sr=sspitzer for problem 2).
Attachment #74434 -
Flags: superreview+
Attachment #74434 -
Flags: review+
Comment 11•23 years ago
|
||
Comment on attachment 74434 [details] [diff] [review]
patch v1.2
a=asa (on behalf of drivers) for checkin to the 1.0 trunk
Attachment #74434 -
Flags: approval+
Assignee | ||
Comment 12•23 years ago
|
||
patch checked in to trunk only.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 13•23 years ago
|
||
yes, sr=sspitzer on that patch.
thanks for splitting it up.
Comment 14•23 years ago
|
||
Verified on trunk build at 04/22/02 on Linux, Win2K, Mac 10.1.3.
Focus remains on the selected folder. No message loaded in the message pane.
Status: RESOLVED → VERIFIED
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•