[Poppler-bugs] [Bug 70374] New: No user-control over error messages

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Oct 11 05:15:31 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=70374

          Priority: medium
            Bug ID: 70374
          Assignee: poppler-bugs at lists.freedesktop.org
           Summary: No user-control over error messages
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Reporter: hpdeifel at gmx.de
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: cpp frontend
           Product: poppler

poppler-cpp unconditionally prints all error messages from poppler to stderr. A
user has no way to prevent this or install her own error handler.

Control over the error output would be very desirable for command line
programs.

Since errors are also printed when an encrypted PDF document is opened without
a password, there is no way to check if a PDF requires a password without
generating an ugly error message.

Qt and GLib frontends both expose an equivalent of setErrorCallback.

I'd gladly volunteer to implement this myself, if I get some pointers about how
the API should look.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20131011/29b1c601/attachment.html>


More information about the Poppler-bugs mailing list