Closed
Bug 794686
Opened 12 years ago
Closed 12 years ago
Text not rendered in <input> until switching tabs or otherwise re-rendering the window
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
VERIFIED
FIXED
mozilla18
Tracking | Status | |
---|---|---|
firefox17 | + | unaffected |
firefox18 | + | verified |
People
(Reporter: RyanVM, Assigned: cwiiis)
References
Details
(Keywords: regression)
Attachments
(2 files)
370 bytes,
text/html
|
Details | |
3.29 KB,
patch
|
mattwoodrow
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #777260 +++ This appears to have re-regressed. Not sure exactly when as I went about a week and a half without updating my build. Same steps as before. Sure would have been nice if we'd gotten a working test the last time around... :(
Comment 1•12 years ago
|
||
Perhaps this is the same as bug 793998.
Comment 2•12 years ago
|
||
Comment 3•12 years ago
|
||
Regression window(m-c) Good: http://hg.mozilla.org/mozilla-central/rev/f7c89de3ab43 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/18.0 Firefox/18.0 ID:20120915201302 Bad: http://hg.mozilla.org/mozilla-central/rev/b3f462d96fb5 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/18.0 Firefox/18.0 ID:20120916161603 Pushlog: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=f7c89de3ab43&tochange=b3f462d96fb5 Regression window(m-c) Good: http://hg.mozilla.org/integration/mozilla-inbound/rev/33087122ace7 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/18.0 Firefox/18.0 ID:20120916022601 Bad: http://hg.mozilla.org/integration/mozilla-inbound/rev/6ee831a85d12 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/18.0 Firefox/18.0 ID:20120916033402 Pushlog: http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=33087122ace7&tochange=6ee831a85d12 Suspected:Bug 788044
Blocks: 788044
Updated•12 years ago
|
Version: Trunk → 18 Branch
Assignee | ||
Comment 4•12 years ago
|
||
Excellent test-case, will try to fix this and add a reftest to prevent it being broken again (though I expect DLBI will make this particular error extremely unlikely to manifest).
Assignee: nobody → chrislord.net
Status: NEW → ASSIGNED
Assignee | ||
Comment 5•12 years ago
|
||
Seems this is a case of a container layer being created, then lost when retaining layers on the next draw (in this case, the container layer for the transform). I thought I fixed a very similar issue before, but can't quite remember how or why, so going over this again...
Assignee | ||
Comment 6•12 years ago
|
||
Somewhat interestingly, if I force the transform item to always be active, updates still don't work, despite going to both the transform and fixed position item container layers...
Assignee | ||
Comment 7•12 years ago
|
||
So it seems the invalidation is actually reaching the right layer (at least with forced active transforms). Perhaps the coordinates are wrong?
Assignee | ||
Comment 8•12 years ago
|
||
Starting to think this may actually be to do with native widget drawing (which would make this a separate issue to bug 787471) - the invalidations look correct and I notice the red outline around the text entry seems to update correctly, but the area that intersects with the native widget is not updated (including where it intersects with the red highlight...) Quite odd behaviour... Will confirm by adding style to the entry.
Assignee | ||
Comment 9•12 years ago
|
||
Ok, unfortunately nothing to do with that.
Assignee | ||
Comment 10•12 years ago
|
||
Of course, I hadn't considered that the invalidation is a region, not a rect - the odd invalidation of the red outline is just indicative of the offset being wrong. Just need to find out why the offset is wrong.
Assignee | ||
Comment 11•12 years ago
|
||
Just to confirm, it does indeed expect things to be relative to the origin of the transformed frame. Manually offsetting it fixes the issue.
Assignee | ||
Comment 12•12 years ago
|
||
erk, but not forcing active on the transform still exhibits the problem, so it appears there are two distinct problems here? Or perhaps the root cause of the incorrect offset will fix both...(?)
Assignee | ||
Comment 13•12 years ago
|
||
False alarm, it's still the offset, I just set it in a place that only affected this page when the transform is active :)
Assignee | ||
Comment 14•12 years ago
|
||
Extra note - this has nothing to do with position:fixed - forcing transforms to be active and removing the position:fixed declaration from the attached test-case still exhibits the error.
Assignee | ||
Comment 15•12 years ago
|
||
I wish I'd noticed that bug 788044 was suspected before, this is very likely the cause. Hopefully be able to work out a fix today.
Assignee | ||
Comment 16•12 years ago
|
||
Just to note that simply setting a transform is enough to trigger this bug under many circumstances, there's no need for the nested divs, position:fixed, etc. This is a regression caused by bug 788044. I've spoken to Matt Woodrow about it - if DLBI sticks, we should back this out of Aurora, otherwise we'll devise and check in a fix.
Assignee | ||
Comment 17•12 years ago
|
||
try: https://tbpl.mozilla.org/?tree=Try&rev=6a5e63ccbf3c I'm not sure if this is entirely correct, but it feels correct given the changes from bug 788044 and it fixes the problem without obviously causing others. This is for Aurora only, this problem is fixed by DLBI.
Attachment #665930 -
Flags: review?(matt.woodrow)
Updated•12 years ago
|
Reporter | ||
Comment 18•12 years ago
|
||
Confirmed that this is fixed on trunk by DLBI. Leaving open for the Aurora patch.
Updated•12 years ago
|
Attachment #665930 -
Flags: review?(matt.woodrow) → review+
Assignee | ||
Comment 19•12 years ago
|
||
Comment on attachment 665930 [details] [diff] [review] Fix invalidations on transforms [Approval Request Comment] Bug caused by (feature/regressing bug #): Bug 788044 caused this regression. User impact if declined: Transformed elements will often not update. Testing completed (on m-c, etc.): Local testing looked good and try runs are green. Risk to taking this patch (and alternatives if risky): Medium risk. This hasn't received as much testing as I'd like, but seems ok. It can't be landed on central because it conflicts with DLBI. Backing out bug 788044 is non-trivial, there are conflicts, so I'm not sure what the better option is. This is certainly the least work of the two options, so perhaps ought to be tried first. String or UUID changes made by this patch: None
Attachment #665930 -
Flags: approval-mozilla-aurora?
Comment 20•12 years ago
|
||
(In reply to Chris Lord [:cwiiis] from comment #19) > Comment on attachment 665930 [details] [diff] [review] > Fix invalidations on transforms > > [Approval Request Comment] > Bug caused by (feature/regressing bug #): Bug 788044 caused this regression. > User impact if declined: Transformed elements will often not update. I'm probably being daft, but didn't bug 788044 land in FF18 and not 17?
Assignee | ||
Comment 21•12 years ago
|
||
(In reply to Alex Keybl [:akeybl] from comment #20) > (In reply to Chris Lord [:cwiiis] from comment #19) > > Comment on attachment 665930 [details] [diff] [review] > > Fix invalidations on transforms > > > > [Approval Request Comment] > > Bug caused by (feature/regressing bug #): Bug 788044 caused this regression. > > User impact if declined: Transformed elements will often not update. > > I'm probably being daft, but didn't bug 788044 land in FF18 and not 17? You're right... Does this *actually* effect 17? Adding qawanted flag to confirm.
Keywords: qawanted
Comment 22•12 years ago
|
||
I checked for this problem on Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/17.0 Firefox/17.0 Build ID: 20121004042009 I used the reduced html to test. The problem doesn't show up, it appears to work fine.
Assignee | ||
Comment 23•12 years ago
|
||
Marking this as fixed (by DLBI) and marking Aurora as unaffected.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 24•12 years ago
|
||
Comment on attachment 665930 [details] [diff] [review] Fix invalidations on transforms Removing aurora approval request, unnecessary.
Attachment #665930 -
Flags: approval-mozilla-aurora?
Comment 25•12 years ago
|
||
Verified as fixed on Mac OS, Ubuntu and Windows 7 with Firefox beta 6.
Status: RESOLVED → VERIFIED
Comment 26•12 years ago
|
||
(In reply to Alexandra Lucinet [QA] from comment #25) > Verified as fixed on Mac OS, Ubuntu and Windows 7 with Firefox beta 6. Thanks Alexandra. Setting the status flag to verified as well.
Reporter | ||
Comment 28•12 years ago
|
||
Would be nice given that this was filed as a regression of a prior fix. Chris, is there a way to test this?
Assignee | ||
Comment 29•12 years ago
|
||
(In reply to Ryan VanderMeulen from comment #28) > Would be nice given that this was filed as a regression of a prior fix. > Chris, is there a way to test this? The attached HTML test case, if text typed into the text box appears, it works. This bug was caused by bug 788044, but was fixed by DLBI - given they both landed in the same version, this bug has not been in any release, as far as I'm aware.
You need to log in
before you can comment on or make changes to this bug.
Description
•