Closed
Bug 301152
Opened 20 years ago
Closed 19 years ago
[10.4] Scrollbar gets messed up when scrolling while loading a page
Categories
(Camino Graveyard :: General, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
Camino1.5
People
(Reporter: echidnae, Assigned: stuart.morgan+bugzilla)
References
Details
(Keywords: fixed1.8.1.2, regression)
Attachments
(8 files, 1 obsolete file)
38.35 KB,
image/png
|
Details | |
6.31 KB,
image/png
|
Details | |
765 bytes,
text/html
|
Details | |
848 bytes,
patch
|
mikepinkerton
:
review+
cbeard
:
approval1.8b4+
|
Details | Diff | Splinter Review |
170.27 KB,
image/jpeg
|
Details | |
103.34 KB,
image/jpeg
|
Details | |
634 bytes,
text/html
|
Details | |
617 bytes,
patch
|
jaas
:
review+
bugzilla-graveyard
:
review+
sfraser_bugs
:
superreview+
jay
:
approval1.8.1.2+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b4) Gecko/20050717 Camino/0.9a2
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b4) Gecko/20050717 Camino/0.9a2
When loading a page, such as http://cnn.com and scrolling while the page is
loading, the scroll bar becomes distored. Looks like this first appeared in the
20050716 nightly.
Reproducible: Always
messed up scrollbar at http://cnn.com
![]() |
||
Comment 3•20 years ago
|
||
Updated•20 years ago
|
Assignee: pinkerton → sfraser_bugs
Priority: -- → P2
Target Milestone: --- → Camino1.0
Comment 4•20 years ago
|
||
*** Bug 301524 has been marked as a duplicate of this bug. ***
I just saw this behavior as well, so confirming for Camino Version 2005071808
(0.9a2)
Thanks for all your hard work.
![]() |
||
Comment 6•20 years ago
|
||
I have this same problem. But very frequently with sites. gettyimages,
gizmodo, to name a couple. What is going on here? As soon as i click out of
the browser it goes back to normal. I could sent an image if requested.
Yup - I've seen a lot of this also especially on pages with lots of images that
continue to load after the text of the page has already been displayed.
Updated•20 years ago
|
Status: NEW → ASSIGNED
Summary: Scroll bar gets messed up when scrolling while loading a page → Scrollbar gets messed up when scrolling while loading a page
Comment 8•20 years ago
|
||
Note that you have to actively scroll the document while it's being loaded to
see this.
Comment 9•20 years ago
|
||
My patch from bug 166932 regressed this. I think the issue is that the
optimization there breaks the drawing of non-NSQuickDrawViews (such as the
NSScroller) which are parented in NSQuickDrawViews.
![]() |
||
Comment 10•20 years ago
|
||
I actually see similar results in Safari from time to time.
Just not on the same sites: theirs tend to involve frames.
The scroll bar will leave pieces of larger thumbs whenever
significantly shortening the thumb to reflect more content
(as shown in the attachments). Safari will also sometimes
erase the left half of a vertical scrollbar for some reason.
Mac OS X 10.4.2, Safari 412.2. I think it's a Tiger bug.
Comment 11•20 years ago
|
||
Attachment #191921 -
Flags: review?(pinkerton)
![]() |
||
Comment 12•20 years ago
|
||
Comment on attachment 191921 [details] [diff] [review]
Patch to call -setNeedsDisplay after updating the scrollbar position/size
r=pink
Attachment #191921 -
Flags: review?(pinkerton) → review+
Comment 13•20 years ago
|
||
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
![]() |
||
Comment 14•20 years ago
|
||
*** Bug 304407 has been marked as a duplicate of this bug. ***
![]() |
||
Comment 15•20 years ago
|
||
Reopening. Problem still exists and was never fixed according to checks in bug
304407
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
![]() |
||
Comment 16•20 years ago
|
||
Since this checkin has to be made in the widget directory and not the
Camino-only directory, should this block 1.8b4?
Flagging blocking1.8b4?
Flags: blocking1.8b4?
![]() |
||
Updated•20 years ago
|
Attachment #191921 -
Flags: approval1.8b4+
![]() |
||
Updated•20 years ago
|
Flags: blocking1.8b4?
![]() |
||
Comment 17•20 years ago
|
||
this is much better than it used to be, i only see it rarely.
Status: REOPENED → ASSIGNED
Flags: camino1.0? → camino1.0-
Target Milestone: Camino1.0 → Camino1.1
![]() |
||
Comment 18•20 years ago
|
||
This seems to have gotten worse recently.
cl
Comment 19•19 years ago
|
||
*** Bug 338970 has been marked as a duplicate of this bug. ***
Keywords: regression
QA Contact: general
Summary: Scrollbar gets messed up when scrolling while loading a page → [10.4] Scrollbar gets messed up when scrolling while loading a page
![]() |
||
Comment 20•19 years ago
|
||
This is still seen quite a bit by a lot of us. We should find a regression range and see if we can see what's going on.
![]() |
||
Comment 21•19 years ago
|
||
Is anyone on current trunk able to reproduce this? With the landing of bug 311304, this might be fixed.
![]() |
||
Comment 22•19 years ago
|
||
(In reply to comment #21)
> Is anyone on current trunk able to reproduce this? With the landing of bug
> 311304, this might be fixed.
>
I'm still able to reproduce this bug. I believe the patch for 311304 landed on 11/9 on the trunk, and I was able to reproduce with Version 2006111605 (1.2+). I'll post some attachments.
![]() |
||
Comment 23•19 years ago
|
||
![]() |
||
Comment 24•19 years ago
|
||
![]() |
||
Comment 25•19 years ago
|
||
(In reply to comment #24)
> Created an attachment (id=246127) [edit]
> Messed up scrollbar while NOT scrolling at www.macupdate.com
>
I should clarify on this one. Sometimes on MacUpdate, the scrollbar will appear before the page finishes loading, but the size of the scrollbar does not readjust itself for the full size of the page once it finishes loading. If I then scroll down, the true-size scrollbar will appear and will scroll over the left over artifacts.
Assignee | ||
Comment 26•19 years ago
|
||
I found a new reproducible testcase; adding content on the fly via JS makes it happen every time (and makes it clear that we aren't redrawing the bar in all cases we should be).
Assignee: nobody → stuart.morgan
Status: NEW → ASSIGNED
Assignee | ||
Comment 27•19 years ago
|
||
This was another case like the general nsChildView problem Simon fixed a while back; we were calling setNeedsDisplay from within the bowels of Cocoa drawing, which it doesn't like. I switched it over to Invalidate, which has the logic of figuring out when the invalidate needs to be delayed.
Attachment #251124 -
Flags: review?(joshmoz)
![]() |
||
Comment 28•19 years ago
|
||
The patch doesn't fix things on trunk for me, even after a distclean.
cl
Assignee | ||
Comment 29•19 years ago
|
||
Thanks cl. Apparently it works better when one copies libwidget_mac.dylib after every change+rebuild in widget, not just the first one :P
This is the preliminary patch that I was actually testing when I wrote the last iteration as a misguided attempt at efficiency based on misunderstanding the size of the gecko scrollbar view. Invalidating all of it actually is the right thing to do, which makes the patch much simpler.
Attachment #251124 -
Attachment is obsolete: true
Attachment #251188 -
Flags: review?(joshmoz)
Attachment #251124 -
Flags: review?(joshmoz)
Attachment #251188 -
Flags: review?(joshmoz) → review+
Assignee | ||
Updated•19 years ago
|
Attachment #251188 -
Flags: superreview?(mikepinkerton)
Comment 30•19 years ago
|
||
Comment on attachment 251188 [details] [diff] [review]
correct fix
sr=me but maybe use PR_FALSE?
Attachment #251188 -
Flags: superreview?(mikepinkerton) → superreview+
Assignee | ||
Comment 31•19 years ago
|
||
Oops, that should indeed be PR_FALSE. I'll fix on checkin.
Assignee | ||
Comment 32•19 years ago
|
||
Requesting MOZILLA_1_8_BRANCH approval; note that Camino is the only product using this code on the 1.8 branch.
Flags: blocking1.8.1.2?
![]() |
||
Comment 34•19 years ago
|
||
I can confirm the new patch works, too. Not that you needed it, but r=me.
cl
![]() |
||
Comment 35•19 years ago
|
||
Comment on attachment 251188 [details] [diff] [review]
correct fix
Really requesting branch approval, since it doesn't appear the flag actually got set, and setting the addl-review flag just for grins.
Attachment #251188 -
Flags: review+
Attachment #251188 -
Flags: approval1.8.1.2?
Attachment #251188 -
Flags: approval1.8.0.10?
![]() |
||
Comment 36•19 years ago
|
||
Comment on attachment 251188 [details] [diff] [review]
correct fix
er, oops. Meant just to set 1.8, not 1.8.0.
cl
Attachment #251188 -
Flags: approval1.8.0.10?
Assignee | ||
Comment 37•19 years ago
|
||
Ah, I see. I didn't see approval since I was looking on the bug page, so I set blocking? on the bug instead.
Flags: blocking1.8.1.2?
![]() |
||
Comment 38•19 years ago
|
||
Comment on attachment 251188 [details] [diff] [review]
correct fix
Approved for 1.8 branch, a=jay for drivers.
Attachment #251188 -
Flags: approval1.8.1.2? → approval1.8.1.2+
Assignee | ||
Comment 39•19 years ago
|
||
Landed on trunk and MOZILLA_1_8_BRANCH
Status: ASSIGNED → RESOLVED
Closed: 20 years ago → 19 years ago
Resolution: --- → FIXED
![]() |
||
Updated•19 years ago
|
Keywords: fixed1.8.1.2
Flags: camino1.1? → camino1.1+
You need to log in
before you can comment on or make changes to this bug.
Description
•