Skip to content

Comments

Fix PDF theme export#63580

Open
troopa81 wants to merge 2 commits intoqgis:masterfrom
troopa81:fix_pdf_export_themes
Open

Fix PDF theme export#63580
troopa81 wants to merge 2 commits intoqgis:masterfrom
troopa81:fix_pdf_export_themes

Conversation

@troopa81
Copy link
Contributor

@troopa81 troopa81 commented Oct 16, 2025

Include group name in layerId key when mapping from layerId to tree node.

If not, same layer would be mapped to only one and only group if this layer is included in different groups (with themes for instance).

Fixes #62014

@troopa81 troopa81 added Bug Either a bug report, or a bug fix. Let's hope for the latter! backport queued_ltr_backports Queued Backports backport release-3_44 labels Oct 16, 2025
@github-actions github-actions bot added this to the 4.0.0 milestone Oct 16, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Oct 16, 2025

🪟 Windows Qt6 builds

Download Windows Qt6 builds of this PR for testing.
(Built from commit 7ba875e)

🍎 MacOS Qt6 builds

Download MacOS Qt6 builds of this PR for testing.
This app is not notarized, run sudo xattr -d com.apple.quarantine /Applications/QGIS*.app to avoid the warning
(Built from commit 7ba875e)

@agiudiceandrea
Copy link
Member

agiudiceandrea commented Oct 16, 2025

Does this fix #62014? Does this also fix #63475?

@troopa81
Copy link
Contributor Author

Does this fix #62014?

Yes, It's referenced in the commit. I've added it to the PR.

Does this also fix #63475?

I don't think so, but I'm not sure. It's worth testing

@agiudiceandrea
Copy link
Member

Does this also fix #63475?

I don't think so, but I'm not sure. It's worth testing

Unfortunately, it doesn't fix #63475.

@nicogodet
Copy link
Member

nicogodet commented Oct 21, 2025

@troopa81 We tested the Qt6 build and we found something stranged. The bug is not fixed using real data. Unfortunately, I can't share the data.
Can you provide an email to share a DL link if you are willing to investigate further more ?

@troopa81
Copy link
Contributor Author

troopa81 commented Oct 28, 2025

Can you provide an email to share a DL link if you are willing to investigate further more ?

sure! julien dot cabieces at oslandia dot com

@troopa81
Copy link
Contributor Author

troopa81 commented Nov 4, 2025

After looking into @nicogodet data, there is (are?) other issues, but I propose to move forward with this PR which actually fix the referenced issue.

@github-actions
Copy link
Contributor

The QGIS project highly values your contribution and would love to see this work merged! Unfortunately this PR has not had any activity in the last 14 days and is being automatically marked as "stale". If you think this pull request should be merged, please check

  • that all unit tests are passing

  • that all comments by reviewers have been addressed

  • that there is enough information for reviewers, in particular

    • link to any issues which this pull request fixes

    • add a description of workflows which this pull request fixes

    • add screenshots if applicable

  • that you have written unit tests where possible
    In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this pull request.
    If there is no further activity on this pull request, it will be closed in a week.

@github-actions github-actions bot added the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Nov 19, 2025
@github-actions
Copy link
Contributor

While we hate to see this happen, this PR has been automatically closed because it has not had any activity in the last 21 days. If this pull request should be reconsidered, please follow the guidelines in the previous comment and reopen this pull request. Or, if you have any further questions, just ask! We love to help, and if there's anything the QGIS project can do to help push this PR forward please let us know how we can assist.

@github-actions github-actions bot closed this Nov 26, 2025
@nicogodet nicogodet reopened this Nov 26, 2025
@github-actions github-actions bot removed the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Nov 26, 2025
@github-actions
Copy link
Contributor

The QGIS project highly values your contribution and would love to see this work merged! Unfortunately this PR has not had any activity in the last 14 days and is being automatically marked as "stale". If you think this pull request should be merged, please check

  • that all unit tests are passing

  • that all comments by reviewers have been addressed

  • that there is enough information for reviewers, in particular

    • link to any issues which this pull request fixes

    • add a description of workflows which this pull request fixes

    • add screenshots if applicable

  • that you have written unit tests where possible
    In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this pull request.
    If there is no further activity on this pull request, it will be closed in a week.

@github-actions github-actions bot added the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Dec 11, 2025
@troopa81 troopa81 removed the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Dec 17, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Jan 1, 2026

The QGIS project highly values your contribution and would love to see this work merged! Unfortunately this PR has not had any activity in the last 14 days and is being automatically marked as "stale". If you think this pull request should be merged, please check

  • that all unit tests are passing

  • that all comments by reviewers have been addressed

  • that there is enough information for reviewers, in particular

    • link to any issues which this pull request fixes

    • add a description of workflows which this pull request fixes

    • add screenshots if applicable

  • that you have written unit tests where possible
    In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this pull request.
    If there is no further activity on this pull request, it will be closed in a week.

@github-actions github-actions bot added the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Jan 1, 2026
@troopa81 troopa81 removed the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Jan 5, 2026
@github-actions
Copy link
Contributor

The QGIS project highly values your contribution and would love to see this work merged! Unfortunately this PR has not had any activity in the last 14 days and is being automatically marked as "stale". If you think this pull request should be merged, please check

  • that all unit tests are passing

  • that all comments by reviewers have been addressed

  • that there is enough information for reviewers, in particular

    • link to any issues which this pull request fixes

    • add a description of workflows which this pull request fixes

    • add screenshots if applicable

  • that you have written unit tests where possible
    In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this pull request.
    If there is no further activity on this pull request, it will be closed in a week.

@github-actions github-actions bot added the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Jan 20, 2026
@troopa81 troopa81 removed the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Jan 22, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2026

The QGIS project highly values your contribution and would love to see this work merged! Unfortunately this PR has not had any activity in the last 14 days and is being automatically marked as "stale". If you think this pull request should be merged, please check

  • that all unit tests are passing

  • that all comments by reviewers have been addressed

  • that there is enough information for reviewers, in particular

    • link to any issues which this pull request fixes

    • add a description of workflows which this pull request fixes

    • add screenshots if applicable

  • that you have written unit tests where possible
    In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this pull request.
    If there is no further activity on this pull request, it will be closed in a week.

@github-actions github-actions bot added the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Feb 6, 2026
@github-actions
Copy link
Contributor

While we hate to see this happen, this PR has been automatically closed because it has not had any activity in the last 21 days. If this pull request should be reconsidered, please follow the guidelines in the previous comment and reopen this pull request. Or, if you have any further questions, just ask! We love to help, and if there's anything the QGIS project can do to help push this PR forward please let us know how we can assist.

@github-actions github-actions bot closed this Feb 13, 2026
@troopa81 troopa81 removed the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Feb 13, 2026
@troopa81 troopa81 reopened this Feb 13, 2026
@troopa81 troopa81 force-pushed the fix_pdf_export_themes branch 2 times, most recently from 587d946 to 298ae7e Compare February 18, 2026 10:07
@troopa81
Copy link
Contributor Author

@nyalldawson @agiudiceandrea Do you mind reviewing this long standing PR? I would like to continue fixing error in this area of the code.

@troopa81 troopa81 force-pushed the fix_pdf_export_themes branch from 298ae7e to 295dbd4 Compare February 18, 2026 10:14
Include group name in layerId key when mapping from layerId to tree
node. If not, same layer would be mapped to only one and only group if
this layer is included in different groups (with themes for instance).

Fix qgis#62014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport queued_ltr_backports Queued Backports backport release-3_44 Bug Either a bug report, or a bug fix. Let's hope for the latter!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Broken themes in geospatial PDF

3 participants