Closed Bug 74674 Opened 24 years ago Closed 24 years ago

bad rows when switching from large to small (or empty) folder

Categories

(SeaMonkey :: MailNews: Message Display, defect, P1)

x86
All
defect

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9

People

(Reporter: sspitzer, Assigned: sspitzer)

References

Details

(Whiteboard: [nsbeta1+])

Attachments

(1 file)

try this:

load a large folder, scroll to the bottom.
switch to a folder with a 5 messages.  
sometimes I see 10, with 5 blank bogus messages at the top

load a large folder, scroll to the bottom.
switch to a folder with a 0 messages.  
sometimes I crash

fix for the crasher on the way, but I need to debug to figure out why this is
happening.
we crash when we ask for the cell text at row "-8"

I've got a patch for the crash, but I need to figure out why we ask for row -8

my guess is when I tell the outliner that the # of rows has changes, I'm giving
the wrong value.
Status: NEW → ASSIGNED
crash = p1, 0.9
Priority: -- → P1
Target Milestone: --- → mozilla0.9
crasher is gone, bad row problem remains.
Summary: crash / problems when switching between folders → bad rows when switching from large to empty folder
doesn't happen when I'm scrolled to the top of the large folder.

I'll tackle this tomorrow.
Summary: bad rows when switching from large to empty folder → bad rows when switching from large to small (or empty) folder
*** Bug 74817 has been marked as a duplicate of this bug. ***
I'm also seeing a bad row count if on startup if my inbox is small.

I'll work on this today.
yeah, this doesn't look good! marking nsbeta1+
Keywords: nsbeta1
Whiteboard: [nsbeta1+]
fix in hand.

I'll need a review from hyatt before I can check it in.
I don't buy this patch.  Can you come by on Monday and explain the problem?
that patch makes more sense when you see it applied, than in patch form.

the current code does this:

if (mView) {
  // some stuff
  mView = nsnull;
}

if (mView) {
  // some other stuff.
}

"some other stuff" will never get reached.  

with the patch, we do this:

if (mView) {
  // some stuff
  mView = nsnull;
  // some other stuff
}

if you need more explanation, I'll come down and talk to you about it on monday.
talked to hyatt, he's given the sr=.
fixed.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
QA Contact: esther → laurel
OK using apr17 commercial trunk build: linux rh6.2, mac OS 9.0, win98
no crash
no bogus headers seen
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: