Comment 9 for bug 911123

Revision history for this message
John Smith (john-smithi) wrote :

There are 2 dialogs in the code with almost identical functionality:
1. Debug dialog - this is an older style dialog, that isnt connected to any menu/shortcut - so cant be shown right now
2. Message dialog - newer style dialog that can be shown from View > Messages

The only difference between the Dialogs "Capture" menu and the "Capture" preference is that the preference is set on startup, so captures almost all the errors, the dialog only starts capturing after the dialog is opened.

If the "capture" preference is set then Inkscape creates (but does not show) a Debug dialog on startup and sends output there. But when the user opens the View > Messages a Message dialog is created and shown. Message dialog does not capture the output from startup - hence the preference is not really working.

This probably worked in the past when View > Messages opened a Debug dialog, and the Debug dialog was simply shown (not created) on View > Messages.

Now days there is a dialog manager that controls creating/showing dialogs opened via the menu, but Inkscape is still independently creating a Debug dialog on startup (which the dialog manager doesn't know about).

So the solution to the preference problem is to have Inkscape ask the Dialog manager to create a Message dialog on startup.