Bug 66931

Summary: kprinter with a non existant file hangs
Product: [Unmaintained] kdeprint Reporter: Stephan Kulow <coolo>
Component: generalAssignee: KDEPrint Devel Mailinglist <kde-print-devel>
Status: CLOSED DUPLICATE    
Severity: normal CC: eva, jlayt
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Stephan Kulow 2003-10-30 21:46:23 UTC
Version:           Unbekannt (using KDE 3.1.93 (CVS >= 20031028), compiled sources)
Compiler:          gcc version 3.3.1 (SuSE Linux)
OS:          Linux (i686) release 2.4.21-99-default

I called kprinter public_html/randomtext.txt and forgot I'm not in a directory where such a file
exists :)

Anyway, the code in kdeprint/printwrapper.cpp loops over the given arguments and tries
to reach them and then - if no existant files are there - reads from stdin, which is kind of
suboptimal error handling. I'd expected an error message of some kind.
Comment 1 Michael Goffioul 2004-03-29 16:51:58 UTC
*** Bug 78662 has been marked as a duplicate of this bug. ***
Comment 2 Cristian Tibirna 2005-09-24 05:08:17 UTC

*** This bug has been marked as a duplicate of 93331 ***
Comment 3 John Layt 2008-12-31 13:20:42 UTC
Closing old Resolved status bug.