A blank page output when print a specific JPEG file with eog
Submitted by zha..@..oh.com
Assigned to Chris Wilson @ickle
Link to original bug (#102531)
Description
Created attachment 133953 The JPEG file that occures the problem
Please describe the problem: A blank page output when print a specific JPEG image file. I have a JPEG image file "Penguins_1200_half.jpg" that is 12773x4922 pixels. When I open the image with Image Viewer and choose print, the file cannot be printed correctly, a blank page is output by the printer. The file in question is available for your perusal at attachment.
Product Version details: Image Viewer 3.24.0 Print data creator Version details:Cairo 1.14.8 Distribution/Version: Ubuntu 17.04
Steps to reproduce:
- Open the file with Image Viewer.
- Print the file.
Actual results: The file cannot be printed correctly, a blank page is output by the printer.
Expected results: The file should print as it is displayed on the preview.
Does this happen every time? Yes
Detailed analysis: I pause the print queue and obtain the Image Viewer generated print data (d00XXX-001(XXX: Job's No.)) in /var/spool/cups. This is a pdf format file, and I have confirmed that is a blank page open with Document Viewer (Evince). When I open the data with gedit, and found the creator of PDF data is Cairo (Ver.1.14.8). For details, please refer to the attachment “d00275-001”
Excerpt: << /Creator (cairo 1.14.8 (http://cairographics.org)) /Producer (cairo 1.14.8 (http://cairographics.org))
So I think the issue is probably caused by Cairo.
Other information:
- This problem only occurs on Ubuntu 17.04. It does not occurs on Ubuntu 16.04, CentOS 7.3 and OpenSUSE Leap 42.2.
- On Ubuntu 17.04, this problem does not occurs when open the file with "Shotwell(0.22.0)".
- This problem is occurs only when the JPEG file "Penguins_1200_half.jpg" is printed. Other JPG files are printed, the result becomes OK.
- We reported this bug to ImageViewer and got replied that their printing code is unchanged since GNOME 3.8, so it was impossible that ImageViewer cause this bug.For details, please refer to the following bug report:https://bugzilla.gnome.org/show_bug.cgi?id=783416
Attachment 133953, "The JPEG file that occures the problem":