Version: KPrinter (using KDE KDE 3.3.1) Installed from: RedHat RPMs OS: Linux When another application calls KPrinter to print somethinga and the user by chance presses print before selecting a file to print then kPrinter crashes. This is fairly start-forward to reproduce: 1.) Start KPrinter directly or indirectly. 2.) Press print before selecting a file or files to print. 3.) KPrinter interface is non-functional once the print button is clicked
CVS commit by pfeifle: Avoid dead-lock when no file has been specified. CCMAIL:<93331-close@bugs.kde.org> M +4 -0 printwrapper.cpp 1.20 --- kdebase/kdeprint/kprinter/printwrapper.cpp #1.19:1.20 @@ -320,4 +320,8 @@ void PrintWrapper::slotPrintRequested(KP if (filestoprint.count() == 0) { + // At this point force_stdin should be true + if (!force_stdin) + errormsg(i18n("Nothing to print.")); + // print from stdin
*** Bug 87921 has been marked as a duplicate of this bug. ***
*** Bug 66931 has been marked as a duplicate of this bug. ***
Closing old Resolved status bug.