Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export report to PDF crashes QGIS if no layout is in edit mode #39086

Closed
borysiasty opened this issue Sep 29, 2020 · 0 comments · Fixed by #39135
Closed

Export report to PDF crashes QGIS if no layout is in edit mode #39086

borysiasty opened this issue Sep 29, 2020 · 0 comments · Fixed by #39135
Assignees
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks

Comments

@borysiasty
Copy link
Member

crashing_report_export

Otherwise you'll get crash as soon as the PDF is (successfully!) saved. Maybe it has something to do with empty canvas vs the green confirmation QgsMessageBar that should pop up now?

Steps to reproduce:

  • Create any report (just the header with no items and no sections is enough)
  • Don't enter any layout's edit mode or close existing one (to do so, you can reopen the Layout manager or remove the section currently in edit mode)
  • Click Export Report as PDF
  • The PDF is correctly saved but then QGIS crashes immediately.
@borysiasty borysiasty added Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks labels Sep 29, 2020
@elpaso elpaso self-assigned this Oct 2, 2020
elpaso added a commit to elpaso/QGIS that referenced this issue Oct 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants