Ticket #42 (new enhancement)
Error reporting for plugin rendering API
| Reported by: | hn_netlabs_trac@… | Owned by: | eros2 |
|---|---|---|---|
| Priority: | major | Milestone: | 1.3 |
| Component: | Lucide Core | Version: | 1.0 Beta 1.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked By: |
Description
When rendering a document page certain errors could arise in the plugin (e.g. out-of-memory, file no longer accessible, ...).
It is so far not possible for a plugin to report these errors to the Lucide core. Thus the user has no idea what went wrong. He/she probably just sees an empty page (or crap).
Proposal: Apply the same error reporting scheme used for loadFile() to renderToPixbuf() and renderToPS(). (boolean returned, error message via SOMMalloc)
Change History
Note: See
TracTickets for help on using
tickets.
