Closed
Bug 76085
Opened 24 years ago
Closed 23 years ago
Plugins newly exposed area isn't invalidated after scrolling
Categories
(Core Graveyard :: GFX, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla0.9.8
People
(Reporter: tarahim, Assigned: bnesse)
References
Details
(Keywords: platform-parity, top100)
Attachments
(2 files)
3.35 KB,
patch
|
Details | Diff | Splinter Review | |
5.95 KB,
patch
|
Details | Diff | Splinter Review |
There was a bit similar bug 73176 duped to 73406, which has been resolved fixed.
2001041308 Mac trunk.
Goto URL.
After loading is complete, move the scrolling tab up and down.
Result: iframe at the lower left of the window is out of synch, and some parts
never get refreshed.
Expected result: everything in the window should scroll together.
Comment 1•24 years ago
|
||
Everything works just fine at this link as far as I can tell with build
2001043004 on win2k
Jake
Comment 4•24 years ago
|
||
this also happens on the front page of foxnews.com. it's pretty bad, and needs
to be fixed for beta.
who should get this bug?
Comment 6•24 years ago
|
||
missed some cc's. pulling over from dupe bug.
Comment 7•24 years ago
|
||
checked this and found out it happens on flash5 containing pages. continue
checking with other plug-ins.
Comment 8•24 years ago
|
||
Is this a plugin bug or iframe bug? Can someone attach a minimal testcase?
Hmm...lots of keywords, important...
cc:ing Brian Nesse. I recall you helping fix something similar for RTM.
Comment 9•24 years ago
|
||
Reassigned to Peter. I think it has something to do with the UI messages (and
differences between macOS an windows), i think that some of the events triggered
on windows are not triggered on mac (plug-in eating important UI messages
maybe). It does not appear to me that it has something to do with sync... rather
the painting is not done at all for some regions. Try with different flash5
containing pages and see how they act. (i tried with disney.com,
weather.com,..) Also see if the flash4 plug-in causes the same bug.
Assignee: alexsavulov → peterlubczynski
Comment 10•24 years ago
|
||
Okay, I've simplifed this:
1) Reisze your browser so that it's height is half of normal.
2) Visit Disney.com
3) Start to scroll, slowly.
Notice that the plugin bits on the screen are correctly moved up. However, the
newly exposed plugin area isn't being told invalidate.
One way to debug this would be to attach npspy logs of 4.x and Mozilla in
scrolling a simple testcase.
Making mozilla0.9.2 as that sounds reasonable.
Chaging summary from: scrolling of iframe out of synch from rest of the window
content
Priority: -- → P3
Summary: scrolling of iframe out of synch from rest of the window content → Plugins newly exposed area isn't invalidated after scrolling
Target Milestone: --- → mozilla0.9.2
Comment 11•24 years ago
|
||
Did the fix for bug 31032 affect this?
Comment 12•24 years ago
|
||
*** Bug 57186 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 13•24 years ago
|
||
I backed out the patch from bug 31032 with no obvious difference in
functionality. The problem appears to lie elsewhere.
Assignee | ||
Comment 14•24 years ago
|
||
This bug has regressed somewhat between the 2001051808 and the 2001052108
builds. In the 2001051808 build, resizing the window or hiding and showing the
window would cause an update to occur. As of the 2001052108 build resizing the
window (larger) does not cause a refresh of the exposed area. Hiding and showing
the window simply leaves a large empty white rectangle where the flash movie
should be. Scrolling around in the small window fails in both cases.
Comment 15•23 years ago
|
||
Another regression but I think we have a handel on it. cc:ing Chris Karnaze
If we get a fix, is this beta-stopper, branch material?
Comment 16•23 years ago
|
||
i'd say this was good branch material, but you probably knew that already ;)
Comment 17•23 years ago
|
||
Okay, let me know how this patch works on your machine. It's backing out a fix
for another bug. It should make it like it was before.
Comment 18•23 years ago
|
||
Comment 19•23 years ago
|
||
won't backing that out cause other problems to reappear? i'm confused.
Comment 20•23 years ago
|
||
Comment 21•23 years ago
|
||
I've been running with the patch for the past few hours and it looks great on
both Mac and Windows. r=peterl
Seeking super review....
Keywords: patch
Whiteboard: [fix-in-hand] → [need sr= a=]
Comment 22•23 years ago
|
||
do i have to apply both patches? running with just the 2nd patch doesn't fix it.
Comment 23•23 years ago
|
||
i can't apply both of these patches (i get conflicts), so i'm assuming that they
aren't meant to be applied together.
help?
Comment 24•23 years ago
|
||
Damm! Still needs work! Doh..tried a bunch of sites but the actual test URL.
Whiteboard: [need sr= a=]
Comment 25•23 years ago
|
||
foxnews is better, but still not perfect (scrolling with the thumb in realtime
causes some odd jumping on their sidebar when you reach the bottom). weather.com
is almost even more broken :( much more jumping while scrolling live.
Comment 26•23 years ago
|
||
Try applying this patch freshly:
http://bugzilla.mozilla.org/showattachment.cgi?attach_id=37415
Should fix weather.com and all the rest, but, bug 64645 will be reopned. That
patch backs out the changes. But, that bug isn't anywhere as serious as this, if
we can't have both.
Shouldn't the milestone be mozilla0.9.1?
Whiteboard: [fix-in-hand]
Comment 27•23 years ago
|
||
peter, i'm sure i must be doing something different. i applied that last patch
you referenced and rebuilt layout. going to
http://www.weather.com/weather/local/94043
and scrolling does not look any better (or worse) than it did before. the 10-day
forcast still doesn't repaint correctly.
Assignee | ||
Comment 28•23 years ago
|
||
With Karnaze's patch (attachment 37434 [details] [diff] [review]) I see a distinct improvement. With it
the disney.com page only fails to update correctly when it is clipped
horizontally. If you make the window short but wide, it looks great. Same thing
at weather.com. foxnews is still wacky, even at full width however. I believe
this is definitely a step in the right direction.
Comment 29•23 years ago
|
||
Yes, I'm getting similar results trying this again (something was waked last
night). karanze's patch does seem to make most sites better. However, the
problems at disney.com seem to be there even with completely backing out the
changes (patch #1).
I'm reassigning this bug to karnaze as he's on top of it.
Assignee: peterlubczynski → karnaze
Status: ASSIGNED → NEW
Assignee | ||
Comment 30•23 years ago
|
||
Yes, sorry if I didn't make that clear. The bug has always been there. It just
got worse between the bits I referenced. The current patch seems to fix the
additional regresssions. Now we need to locate the original problem.
Comment 31•23 years ago
|
||
r=peterl
Updated•23 years ago
|
Whiteboard: [fix-in-hand] → [fix-in-hand]rtm stopper
Comment 32•23 years ago
|
||
sr=attinasi
Comment 33•23 years ago
|
||
Comment 34•23 years ago
|
||
a= asa@mozilla.org for checkin to the trunk.
(on behalf of drivers)
Blocks: 83989
Comment 35•23 years ago
|
||
The 1st attachment has been checked in and undoes the patch in bug 64645. Since
this bug was opened before bug 64645 was checked in, I'm reassigning this to
bnesse, moving to m0.9.3 and removing "rtm stopper" from the whiteboard.
Assignee: karnaze → bnesse
Whiteboard: [fix-in-hand]rtm stopper
Target Milestone: mozilla0.9.2 → mozilla0.9.3
Comment 36•23 years ago
|
||
i still think this is an rtm stopper. These top100 sites look like crap, with or
without these patches.
Whiteboard: rtm stopper
Assignee | ||
Comment 37•23 years ago
|
||
Removing some keywords which no longer apply to the current status, timeframe, etc.
Assignee | ||
Comment 38•23 years ago
|
||
So the odd thing about this seems to be that the nsObjectFrame gets update
events while the horizontal scrollbar thumb is within 8 pixels of the leftmost
position. Beyond 8 pixels, no update events are ever sent to the nsObjectFrame.
With the vertical scrollbar, update events are sent to the nsObjectFrame
whenever the thumb is within 8 pixels of the top or bottom extent, but nowhere
in between.
Additionally, the events only come when I am moving the scrollbar away from the
end in question, not when I move towards it.
Does this mean anything to anybody? Is 8 pixels a magic number for scrolling?
If anyone wants to try and repro this, I'm currently using
http://slip/shrir/flashedit.html as a testcase because it's a very simple page.
Comment 39•23 years ago
|
||
If I turn the number 8 around 45 degrees, it could symbolise the approximate
width of pages with objects (bug 86075, caused by patch in attachment 37415 [details] [diff] [review])
Comment 40•23 years ago
|
||
Patch 37415 caused a regression - bug 86075 (All/All, top100, 8 dups, critical
to 0.9.2). Adding a one line patch 39455 cures the regression.
I have no Mac to check if this patch-to-patch regresses this bug or bug 64645.
Could anyone verify that? I asked already Peter Lubczynski for his opinion on
the issue.
Assignee | ||
Comment 41•23 years ago
|
||
There is a tie in to this patch, but not the one that you think. As per my 2001-
06-01 10:43 comments there was a regression from the patch in bug 64645. It
didn't cause this bug, it simply made it worse by adding another case in which
the screen failed to update correctly. IIRC either patch attached to this bug
eliminated that problem, but the one that was checked in also eliminated 2 other
bugs relating to events not going to plugins.
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla0.9.3 → mozilla0.9.4
Assignee | ||
Comment 42•23 years ago
|
||
After going round and round in circles on this for some time now... I'm still
not sure if it is a frame clipping problem, or a widget clipping problem. It
turns out that the 8 pixel thing I mentioned above seems to be a parent of some
sort. The plug-in widget is located at 8,8 in a parent which is 16 pixels larger
than the plug-in. Using the example of a scroll along the horizontal axis. As
long as 1 "x" pixel of the parent is in the visible region, updates are
processed. As soon as that pixel is scrolled out of the visible region, the
nsObjectFrame stops getting paint events... probably because the parent
considers itself totally hidden.
My best guess at this right now is to make the nsObjectFrame a
nsScrollPositionListener (like the CanvasFrame). Unfortunately I believe this is
more of a work around fix than a proper solution.
This really needs to be pursued by someone who has a much better understanding
of the layout engine than I do. Based on the component descriptions, this seems
like it should probably go to the compositor group.
Assignee: bnesse → kmcclusk
Status: ASSIGNED → NEW
Component: Layout → Compositor
Reporter | ||
Comment 43•23 years ago
|
||
*** Bug 93726 has been marked as a duplicate of this bug. ***
Updated•23 years ago
|
Target Milestone: mozilla0.9.4 → mozilla0.9.5
Comment 46•23 years ago
|
||
The testcase no longer shows this bug, but I think it's still happening.
http://www.weather.com/weather/local/02446
Assignee | ||
Comment 47•23 years ago
|
||
Use http://slip/shrir/flashedit.html it still exhibits the undesirable behavior.
Updated•23 years ago
|
Target Milestone: mozilla0.9.6 → mozilla1.0
Comment 48•23 years ago
|
||
Bugs targeted at mozilla1.0 without the mozilla1.0 keyword moved to mozilla1.0.1
(you can query for this string to delete spam or retrieve the list of bugs I've
moved)
Target Milestone: mozilla1.0 → mozilla1.0.1
Assignee | ||
Comment 49•23 years ago
|
||
Taking as this will be fixed by the patch in bug 104445.
Assignee: peterl → bnesse
Status: ASSIGNED → NEW
Assignee | ||
Comment 50•23 years ago
|
||
Fixed by the checkin for bug 104445.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•