Closed
Bug 815593
Opened 13 years ago
Closed 13 years ago
large image within div with overflow-y: scroll disappears for a few seconds when scrolling
Categories
(Core :: Graphics, defect)
Tracking
()
VERIFIED
FIXED
mozilla20
People
(Reporter: zac, Assigned: roc)
References
Details
(Keywords: regression)
Attachments
(3 files)
158.73 KB,
text/html
|
Details | |
28.69 KB,
patch
|
mattwoodrow
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
1.44 KB,
patch
|
mattwoodrow
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0
Build ID: 20121024073032
Steps to reproduce:
I put an image within a div and made the div scrollable using overflow-y: scroll
You can see an example here: http://www.serlo.org/math/exams/show/deutschland/bayern/mittlere-reife/2011/mathematik-i-haupttermin
or here: http://www.serlo.org/math/exams/show/deutschland/bayern/mittlere-reife/2011/mathematik-ii-haupttermin
Actual results:
When scrolling down inside the div, the image disappears for about 2-5 seconds.
Expected results:
The image should not disappear (like here: http://www.serlo.org/math/exams/show/deutschland/bayern/qualifizierender-hauptschulabschluss/2009/teil-b-aufgabengruppe-ii )
![]() |
||
Comment 1•13 years ago
|
||
I can reproduce with HWA on in Firefox15.0.1 and later.
Deiabled HWA helps.
Regression window(m-c)
Good:
http://hg.mozilla.org/mozilla-central/rev/2db9df42823d
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/15.0 Firefox/15.0a1 ID:20120503142649
Bad:
http://hg.mozilla.org/mozilla-central/rev/e1a40027dc7e
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/15.0 Firefox/15.0a1 ID:20120504014349
Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=2db9df42823d&tochange=e1a40027dc7e
Regression window(m-i)
Good:
http://hg.mozilla.org/integration/mozilla-inbound/rev/c608de1b6a53
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/15.0 Firefox/15.0a1 ID:20120502221102
Bad:
http://hg.mozilla.org/integration/mozilla-inbound/rev/77bf50b33a05
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/15.0 Firefox/15.0a1 ID:20120502223302
Pushlog:
http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=c608de1b6a53&tochange=77bf50b33a05
Regressed by: Bug 716439
![]() |
||
Updated•13 years ago
|
Blocks: GPU-clipping-rounded
Status: UNCONFIRMED → NEW
Component: Untriaged → Graphics
Ever confirmed: true
Keywords: regression
Product: Firefox → Core
Version: 16 Branch → 15 Branch
Comment 2•13 years ago
|
||
(In reply to zac from comment #0)
> Actual results:
>
> When scrolling down inside the div, the image disappears for about 2-5
> seconds.
>
Those few seconds are while the layer is active, afterwards it gets flatten to the background.
Comment 3•13 years ago
|
||
I am surprised that this would be regressed by bug 716439 - it should only affect elements with a border-radius. If it is an active layers problem, you can force active layers for testing by setting the pref layers.force-active = true in recent nightlies.
I'm happy to add this to my list, but I probably won't get to it for a while.
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → roc
Assignee | ||
Comment 4•13 years ago
|
||
I think the problem is that the image is extremely tall so doesn't fit in a texture when we try to make an ImageLayer for it.
Assignee | ||
Comment 5•13 years ago
|
||
Attachment #685928 -
Flags: review?(matt.woodrow)
Assignee | ||
Updated•13 years ago
|
status-firefox17:
--- → affected
status-firefox18:
--- → affected
tracking-firefox17:
--- → ?
tracking-firefox18:
--- → ?
Updated•13 years ago
|
Attachment #685928 -
Flags: review?(matt.woodrow) → review+
Comment 7•13 years ago
|
||
roc - is there any way we can prevent the UUID change? Or are we confident this will not have add-on compatibility impact?
Assignee | ||
Comment 8•13 years ago
|
||
I can write a different hack patch that doesn't require a UUID change for Aurora/Beta.
Assignee | ||
Comment 9•13 years ago
|
||
Attachment #686417 -
Flags: review?(matt.woodrow)
Comment 10•13 years ago
|
||
Comment on attachment 686417 [details] [diff] [review]
Hack patch that doesn't require UUID changes
Review of attachment 686417 [details] [diff] [review]:
-----------------------------------------------------------------
::: image/src/RasterImage.cpp
@@ +980,5 @@
> NS_IMETHODIMP
> RasterImage::GetImageContainer(ImageContainer **_retval)
> {
> + // Limit size to avoid overflowing texture bounds.
> + if (mSize.width > 2000 || mSize.height > 2000) {
2048 would make me feel happier, though it doesn't really matter at all.
::: layout/reftests/bugs/reftest.list
@@ +1721,5 @@
> == 776265-2d.html 776265-2-ref.html
> == 787947-1.html 787947-1-ref.html
> fuzzy(40,800) == 797797-1.html 797797-1-ref.html # 'opacity:N' and rgba(,,,N) text don't match precisely
> fuzzy(40,800) == 797797-2.html 797797-2-ref.html # 'opacity:N' and rgba(,,,N) text don't match precisely
> +== 815593-1.html 815593-1-ref.html
Looks like the actual files are missing from this patch.
Attachment #686417 -
Flags: review?(matt.woodrow) → review+
Assignee | ||
Comment 11•13 years ago
|
||
Comment 12•13 years ago
|
||
Pushed a follow-up to remove an unused variable since this failed to build on some platforms.
https://hg.mozilla.org/integration/mozilla-inbound/rev/445dc074e609
Comment 13•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/a4f64be02d63
https://hg.mozilla.org/mozilla-central/rev/445dc074e609
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Comment 14•13 years ago
|
||
Comment 15•13 years ago
|
||
Given the fact that this is reproducible since Firefox 15, we'll approve based upon a risk evaluation - not clear that this is any worse in FF17/18 so no need to track.
Assignee | ||
Comment 16•13 years ago
|
||
Given there are no dups and the age of this bug, I think it's not worth trying to uplift this to beta (where there is already a ton of risk). Let's just land the original UUID-changing patch on Aurora.
Assignee | ||
Comment 17•13 years ago
|
||
Comment on attachment 685928 [details] [diff] [review]
fix
[Approval Request Comment]
Bug caused by (feature/regressing bug #): unsure
User impact if declined: Image missing in Web page in some (apparently rare) cases
Testing completed (on m-c, etc.): a few days on m-c
Risk to taking this patch (and alternatives if risky): this is pretty low risk. Ultimately we're just disabling an optimization in some cases.
String or UUID changes made by this patch: UUID change.
Attachment #685928 -
Flags: approval-mozilla-aurora?
Comment 18•13 years ago
|
||
Comment on attachment 685928 [details] [diff] [review]
fix
low impact, let's go ahead with Aurora and at least get a few more eyes on it as it rides up the trains.
Attachment #685928 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 19•13 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/0d4beedf0c58
https://hg.mozilla.org/releases/mozilla-aurora/rev/c6df5983f54a
Comment 21•12 years ago
|
||
I'm seeing an issue that seems like exactly this bug, but when trying the beta and aurora builds I'm not seeing any difference (from this ticket, it seemed like a patch was applied to at least aurora).
If you look at:
http://killinglincolnconspiracy.com
Scroll down and click the arrow to open the right side panel. The background image and other images turn black for a couple of seconds and then redraw.
Same issue? Different issue?
Thanks!
Assignee | ||
Comment 22•12 years ago
|
||
I suspect that's a different issue, related to image decoding. Please file a bug for it!
Comment 23•12 years ago
|
||
I did a little more playing with the issue, and I do think it's related. If I remove the javascript that adds or removes a noscroll class, which sets overflow-y: none or auto, when expanding that side panel and other things, the issue goes away. Definitely seems like the same issue to me.
Assignee | ||
Comment 24•12 years ago
|
||
(In reply to feinzeig from comment #23)
> I did a little more playing with the issue, and I do think it's related. If
> I remove the javascript that adds or removes a noscroll class, which sets
> overflow-y: none or auto, when expanding that side panel and other things,
> the issue goes away. Definitely seems like the same issue to me.
You mean overflow-y:visible? That still sounds like an image decoding issue due to frame reconstruction, to me.
Updated•12 years ago
|
Comment 25•12 years ago
|
||
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0
Verified as fixed on Firefox 19 beta 6 (buildID: 20130212082553), latest Nightly (buildID: 20130213031137) and latest Aurora (buildID: 20130212042017) using the provided image from comment 1.
Comment 26•12 years ago
|
||
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0
Verified as fixed on Firefox 20 beta 5 (buildID: 20130313170052).
Updated•12 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•