Bug 1438362

Summary: Print button should be disabled for some document formats
Product: Red Hat Enterprise Linux 7 Reporter: Martin Krajnak <mkrajnak>
Component: gnome-documentsAssignee: Debarshi Ray <debarshir>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.4CC: bmilar, tpelka
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: gnome-documents-3.22.2-3.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 10:01:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin Krajnak 2017-04-03 08:29:51 UTC
Description of problem:
As gnome-documents moved to new rendering widget, print function, among the others, is not supported for LibreOffice and MSoffice documents (User is able to open document in libreoffice and print it from there). Actual problem resides within main document view, where right clicking affected documents in list/grid offers print button, which actually does nothing. 

Version-Release number of selected component (if applicable):
gnome-documents-3.22.2-1.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1.Run gnome-documents
2.Right click on any of odt, ods, odp, doc, xls, ppt, docx, xlsx, pptx
3.Click Print button in newly appeared panel

Actual results:
Nothing

Expected results:
Print dialog should be shown or since the feature is not supported because of new widget button should be disabled.

Additional info:

Comment 1 Debarshi Ray 2017-04-24 12:48:31 UTC
I have built gnome-documents-3.22.2-3.el7:
https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=13069926

Comment 3 Bohdan Milar 2017-06-13 14:00:24 UTC
Tested manually on x86_64 using gnome-documents-3.22.2-5.el7 and on ppc64, ppc64le, s390x and aarch64 using gnome-documents-3.22.2-4.el7.

After selecting odt or doc file (right-click), the print icon on the bottom was disabled. So the described problem did not appear.

Comment 4 errata-xmlrpc 2017-08-01 10:01:37 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:2312