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

[Layout] In multisize pages layout, exporting to PDF does not behave correctly when first page is excluded #26629

Closed
qgib opened this issue Apr 17, 2018 · 3 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks

Comments

@qgib
Copy link
Contributor

qgib commented Apr 17, 2018

Author Name: Harrissou Santanna (@DelazJ)
Original Redmine Issue: 18742
Affected QGIS version: 3.3(master)
Redmine category:map_composer/printing
Assignee: Nyall Dawson


Create a 2 pages layout (first page A4, the other A3)
Add items on them
Export the layout to PDF: you get a PDF with two different sizes of page. Great
In the first page properties, check "Exclude page from exports"
Now export to PDF: you get only the second page but it's cropped to an A4 extent.

Testing further, I inserted a page between the existing ones (still keeping the first page unexportable):

  1. Set the new page as A4 and made the export: I got the two pages with right sizes (first with A4, second with A3). good
  2. Resized that second page to A3 (hence A4-A3-A3) and again the export is wrong: the second page is an A4 (instead of being A3)
  3. Resized again the second page to A5 (hence A4-A5-A3) and again the export is wrong: the second page is an A4 (instead of being A5)
  4. Keeping the last sizes, exclude also the A5 : result is wrong (I get a third page that is A4 instead of A3)
  5. Keeping the last sizes, made the A4 exportable but exclude the A5: result is good (A4 and A3)
  6. Excluding page 2 and 3 (keeping only the first page exportable) : result is good

I don't know if i narrowed enough the issue but it looks like excluding the first page of the layout removes it from the export but still applies its size to the next page to export.

@qgib
Copy link
Contributor Author

qgib commented Oct 8, 2018

Author Name: Harrissou Santanna (@DelazJ)


Still present and I think the isssue is what I concluded previously:

it looks like excluding the first page of the layout removes it from the export but still applies its size to the next page to export.

Using a layout with all A3 pages but different orientations, I need a PDF per page instead of a PDF for the whole layout so had to manually iteratively exclude pages (#22070 would be a nice feature): the first and excluded page being portrait all the PDF display an A3 portrait paper (including for landscape layout pages).


  • version was changed from 3.1(master) to 3.3(master)

@qgib
Copy link
Contributor Author

qgib commented Oct 23, 2018

Author Name: Nyall Dawson (@nyalldawson)


  • assigned_to_id was configured as Nyall Dawson
  • status_id was changed from Open to In Progress

@qgib
Copy link
Contributor Author

qgib commented Oct 23, 2018

Author Name: Nyall Dawson (@nyalldawson)


Applied in changeset 5e6eef3.


  • done_ratio was changed from 0 to 100
  • status_id was changed from In Progress to Closed

@qgib qgib closed this as completed Oct 23, 2018
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks labels May 25, 2019
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! Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks
Projects
None yet
Development

No branches or pull requests

1 participant