GNOME Bugzilla – Bug 495107
Handle print dialog responses correctly
Last modified: 2008-03-09 12:41:14 UTC
This bug has been reported here: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/160589 "Steps to reproduce: 0. Ensure printer is connected and working 1. Open PDF in evince 2. File -> print 3. Press escape Expected result: print dialog closes, printer stays silent Actual result: print dialog closes, printer prints document This is counter-intuitive. " Thanks.
Pedro, I can't reproduce on Ubuntu Gutsy + Evince 2.20.1
I can confirm the problem with evince 2.20.1 on gentoo and ubuntu gutsy.
I confirm this bug on debian 2.20.2 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=462623). Please fix it, it should be pretty easy. Best regards, Eugen Dedu
Hi, The culprit is surely the line shell/ev-window.c:2223 if (response == GTK_RESPONSE_CANCEL) { which should be changed to if (response == GTK_RESPONSE_CANCEL || response == GTK_RESPONSE_NONE) { Can someone check this? Greetings, Eugen Dedu
Fixed in trunk, thank you very much.
Not fixed properly. Reopening.
Raising severity, currently printing is broken since the "Print" button signal is not handled correctly, assuming the print dialog was cancelled while in fact "Print" was pressed...
Created attachment 106894 [details] [review] Fix This fixes printing.
2008-03-09 Wouter Bolsterlee <wbolster@svn.gnome.org> * shell/ev-window.c (ev_window_print_dialog_response_cb): Bug 495107 – Handle print dialog responses correctly Correctly handle print dialog response. Properly fixes the above mentioned bug.