Closed
Bug 820496
Opened 13 years ago
Closed 13 years ago
In print preview, background bottom moves when scrolling
Categories
(Core :: Print Preview, defect)
Tracking
()
VERIFIED
FIXED
mozilla20
People
(Reporter: alice0775, Assigned: roc)
References
Details
(Keywords: regression, testcase)
Attachments
(4 files)
90 bytes,
text/html
|
Details | |
2.57 KB,
patch
|
mattwoodrow
:
review+
akeybl
:
approval-mozilla-aurora+
akeybl
:
approval-mozilla-beta-
|
Details | Diff | Splinter Review |
614.00 KB,
image/jpeg
|
Details | |
623.59 KB,
image/jpeg
|
Details |
Build Identifier:
http://hg.mozilla.org/mozilla-central/rev/4dfe323a663d
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20121211 Firefox/20.0 ID:20121211030855
http://hg.mozilla.org/releases/mozilla-aurora/rev/c042ea08a2b4
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20121211 Firefox/19.0 ID:20121211042015
See reports http://forums.mozillazine.org/viewtopic.php?p=12540791#p12540791
Steps to reproduce:
1) Check Page Setup > Print background
2) Open http://www.tizag.com/htmlT/htmlbackground.php
3) Select Print Preview
Actual Result:
[1] there is white rectangle on the right: http://i.imgur.com/tUQ6B.jpg --- Bug 820494
[2] Blue background moves downwards when I'm scrolling down. --- This bug.
There are 2 regressions.
#1 No backbround color in print preview
--- Regressed by Bug 792314 and Fixed by Bug 816603 except [1] --- Bug 820494
#2 Graphical glich in print preview when scroll
--- Regressed by Bug 811570 and Fixed by Bug 812107 except [2]. --- I Will file separate bug
![]() |
Reporter | |
Updated•13 years ago
|
Keywords: regression
![]() |
Reporter | |
Comment 1•13 years ago
|
||
oops,
>#2 Graphical glich in print preview when scroll
> --- Regressed by Bug 811570 and Fixed by Bug 812107 except [2]. --- I Will file separate bug
#2 Graphical glich in print preview when scroll
--- Regressed by Bug 811570 and Fixed by Bug 812107 except [2]. --- this bug
![]() |
Reporter | |
Updated•13 years ago
|
status-firefox17:
--- → unaffected
tracking-firefox18:
--- → ?
![]() |
Reporter | |
Comment 2•13 years ago
|
||
Sorry
s/Bug 811570/Bug 810186/
![]() |
Reporter | |
Comment 4•13 years ago
|
||
(In reply to Alice0775 White from comment #3)
> I can also reproduce In 18Beta.
So, root cause is Bug 792314 and Bug 794709 ?
Keywords: testcase
Summary: in print preview, background color moves downwards when I'm scrolling down → In print preview, background bottom moves when scrolling
Comment 6•13 years ago
|
||
Not tracking it for release considering it's not a blocker for release based on the user scenario described . Please feel free to renominate if the issue is widely seen
Assignee | ||
Comment 8•13 years ago
|
||
Attachment #692888 -
Flags: review?(matt.woodrow)
Comment 9•13 years ago
|
||
Comment on attachment 692888 [details] [diff] [review]
fix
Review of attachment 692888 [details] [diff] [review]:
-----------------------------------------------------------------
::: layout/generic/nsPageFrame.cpp
@@ +547,5 @@
> // happens after we've built the list so that AddCanvasBackgroundColorItem
> // can monkey with the contents if necessary.
> + nsRect backgroundRect =
> + nsRect(child->GetOffsetToCrossDoc(aBuilder->FindReferenceFrameFor(child)),
> + child->GetSize());
Just aBuilder->ToReferenceFrame(child) should work here right?
Attachment #692888 -
Flags: review?(matt.woodrow) → review+
Assignee | ||
Comment 10•13 years ago
|
||
Assignee | ||
Updated•13 years ago
|
status-firefox18:
--- → affected
status-firefox19:
--- → affected
Assignee | ||
Comment 11•13 years ago
|
||
Comment on attachment 692888 [details] [diff] [review]
fix
[Approval Request Comment]
Bug caused by (feature/regressing bug #): 792314 (ultimately DLBI)
User impact if declined: incorrectly drawn background color in print preview, if background colors are turned on in Page Setup (so, not common)
Testing completed (on m-c, etc.): just landed on inbound
Risk to taking this patch (and alternatives if risky): This is a pretty small, focused and safe patch. Very likely the worst that could happen is that we draw the background differently wrong.
String or UUID changes made by this patch: none
Attachment #692888 -
Flags: approval-mozilla-beta?
Attachment #692888 -
Flags: approval-mozilla-aurora?
Comment 12•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Comment 13•13 years ago
|
||
Comment on attachment 692888 [details] [diff] [review]
fix
We wouldn't chemspill for this issue, the user impact isn't absolutely critical, and we therefore shouldn't try to get this into our last beta. Approving for Aurora, however.
Attachment #692888 -
Flags: approval-mozilla-beta?
Attachment #692888 -
Flags: approval-mozilla-beta-
Attachment #692888 -
Flags: approval-mozilla-aurora?
Attachment #692888 -
Flags: approval-mozilla-aurora+
Comment 14•13 years ago
|
||
Comment 15•13 years ago
|
||
Verified fixed on FF 19.3 on Windows 7 x64.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0(20130123083802)
Updated•13 years ago
|
Comment 16•13 years ago
|
||
Comment 17•12 years ago
|
||
I confirm the fix is verified on FF 20b5 too:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0(20130313170052)
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•