Bug report #19552

QGIS 3.2.1 - Print Layout with Atlas - first tile exported is overwritten with next tile

Added by David Williams almost 2 years ago. Updated almost 2 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Map Composer/Printing
Affected QGIS version:3.2.1 Regression?:No
Operating System:Windows 10 Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:27379

Description

We are using a Print Layout that has been working fine in QGIS 2.18.21, Saved as a Template and then that template has been imported into QGIS 3.2.1.
I am filtering the Atlas tiles to just 2 tiles using "ID" IN (248, 249).
The output filename extension is 'dz '||attribute($atlasfeature, 'ID').
When I Export Atlas as Images (jpg format), it exports Tile 248 to 'dz 248.jpg' but it is almost immediately overwritten by Tile 249 but keeps the name 'dz 248.jpg'
The result is just 1 tile called 'dz 248.jpg' but it contains Tile 249 data.

Associated revisions

Revision 69201021
Added by Nyall Dawson almost 2 years ago

[layouts] Fix incorrect filename for atlas features when using
@atlas_feature

Fixes #19552

Revision c058a68d
Added by Nyall Dawson almost 2 years ago

[layouts] Fix incorrect filename for atlas features when using
@atlas_feature

Fixes #19552

(cherry-picked from 6920102)

History

#1 Updated by Nyall Dawson almost 2 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

#2 Updated by Giovanni Manghi almost 2 years ago

  • Resolution set to fixed/implemented

#3 Updated by David Williams almost 2 years ago

Nyall Dawson wrote:

Applied in changeset qgis|69201021d500bc3abdf06d0108af9e4322d794c5.

Hi Nyall, how do I implement this to test it on my system?

#4 Updated by Giovanni Manghi almost 2 years ago

David Williams wrote:

Nyall Dawson wrote:

Applied in changeset qgis|69201021d500bc3abdf06d0108af9e4322d794c5.

Hi Nyall, how do I implement this to test it on my system?

if you can't build then wait for 3.4 (or 3.2.2 if the fix has been backported).

#5 Updated by Giovanni Manghi almost 2 years ago

Giovanni Manghi wrote:

David Williams wrote:

Nyall Dawson wrote:

Applied in changeset qgis|69201021d500bc3abdf06d0108af9e4322d794c5.

Hi Nyall, how do I implement this to test it on my system?

if you can't build then wait for 3.4 (or 3.2.2 if the fix has been backported).

or install qgis master.

#6 Updated by David Williams almost 2 years ago

Giovanni Manghi wrote:

Giovanni Manghi wrote:

David Williams wrote:

Nyall Dawson wrote:

Applied in changeset qgis|69201021d500bc3abdf06d0108af9e4322d794c5.

Hi Nyall, how do I implement this to test it on my system?

if you can't build then wait for 3.4 (or 3.2.2 if the fix has been backported).

or install qgis master.

Thanks Giovanni, it worked fine on QGIS Master. Thank you for the fast response and fix.

Also available in: Atom PDF