[cairo-bugs] [Bug 102531] New: A blank page output when print a specific JPEG file with eog

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 4 06:00:58 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=102531

            Bug ID: 102531
           Summary: A blank page output when print a specific JPEG file
                    with eog
           Product: cairo
           Version: unspecified
          Hardware: Other
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: chris at chris-wilson.co.uk
          Reporter: zhangxiufu at rst.ricoh.com
        QA Contact: cairo-bugs at cairographics.org

Created attachment 133953
  --> https://bugs.freedesktop.org/attachment.cgi?id=133953&action=edit
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:
1. Open the file with Image Viewer.
2. 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:
1. This problem only occurs on Ubuntu 17.04. It does not occurs on Ubuntu
16.04, CentOS 7.3 and OpenSUSE Leap 42.2.
2. On Ubuntu 17.04, this problem does not occurs when open the file with
"Shotwell(0.22.0)".
3. This problem is occurs only when the JPEG file "Penguins_1200_half.jpg" is
printed. Other JPG files are printed, the result becomes OK.
4. 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

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo-bugs/attachments/20170904/2eb0f94b/attachment.html>


More information about the cairo-bugs mailing list