Bug 1442351

Summary: Calendar Print skips print dialog
Product: [Fedora] Fedora Reporter: ywenchao <ywenchao>
Component: evolutionAssignee: Milan Crha <mcrha>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: cosimo.cecchi, lucilanga, mbarnes, mclasen, mcrha, mkasik, tpopela
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: evolution-3.24.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-18 10:43:09 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 ywenchao 2017-04-14 08:46:27 UTC
Description of problem:
Calendar of envolution (dayview && listview)can not be printed in zh_CN locale,it will be closed automatically.But in other localization , it is normal to print.

Version-Release number of selected component (if applicable):


How reproducible:
alwasys

Steps to Reproduce:
1.Start evolution in zh_CN locale.
2.Click calendar tab on the left list and print by dayview and listview.
3.Check the page.

Actual results:
it will be closed automatically without printing.

Expected results:

Printing should be well.
Additional info:

Comment 1 Milan Crha 2017-04-18 08:04:26 UTC
Thanks for a bug report. I had a bad time trying to print a calendar also in other locales, I can click the Print button on the toolbar or File->Print, but it doesn't seem to do anything. I can open File->Print Preview, which shows what will be printed, but when I click the printer icon at the top of Evince, then no print dialog is shown and the Evince window closes.

I looked around and realized that gtk+ (or something) decided to just add a new print job to one of my (currently offline) printers, without providing me with the print dialog for some reason. The chosen printer had been my default local printer, but even when I changed the default printer to another (remote, also offline) it didn't help and gtk+ still added silently a new job to that previous printer.

Due to this, and Evince working the same, I'm moving this to gtk+.

Could you check whether you've any pending jobs on any of your printers too, please? It's in Settings (gnome-control-center)->Printers, the "Show Jobs" button.

Comment 2 Milan Crha 2017-04-18 10:36:17 UTC
I'm moving the bug back to evolution. I made a mistake there, evolution requested to print the content immediately, instead of showing the print dialog first, where one can change the printer and so on. It was not affected by used locale.

Comment 3 Milan Crha 2017-04-18 10:43:09 UTC
Fixed with:

Created commit d5bf699 in evo master (3.25.1+) [1]
Created commit 823cfc7 in evo gnome-3-24 (3.24.2+)

[1] https://git.gnome.org/browse/evolution/commit/?id=d5bf699