Closed
Bug 111101
Opened 24 years ago
Closed 23 years ago
No scrollbox / slider / thumb in thread pane scrollbar
Categories
(SeaMonkey :: MailNews: Message Display, defect, P1)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.8
People
(Reporter: rushing, Assigned: janv)
References
Details
Attachments
(3 files, 3 obsolete files)
|
4.90 KB,
image/png
|
Details | |
|
49.66 KB,
image/jpeg
|
Details | |
|
2.19 KB,
patch
|
naving
:
review+
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
I loaded up n.p.m.general, only to find that there was no scrollbox! The arrows
were still there, and clicking in the empty space still produced paging, but no
scroll _bar_!
| Reporter | ||
Comment 1•24 years ago
|
||
| Reporter | ||
Comment 2•24 years ago
|
||
WORKAROUND:
First, pick a mail folder that causes a scrollbar to appear. Wala! the bug is
gone. But if you close mail and restart...
I saw this when moved from one folder to another.
Status: UNCONFIRMED → NEW
Ever confirmed: true
*** Bug 112492 has been marked as a duplicate of this bug. ***
Comment 5•24 years ago
|
||
accepting. marking all, I see this on win2k as well.
Status: NEW → ASSIGNED
OS: Linux → All
Target Milestone: --- → mozilla0.9.7
*** Bug 112691 has been marked as a duplicate of this bug. ***
Comment 7•24 years ago
|
||
I searched for a bug before I entered mine. You call it a "scrollbox". No wonder
why !! :-)
Updated•24 years ago
|
Summary: No scrollbox for message list → No scrollbox / slider / thumb in thread pane
*** Bug 112733 has been marked as a duplicate of this bug. ***
Comment 9•24 years ago
|
||
I'm having problems reproducing this, but I have seen it.
bienvenu suggestions doing this, to reproduce it:
"after starting up, I selected a folder with less than a threadpane full of
messages, (e.g, 4). deleted the last message. then open a large folder. the
large folder didn't have the scroll bar."
olga / laurel, are you able to reproduce this?
Comment 10•24 years ago
|
||
Good steps! I could reproduce on today's build only in this way. I deleted a
message from a short folder, then went to my Inbox. No scroll box.
Comment 11•24 years ago
|
||
*** Bug 112994 has been marked as a duplicate of this bug. ***
Comment 12•24 years ago
|
||
*** Bug 113680 has been marked as a duplicate of this bug. ***
Comment 13•24 years ago
|
||
I'm unable to reproduce this bug.
Does deleting .mozilla/<profile>/<salt> /XUL.mfasl before starting mozilla cure
it? (XUL.mfl on Windows)
Comment 14•24 years ago
|
||
My duplicate of this bug was because I couldn't find a bug for MailNews with the
substring "scrollbar" in the summary... I'm appending "scrollar" word to the
summary...
Summary: No scrollbox / slider / thumb in thread pane → No scrollbox / slider / thumb in thread pane scrollbar
| Assignee | ||
Comment 15•24 years ago
|
||
I can't reproduce it with current build on linux.
I've seen it too.
Comment 16•24 years ago
|
||
I see this bug on my mail inbox with recent builds on WINXP and WINNT. The thumb
disappears and does not reappear unless I click on another mail folder.
Comment 17•24 years ago
|
||
R.K.A.
I tried that and it didn't work. I see this on dialup, with Modern it doesn't
display the thread (pick any from mozilla news) the scrollbar shows allocated
verticle space, then when the messages load up scrollbar and scrollbox appear.
Classic theme doesn't do this.. but doesn't have scrollbox at all. (so
possibly) maybe someone did some cleaning of themes and missed this?
Comment 18•24 years ago
|
||
Try from dead cold Mozilla, open Mail/News;
thread pane is the only item I can see is affected by this problem.
this is on first load.. expand news.mozilla.org.. let it update the newsgroup
subscription #'s. Then select any newsgroup (I have only downloaded 100 headers
total - after using account wizard on a previous new profile creation) this
shows up as I stated above. Classic is missing slider (it shows arrow buttons),
modern doesn't do that, but It allocated some visual space for the scrollbar
(w/slider & arrows) but doesn't actually fill that in till the threads are
loaded. So after threads are loaded, Modern seems fine to me.
Comment 19•24 years ago
|
||
Missing here on Classic as well as Modern.
Comment 20•24 years ago
|
||
I just trying this on the 12-10-03 w2k build, and it doesn't have any problems I
can see right now. It appears to me like it works fine on Classic.
Comment 21•24 years ago
|
||
I also tried the 12/10 build on Win 2000 and I could reproduce it by going into
a folder with a scrollbar. Deleting enough messages to make the scrollbar
disappear. Then switch to a folder that should have a scrollbar. The scrollbar
appears but there's no thumb.
That said, this used to happen to me all of the time and now I had to force it
to happen.
| Assignee | ||
Comment 22•24 years ago
|
||
Hmm, this is really strange. Is anyone able to reproduce this bug with a clean
new profile ?
Comment 23•24 years ago
|
||
*** Bug 115084 has been marked as a duplicate of this bug. ***
Comment 24•24 years ago
|
||
I got into this state, so I fired up the document inspector.
check out the screen shot.
Comment 25•24 years ago
|
||
in this screen shot, notice what got highlighted in red when I selected the
scroll bar thumb.
it's got no height.
Comment 26•24 years ago
|
||
if I switch folders, and come back, and the select the thumb, it shows a "full"
red box.
any ideas?
| Assignee | ||
Comment 27•24 years ago
|
||
While I've been trying to track this bug, I noticed that we're setting
negative max positon in InvalidateScrollbar(). It doesn't have to be
a problem, but I'll try to fix it and then reproduce it again.
Last I was able to reproduce it I clicked on a not empty folder, thread pane
didn't display any message headers and then I got into the state of no thumb
in thread pane scrollbar.
Comment 28•24 years ago
|
||
I seen this after importing my bookmarks file (using classic theme) from the
12-12 build into 12-13 build. Scollbar's slider is missing. It was the first
time I used manage bookmarks.. and I had not used mail/news yet. So it happens
in more that one place.
Comment 29•24 years ago
|
||
Seth, I'm thinking this here that is the cause of this problem..
http://bugzilla.mozilla.org/show_bug.cgi?id=113528#c3
Comment 30•24 years ago
|
||
I just saw the same behavior in classic theme again in mail/news after expanding
it but didn't click on any newsgroup.. then it disappeared to no rectangle is
visable .. the scrollbar had a visible rectangle when clicking on expand
news.mozilla.org..
I hope this stuff helps.
Comment 31•24 years ago
|
||
I think that this bites me sometimes after I use the quicksearch feature.. I'm
not 100% that's what's causing it though.
Comment 32•24 years ago
|
||
I can do it easily without Quick Search, but Quick Search would make sense given
the way I'm seeing it. If I go to a folder without a scrollbar and delete a
message and change to a folder with a scrollbar, I often see no thumb. I was
just able to reproduce it on the 12/14 build. I went to a folder with one
message. I deleted that message. I switched to my 3500 message Inbox and got a
scrollbar, but no thumb.
Comment 33•24 years ago
|
||
looks like some scrollbar checkins in the tree today, as well as for a few days
past.
Comment 34•24 years ago
|
||
quick search is showing something interesting.
if I select my inbox, and quick search, the scroll bar thumb doesn't always change.
specifically, if I go from no search or a search with hits, to a search with no
hits.
I'll work on that issue, as it is a bug, and continue to investigate this beast.
Comment 35•24 years ago
|
||
possibly related: Has this occured after landing the thread-outliner? And maybe
since other stuff like the manage bookmarks is also using outliner.. any chances
this is a side effect of the outliner code in general?
| Assignee | ||
Comment 37•24 years ago
|
||
Seems like hyatt just checked in a fix for this.
Assignee: varga → hyatt
Comment 38•24 years ago
|
||
testing hyatt's fix now, to see if it helps.
| Assignee | ||
Comment 39•24 years ago
|
||
it's better, there is thumb now, but thumb is smaller as should be
Comment 40•24 years ago
|
||
after hyatt's patch, I still see the problem when I do a quick search on my
inbox with "xxxxxxxxx" (which there are no hits.)
this might be another bug, but I'll continue on with it here.
for me, the problem is that the scrollbar is not being collapsed, which is why
we still see it.
Comment 41•24 years ago
|
||
here's part of the quick search problem. on search, we clear the outliner.
from nsMsgThreadedDBView::OnNewSearch()
if (mOutliner)
{
PRInt32 viewSize = m_keys.GetSize();
mOutliner->RowCountChanged(0, -viewSize); // all rows gone.
}
in RowCountChanged(), we Invalidate the scroll bar, but we never set it as
invisible
when we call SetVisibleScrollbar((rowCount >= mPageCount));
rowCount is the old size and mPageCount is the old page count, (for my inbox
test, 298 >= 12, so we set the scrollbar to be visible.
NS_IMETHODIMP nsOutlinerBodyFrame::RowCountChanged(PRInt32 aIndex, PRInt32
aCount)
{
if (aCount == 0 || !mView)
return NS_OK; // Nothing to do.
PRInt32 count = aCount > 0 ? aCount : -aCount;
PRInt32 rowCount;
mView->GetRowCount(&rowCount);
// Adjust our selection.
nsCOMPtr<nsIOutlinerSelection> sel;
mView->GetSelection(getter_AddRefs(sel));
if (sel)
sel->AdjustSelection(aIndex, aCount);
PRInt32 last;
GetLastVisibleRow(&last);
if (aIndex >= mTopRowIndex && aIndex <= last)
InvalidateRange(aIndex, last);
if (mTopRowIndex == 0) {
// Just update the scrollbar and return.
InvalidateScrollbar();
SetVisibleScrollbar((rowCount >= mPageCount));
return NS_OK;
}
Comment 42•24 years ago
|
||
testing this fix:
- SetVisibleScrollbar((rowCount >= mPageCount));
+ SetVisibleScrollbar((rowCount + aCount >= mPageCount));
Comment 43•24 years ago
|
||
Comment 44•24 years ago
|
||
explanation of the fix:
when the row count changes, and we're at the top (mTopRowIndex == 0),
the scroll bar visibility depends on the adjusted row count, not the previous
row count.
Comment 45•24 years ago
|
||
I'm narrowing in on the problem of when you go back from quick search to inbox,
and the scrollbar thumb is gone, working on that now.
I think the problem is that when we restore the view, (see
nsMsgThreadedDBView::ReloadFolderAfterQuickSearch()) we need to invalidate the
outliner, possibly the outliner as well, but I'm not sure about that.
testing a patch now.
Comment 46•24 years ago
|
||
taking back, I don't think this is a hyatt problem.
here comes the patch to outliner and the db view code...
Assignee: hyatt → sspitzer
Comment 47•24 years ago
|
||
patch for both going into quick search, and coming out of it.
Attachment #62244 -
Attachment is obsolete: true
Comment 48•24 years ago
|
||
discussed this with bienvenu over aim, and he suggests this:
RowCountChange(0,m_keys.GetSize() * -1);
RemoveAll()
m_keys.Insert();
Sort();
RowCountChange(0,m_keys.GetSize());
testing that out now.
Comment 49•24 years ago
|
||
Attachment #62254 -
Attachment is obsolete: true
Comment 50•24 years ago
|
||
Comment on attachment 62261 [details] [diff] [review]
patch, v2.
sr=bienvenu
Attachment #62261 -
Flags: superreview+
Comment 51•24 years ago
|
||
Comment on attachment 62261 [details] [diff] [review]
patch, v2.
r=naving for the
db view part.
Attachment #62261 -
Flags: review+
Comment 52•24 years ago
|
||
Attachment #62261 -
Attachment is obsolete: true
Updated•24 years ago
|
Attachment #62261 -
Attachment is obsolete: false
Updated•24 years ago
|
Attachment #62325 -
Attachment is obsolete: true
Comment 53•24 years ago
|
||
jan, that last patch has problems, so I'm going back to my original patch.
the last patch causes the scrollbar to be invisible when it shouldn't, I'll
look at the code and see why.
Is bug 111321 relate/dup?
Comment 55•23 years ago
|
||
I've checked in the mailnews part of this fix into the trunk, I still need to
figure out if my fix for layout is correct.
Status: NEW → ASSIGNED
Comment 56•23 years ago
|
||
I'll finish up the layout part for 0.9.8
0.9.7 is out the door.
Target Milestone: mozilla0.9.7 → mozilla0.9.8
Comment 57•23 years ago
|
||
over to jan, he's got the rest of this fix in his local tree and will be
checking in along with his fix for #116855
currently, we call RowCountChange() with -count before we do remove all, in his
patch we do it afterwards.
the problem is rowcountchanged was called before it was really changed
and rowcountchanged calls getrowCount().
thanks for fixing this jan.
Assignee: sspitzer → varga
Status: ASSIGNED → NEW
| Assignee | ||
Comment 58•23 years ago
|
||
fixed
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 59•23 years ago
|
||
Can someone verify that this is really fixed ?
I don't see it anymore, just for sure.
Comment 60•23 years ago
|
||
Verified on today's and yesterday build 2002-01-03.
Win 2K, Linux, Mac OSX.
Status: RESOLVED → VERIFIED
Comment 61•23 years ago
|
||
*** Bug 119278 has been marked as a duplicate of this bug. ***
Comment 62•23 years ago
|
||
*** Bug 119156 has been marked as a duplicate of this bug. ***
Comment 63•23 years ago
|
||
*** Bug 120126 has been marked as a duplicate of this bug. ***
Comment 64•23 years ago
|
||
*** Bug 120180 has been marked as a duplicate of this bug. ***
Comment 65•23 years ago
|
||
*** Bug 120476 has been marked as a duplicate of this bug. ***
Comment 66•23 years ago
|
||
*** Bug 120752 has been marked as a duplicate of this bug. ***
Comment 67•23 years ago
|
||
*** Bug 120477 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
•