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

Exporting print layout does not preserve layer blending mode. #58810

Closed
2 tasks done
jeremyferris opened this issue Sep 20, 2024 · 3 comments
Closed
2 tasks done

Exporting print layout does not preserve layer blending mode. #58810

jeremyferris opened this issue Sep 20, 2024 · 3 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Feedback Waiting on the submitter for answers Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks

Comments

@jeremyferris
Copy link

What is the bug or the crash?

In my map and print layout, I have a base DEM set to hillshade and a clipped DEM with pseudocolor and blending mode set to 'multiply' which results in this:
Canyon-Park-Elevation-Screenshot

When I export this, however, the pseudocolor layer does not let the hillshade show through:
Elevation-Map_0001

Steps to reproduce the issue

This behavior has been observed in the past, so I am not sure that it is restricted to rasters, however, to reproduce:

  1. Import a DEM or other raster into a project.
  2. Either clip that raster or create another layer with the same raster.
  3. Set the bottom raster to hillshade
  4. set the top layer to pseudocolor and select 'multiply' or 'burn' for the layer blending mode.
  5. Create a print layout of the map.
  6. Export the map to an image, pdf, etc.
  7. Notice that the print does not match the map styling

Versions

QGIS version
3.38.2-Grenoble
QGIS code revision
130c432
Qt version
5.15.13
Python version
3.12.5
GDAL/OGR version
3.9.2
PROJ version
9.4.0
EPSG Registry database version
v11.004 (2024-02-24)
GEOS version
3.12.2-CAPI-1.18.2
SQLite version
3.45.1
PDAL version
2.6.3
PostgreSQL client version
16.2
SpatiaLite version
5.1.0
QWT version
6.2.0
QScintilla2 version
2.14.1
OS version
Windows 10 Version 2009

Active Python plugins
changeDataSource
3.1
document_management_system
0.3.3
processing_saga_nextgen
1.0.0
db_manager
0.1.20
grassprovider
2.12.99
processing
2.12.99

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

@jeremyferris jeremyferris added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Sep 20, 2024
@mblesius
Copy link

Are you using label masking for the contour lines? If so, this might be a duplicate of #49488, a known issue with label masking and blend modes.

@agiudiceandrea agiudiceandrea added Feedback Waiting on the submitter for answers Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks labels Sep 20, 2024
@jeremyferris
Copy link
Author

I am. You are correct, this seems to be the same issue, thanks for the link. I disabled the mask and the print worked fine.

Workaround is to use Buffers it is for this type of topo map for now instead of masks.

@DelazJ
Copy link
Contributor

DelazJ commented Sep 21, 2024

Duplicate of #49488

@DelazJ DelazJ marked this as a duplicate of #49488 Sep 21, 2024
@DelazJ DelazJ closed this as not planned Won't fix, can't repro, duplicate, stale Sep 21, 2024
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! Feedback Waiting on the submitter for answers Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks
Projects
None yet
Development

No branches or pull requests

4 participants