Notifying users of nonfatal errors, general interface?
Hi,
All, I posted about this back on 2015-03-26 with the title
Example of Inkscape handling corrupt input file
but there were apparently no responses. So once again, is there an interface in Inkscape where code can push a message for a nonfatal event such that:
1. In GUI usage - a pop up appears with the message. 2. Command line/filter usage - message is sent to stderr
Usage example: SVG -> EMF export cannot handle opacity because the output format does not support it. The code currently just drops the opacity property which of course results in output visually different from the original (although all the same elements are there). End users keep tripping over this, example:
https://bugs.launchpad.net/inkscape/+bug/1513262
So I would like a warning message to appear. Ideally this would show up in the code as something really simple like this:
if(errors_found){ inkscape_display_message(my_message): }
and then this function/method would go on and never has to do anything else related to that message. If there is already a function/method corresponding to "inkscape_display_message", what is it called?
Thanks,
David Mathog mathog@...1176... Manager, Sequence Analysis Facility, Biology Division, Caltech
participants (1)
-
mathog