Pages containing SVG images are unsuccessfully printed
Categories
(Core :: Graphics, defect)
Tracking
()
People
(Reporter: gmoldovan, Assigned: jrmuizel, NeedInfo)
References
(Regression)
Details
(Keywords: regression)
Attachments
(4 files)
Affected versions
- Latest Nightly 95.0a1
- Beta 94.0b9
- RC 93.0
Affected platforms
- Windows 10x64
- Ubuntu 20.04
- macOS 10.15
Steps to reproduce
-
Launch Firefox.
-
Access the following link: https://bug1715803.bmoattachments.org/attachment.cgi?id=9226355.
-
Print preview the page.
-
Save the page as PDF.
-
Compare it with print preview.
Expected result
- The Save to PDF page looks like in the print preview.
Actual result
- The Save to PDF page adds unwanted background to the image.
Suggested Severity
- S3 since it only affects certain extensions
Regression range
- This is not a recent regression since is reproduces on 93.0 Release. I will look for an old regression range as soon as possible.
Additional notes
- I attached a Print to file PDF with the problem.
- On macOS 10.15 the issue is more visible. The image is completely ruined.
| Reporter | ||
Updated•4 years ago
|
Comment 1•4 years ago
|
||
There are two regression.
#1 Regression window(Some of the lines and curves in the graphic are missing):
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=2b3545abbf55f49144afae64bd9ac4b75d28d817&tochange=c7cb63e184710abd9c54d813504a2cffcd1bd12f
#2 Regression window(Completely blank):
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=d16750799f8a8642c95dadcff2ab098aacf7d8fa&tochange=a2af18ebbe6e043e4b0acf958baca829bdb79bc4
Updated•4 years ago
|
Updated•4 years ago
|
Comment 2•4 years ago
|
||
Hey Jeff, a couple regressions from Matt's work. You reviewed it, so wondering if you might have some ideas.
| Assignee | ||
Comment 3•4 years ago
|
||
Yeah, I'll take a look
| Assignee | ||
Comment 4•4 years ago
|
||
Bug 1540737 originally used PushLayerWithBlend here but
PushLayerWithBlend is not implemented for D2D. Since then,
I believe we've stopped using D2D for content drawing so
it should be possible to switch back to PushLayerWithBlend.
Comment 6•4 years ago
|
||
| bugherder | ||
| Reporter | ||
Comment 7•4 years ago
|
||
Verified as fixed on Ubuntu 20.04 and Windows 10x64 on the latest Nightly 96.0a1 (20211105093421).
On macOS it looks a lot better, but the image is blurry. I attached a screenshot with the issue.
@Jeff, do you know if this is expected or should I fill a new bug for this issue?
| Assignee | ||
Comment 8•4 years ago
|
||
(In reply to Giorgia Nichita, Release Desktop QA from comment #7)
Created attachment 9249429 [details]
SVGimage.pngVerified as fixed on Ubuntu 20.04 and Windows 10x64 on the latest Nightly 96.0a1 (20211105093421).
On macOS it looks a lot better, but the image is blurry. I attached a screenshot with the issue.
@Jeff, do you know if this is expected or should I fill a new bug for this issue?
Giorgia can you check what the behaviour was on macOS before bug 1540737 landed?
Updated•4 years ago
|
Comment 9•4 years ago
|
||
Backed out for causing Windows graphics crashes (bug 1739661)
Backout link: https://hg.mozilla.org/integration/autoland/rev/2d244932aec645578e28d2572eaef0a4fb7b8ff4
Comment 10•4 years ago
|
||
Backout merged to central: https://hg.mozilla.org/mozilla-central/rev/2d244932aec645578e28d2572eaef0a4fb7b8ff4
| Reporter | ||
Comment 11•4 years ago
|
||
(In reply to Jeff Muizelaar [:jrmuizel] from comment #8)
Giorgia can you check what the behaviour was on macOS before bug 1540737 landed?
Before Bug 1540737 landed, the image was completely ruined, I attached a screenshot of the behavior.
Comment 12•4 years ago
|
||
There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:jrmuizel, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Comment 13•2 years ago
|
||
Desktop QA has been highlighting this defect as a known issue for several release cycles now, following regression testing. Bob, it would really help us if you set a priority on this bug — it will give us clarity on whether this issue is still worth mentioning in future test reports.
Description
•