Version: 0.13 (using KDE 4.7.0) OS: Linux In kdebugdialog, I disabled all output. However, when trying to refresh a PDF file in Okular, if that file does not exist, it spews out text to the console: % okular ~/work/file.pdf okular(15885)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know "/home/pete/work" okular(15885)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know "/home/pete/work" okular(15885)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know "/home/pete/work" okular(15885)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know "/home/pete/work" ... and so on. Reproducible: Always Steps to Reproduce: Open okular from the terminal. Remove the PDF it is viewing. (While this might sound an odd thing to do, it's what happens when you're generating a PDF file using latex. If I'm in vim on the console, then all the output gets spewed all over my vim session if it fails to compile.) Actual Results: There is text on the console. Expected Results: There should be no text.
Dupe of bug 277350. And this output is really the fault of KDELibs (the "kio" part in the output), not Okular. In the meantime, I think you should be able to turn this off via settings in .kde/share/config/kdebugrc, where you can turn off output for higher importance levels that debug (i.e., warnings and errors).
Thanks Davor, that's helpful. However, it seems to me, and from reading the comments on the bug you linked to, that default behaviour should be to have this output disabled in kdelibs. I'll file a bug against that component.
Reported against kdelibs: Bug 280178
Thanks Peter, I've been meaning to report that with Kdelibs too, and have subscribed to your report there. Can you close this bug as either invalid or a duplicate of #277350, please?
Git commit af4316a9386d389d483c07e24b7944cacb634e33 by Albert Astals Cid. Committed on 06/09/2011 at 20:01. Pushed by aacid into branch '4.7'. Fix KDirWatchPrivate warnings Need to add everything we remove or otherwise it complains we are trying to remove something we did not add BUGS: 280123 FIXED-IN: 4.7.2 M +10 -6 part.cpp http://commits.kde.org/okular/af4316a9386d389d483c07e24b7944cacb634e33
Git commit 200215bf4144f22966cc9d3c420f52d8798da453 by Albert Astals Cid. Committed on 06/09/2011 at 20:01. Pushed by aacid into branch 'master'. Fix KDirWatchPrivate warnings Need to add everything we remove or otherwise it complains we are trying to remove something we did not add BUGS: 280123 FIXED-IN: 4.7.2 (cherry picked from commit af4316a9386d389d483c07e24b7944cacb634e33) M +10 -6 part.cpp http://commits.kde.org/okular/200215bf4144f22966cc9d3c420f52d8798da453