Closed
Bug 474886
Opened 16 years ago
Closed 16 years ago
Not redrawing the background when changing page on flickr
Categories
(Core :: Graphics, defect, P1)
Core
Graphics
Tracking
()
VERIFIED
FIXED
mozilla1.9.2a1
People
(Reporter: pavlov, Assigned: jrmuizel)
References
Details
(Keywords: regression, verified1.9.1)
Attachments
(4 files, 1 obsolete file)
74.87 KB,
image/jpeg
|
Details | |
826 bytes,
patch
|
vlad
:
review+
dveditz
:
approval1.9.0.12-
|
Details | Diff | Splinter Review |
1.92 KB,
patch
|
Details | Diff | Splinter Review | |
172.21 KB,
image/jpeg
|
Details |
When I load http://www.flickr.com/ (while logged in), the first time I click on the "Your Contacts" link the page background doesn't paint and we just draw the new content on top of the old content. It looks pretty bad. I can reproduce it this way every time, but often only the first time in my browsing session. I have seen it happen multiple times during the same session, but it is harder for me to reproduce it that way.
I'm able to reproduce this on multiple Windows machines, both on Vista and XP.
Flags: blocking1.9.1?
Comment 1•16 years ago
|
||
See bug 474201 and associates, this looks similar.
Stuart, dbaron says that a something that was causing this was fixed 2-3 days ago -- can you update to the latest nightly and try again?
Yep, I was thinking of the bug mentioned in comment 1.
Comment 4•16 years ago
|
||
I can't reproduce this with a build as of this morning and my flickr account, but I'm on Linux and I can't reproduce bug 475548 there either.
Comment 5•16 years ago
|
||
I can see similar things with Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2a1pre) Gecko/20090127 Minefield/3.2a1pre ID:20090127032613 on my VmWare box.
When having open the contacts page on flickr and opening the menus afterward the whole content area is messed-up.
Steps:
1. Start Firefox and goto http://www.flickr.com
2. Login and goto contacts page
3. Using the menu to browse some sub-menus
With step 3 I can see the output as what is shown by the attached screenshot.
Comment 6•16 years ago
|
||
that's helpful, but I still can't reproduce it on Linux. I will not be able to test a Windows build until tomorrow, but I'll stare at the code meanwhile.
Comment 7•16 years ago
|
||
I further tried to save the contacts page as "webpage complete", but it totally hangs my browser.
Updated•16 years ago
|
Keywords: regressionwindow-wanted
Comment 8•16 years ago
|
||
(In reply to comment #7)
> I further tried to save the contacts page as "webpage complete", but it totally
> hangs my browser.
Well, that's not my fault :) And I'm afraid it wouldn't help, anyway -- if this is really because of bug 474201, it's an issue with the handoff from one page to another, and it has to do with how much of that work the OS does for us (which is why it's Windows-specific).
It occurs to me that it would be useful to know if anyone can reproduce either this bug or bug 475548 on a Mac.
Comment 9•16 years ago
|
||
Ok, I was able to reproduce it twice with the following steps:
1. Create a fresh profile so our cache is empty
2. Open http://www.flickr.com
3. Click on login
4. Enter your credentials and click login
5. While the start page is loading immediately click on Contacts
6. Scroll up/down while the page is loading
In step 6 you will see the garbled text. I hope that I'll be able to find the regression range now.
Comment 10•16 years ago
|
||
(In reply to comment #7)
> I further tried to save the contacts page as "webpage complete", but it totally
> hangs my browser.
(FWIW, that's Bug 475078)
Updated•16 years ago
|
Version: unspecified → Trunk
Marking b+
Assignee: nobody → zweinberg
Flags: blocking1.9.1? → blocking1.9.1+
Priority: -- → P2
Comment 12•16 years ago
|
||
It looks like that it regressed sometime around first half of December. I will get a closer time frame...
Comment 13•16 years ago
|
||
Could someone who sees this bug please run a debug build of firefox from a command prompt, reproduce the bug, and then check whether any of these warnings appear in the console messages?
WARNING: nsViewManager: Asked to paint a default background, but no default background color is set! file .../view/src/nsViewManager.cpp, line 553
Comment 14•16 years ago
|
||
For what I can see the regression started between the following builds:
http://hg.mozilla.org/mozilla-central/rev/eb8abab83036
http://hg.mozilla.org/mozilla-central/rev/050ae62b7d9d
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=eb8abab83036&tochange=050ae62b7d9d
I hope that helps.
Flags: blocking1.9.1+ → blocking1.9.1?
Keywords: regressionwindow-wanted → regression
Priority: P2 → --
Hardware: x86 → All
Version: Trunk → unspecified
Interestingly, the end of that range has a bunch of backouts, right?
I would have suspected bug 456219 as the most likely bug in that list, except that it was backed out at the end of that range. Henrik, can you focus on that changeset (4fbb9483d7e6) and see if it's guilty?
We probably should block on this.
Comment 19•16 years ago
|
||
--> Core::Layout
Assignee: zweinberg → nobody
Component: GFX: Thebes → Layout
Flags: blocking1.9.1? → blocking1.9.1+
QA Contact: thebes → layout
Comment 20•16 years ago
|
||
I've tried to create tryserver builds from the given changesets because I wasn't able to get my buildsystem running. Sadly the created builds don't respect the changeset and were build against the most recent one. :/
Is there anybody who can offer me such builds? I dont know when I will be able to create local builds. Martijn, do you have a chance?
This could be fixed by the patch in bug 475548
Depends on: 475548
Priority: -- → P2
Assignee: nobody → zweinberg
Comment 22•16 years ago
|
||
Roc, does it mean no further investigation is necessary at the moment?
I don't know.
Comment 24•16 years ago
|
||
Ok, I was able to identify the problem. I had to build Minefield twice. The first run was with the mentioned changeset 4fbb9483d7e6. But that build looks fine. So I thought about which could also has been caused this bug. I've seen the changeset 8fb487d20112 (bug 467423) which is directly following. So I created a build from that changeset and tested again. And finally the Flickr contacts page wasn't repainted anymore.
So the cause is bug 467423 (Painting stops in this case, using -moz-transform: scale, rotate and video). Adding Jeff for further investigation.
Blocks: 467423
Assignee | ||
Comment 25•16 years ago
|
||
Setting a break point on _cairo_error and getting a backtrace might give a hint as to what's going on here.
Assignee: zweinberg → jmuizelaar
Assignee | ||
Comment 26•16 years ago
|
||
I was able to reproduce this. Unsurprisingly, it looks like this might have to do with errors propagating from scaled fonts created with bad matrices. I'll take a look. If some one can come up with very reliable steps to reproduce this, that would be helpful it seemed intermittent for me...
Comment 27•16 years ago
|
||
Jeff, my steps from comment 9 are very reliable for me. I can see it each time.
Back to GFX! I think this is worth a P1 -- Jeff, let me know if you disagree. I think we should get this fixed for b3.
Component: Layout → GFX: Thebes
Priority: P2 → P1
QA Contact: layout → thebes
Assignee | ||
Comment 29•16 years ago
|
||
I agree it would be good to get fixed for b3. I'm not sure how long it will take though...
Assignee | ||
Comment 30•16 years ago
|
||
The attached patch seems like it might fix the bug. I've sent the patch off to try server so if anyone wants to try it out to see if they can reproduce it with the patched build that would help.
Comment 31•16 years ago
|
||
Vlad: do we really think we can't ship b3 without this? I agree that it's not great, and we'd definitely take the patch should it come through in time, but I don't know if we'd block release on it. What's changed in our evaluation since when it was marked a P2?
Comment 32•16 years ago
|
||
(In reply to comment #30)
> The attached patch seems like it might fix the bug. I've sent the patch off to
> try server so if anyone wants to try it out to see if they can reproduce it
> with the patched build that would help.
The tryserver builds are available here: http://tinyurl.com/bveds3
I run this build on my Vista VM and I cannot see the repainting issues anymore with the same steps I've given in comment 9. By running current nightly builds in parallel, I still can see the issue. So this patch might really fix this problem.
Assignee | ||
Comment 33•16 years ago
|
||
This version should have the same effect and be a little less risky then the last one. New builds with this should show up on try server soon with the name jrmuizel.
Attachment #359864 -
Attachment is obsolete: true
Attachment #359928 -
Flags: review?(vladimir)
Comment on attachment 359928 [details] [diff] [review]
Only ignore uninvertible rank 0 matrices
Looks good; did you manage to catch in the debugger the callsite that's creating a 0x0 font matrix? We should fix that as well.
Attachment #359928 -
Flags: review?(vladimir) → review+
Assignee | ||
Comment 35•16 years ago
|
||
I can look at the call site on Monday, I don't have a windows env setup at home.
Assignee | ||
Comment 36•16 years ago
|
||
I'll upstream this or something like it. We're currently redoing the invalid font matrix handling in cairo so it might be a little different.
Keywords: checkin-needed
Comment 37•16 years ago
|
||
Any thoughts on how this relates to bug 435459 (also a Flickr rendering problem though maybe slightly different in manifestation).
Comment 38•16 years ago
|
||
The tryserver builds at http://tinyurl.com/bp6k9t look good and also solve this painting problem.
(In reply to comment #37)
> Any thoughts on how this relates to bug 435459 (also a Flickr rendering problem
> though maybe slightly different in manifestation).
This will be solved by this bug. Please try the given tryserver build for your platform and please verify if it works now. Also remember to create a fresh profile for this test: http://tinyurl.com/yqs29d
Status: NEW → ASSIGNED
Whiteboard: [needs landing]
Updated•16 years ago
|
Version: unspecified → Trunk
Jeff, can you get the patch into the right format with an addition to the cairo README etc?
Comment 41•16 years ago
|
||
Johnathan pushed this on Wednesday:
http://hg.mozilla.org/mozilla-central/rev/e646709ecfc5
Jeff says he's going to take care of upstreaming this fix or something like it, and will also update our in-tree cairo README.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment 42•16 years ago
|
||
Keywords: checkin-needed → fixed1.9.1
Whiteboard: [needs landing]
Target Milestone: --- → mozilla1.9.2a1
Comment 43•16 years ago
|
||
Comment 44•16 years ago
|
||
Comment 45•16 years ago
|
||
Due to I was only able to see this issue with my WinXP under VmWare I can now verify that it is fixed on trunk and 1.9.1 branch with:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2a1pre) Gecko/20090208 Minefield/3.2a1pre
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20090201 Shiretoko/3.1b3pre
Status: RESOLVED → VERIFIED
Keywords: fixed1.9.1 → verified1.9.1
Comment 46•16 years ago
|
||
This bug also exists in prior FF versions, like 3.0.x. I am running 3.0.8 and the problem is still there. Do we get also a patch/fix for the stable series please?
Thanks!
Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8 (.NET CLR 3.5.30729)
Comment 47•16 years ago
|
||
Thomas, this bug is a regression from a patch which went into 1.9.1 branch but not for 1.9.0.x. Probably you see another issue.
Jeff, or do I miss a bug where a patch went into 1.9.0.x?
Assignee | ||
Comment 48•16 years ago
|
||
This was never fixed on 1.9.0.x
I was not even aware that it could be reproduced on 1.9.0.x.
Comment 49•16 years ago
|
||
Thomas, please file a new bug on your issue and attach a screenshot and useful STR to reproduce this issue. Thanks.
Comment 50•16 years ago
|
||
I had exactly the same issue with flickr in FF 3.1b1/b2 but not anymore in later 3.1 releases or nightlys.
But in FF 3.0.8 this problem still exists.
I've attached a screenshot with this issue where the re-draw problem occurs.
Comment 51•16 years ago
|
||
Henrik, I did not see your comment timely. Okay, I'll create a new bug report.
Comment 52•16 years ago
|
||
I've filed a new bug report with STR and a screenshot: bug 487058
Comment 54•16 years ago
|
||
With the findings on bug 487058 we know that this patch also fix the problem on 1.9.0. Jeff, would you have time to come up with a patch?
Comment 55•16 years ago
|
||
Any news on this respectively did someone try the patch? FF 3.0.9 still shows the issue. Thanks!
Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.0.9) Gecko/2009040821 Firefox/3.0.9 (.NET CLR 3.5.30729)
Comment 56•16 years ago
|
||
This has not landed on the 1.9.0 (3.0.x) Branch yet.
Flags: wanted1.9.0.x?
Flags: blocking1.9.0.10?
Comment 57•16 years ago
|
||
(In reply to comment #56)
> This has not landed on the 1.9.0 (3.0.x) Branch yet.
No. It hasn't got approval yet. It's a decision of the 1.9.0 drivers.
Comment 58•16 years ago
|
||
Not a "blocker" for branch security updates, but if the GFX team wants to land this on 1.9.0 request approval on the patch. (We need the request made by a module owner/peer, otherwise we'll just have to come back and ask for their review to indicate it's a branch-appropriate patch).
Updated•16 years ago
|
Flags: blocking1.9.0.10?
Comment on attachment 359928 [details] [diff] [review]
Only ignore uninvertible rank 0 matrices
I'd be happy to see this on 1.9.0.
Attachment #359928 -
Flags: approval1.9.0.11?
Comment 60•16 years ago
|
||
Sorry for my ignorance, as I'm just an end user and not familiar with the meanings of "1.9.0" and so forth. I just wanted to note that I'm experiencing this bug on Flickr, running Firefox 3.0.10 on Vista 64. The status is listed as "verified fixed", but I'm unclear as to whether that implies that the fix has already been pushed out to us end users, or whether it's still waiting in the wings.
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 GTB5 (.NET CLR 3.5.30729)
Comment 61•16 years ago
|
||
The present state of this bug is:
- VERIFIED FIXED: Confirmed to be fixed on the development trunk, which is
currently neither 3.0 nor even 3.5-to-be, but the version *after* 3.5
(due out probably sometime next year). Really only relevant to us
developers.
- verified1.9.1 (in the "keywords" box): Confirmed to be fixed in Gecko
version 1.9.1, which is the rendering engine used in Firefox 3.5-to-be.
- approval1.9.0.12? (on one of the attachments): Someone (specifically,
Vladimir, author of comment #59) has requested that the patch be considered
for inclusion in Gecko 1.9.0.12, which is the rendering engine that will be
used in Firefox 3.0.12. This is not a guarantee that it *will* be included,
but the conversation in comments 57 through 59 indicates that it's likely.
Yes, this is confusing and arcane for end users; it's optimized for what us developers need to know, not for the sort of thing you want to know. However, there *is* a straightforward translation once you know what all the code names and version numbers mean:
The bug is likely to be fixed in the next-but-one release of Firefox 3.0, which is currently scheduled for mid-July (you can see the schedule on https://wiki.mozilla.org/Releases). If you would like your own browser to be fixed before then, your best bet is to switch to a 3.5 beta (available from http://www.mozilla.com/en-US/firefox/all-beta.html -- the patch landed on the 1.9.1 branch in February, so the most recent beta will definitely have it).
Comment 62•16 years ago
|
||
Thanks very much for taking the time to write such a clear explanation, Zack. I realize everyone's quite busy, so I really appreciate it. I use Flickr quite a bit, so I'll think about giving the 3.5 beta a try.
Comment 63•16 years ago
|
||
Comment on attachment 359928 [details] [diff] [review]
Only ignore uninvertible rank 0 matrices
Approved for 1.9.0.12, a=dveditz for release-drivers
Attachment #359928 -
Flags: approval1.9.0.12? → approval1.9.0.12+
Comment 64•16 years ago
|
||
Comment on attachment 359928 [details] [diff] [review]
Only ignore uninvertible rank 0 matrices
unapproved for 1.9.0.12: past code-freeze and not a blocking bug.
Also if we try this again we need to get a roll-up patch that includes regression fixes. Looks like this caused bug 475548, and the patch for that requires the changes in bug 473398, which in turn caused bug 474201. At one point 475548 was also blamed for regression bug 486473 (unfixed!) but more recently that was blamed on bug 479637.
Attachment #359928 -
Flags: approval1.9.0.12+ → approval1.9.0.12-
Updated•14 years ago
|
Flags: wanted1.9.0.x?
You need to log in
before you can comment on or make changes to this bug.
Description
•