Add debug messages for Layout creation errors

Issue #530 resolved
Susan Spencer created an issue

When creating a Layout, users sometimes get the critical error message popup:

"Couldn't prepare data for creation layout"

The debug log in Qt doesn't generate any messages to assist with this error. Please implement debug messages for this error, indicating which aspect or which step of building the Layout failed.

Comments (11)

  1. Susan Spencer reporter

    And in other logs to enable troubleshooting of these issues. Since this single generic error message appears for all layout errors, it isn't as helpful as it could be.

    Reason I opened this issue: I get this layout error message frequently but I find it difficult to replicate. It may require creating a layout, then saving the pattern, then trying to create a new layout. I was looking for logging messages because the popup message doesn't indicate the point of failure.

    I'll keep trying to replicate the layout error so I can open another issue.

  2. Roman Telezhynskyi repo owner

    I am asking because log is the last place where common user will seek answer. Maybe better make message in popup window more verbose?

  3. Susan Spencer reporter

    This is for me and others who help to debug and test. It's also the right thing to do. Standard practice is to log error messages with additional details. More info in the user error message is good, but it is not a substitute for logging error messages.

  4. Log in to comment