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

Dynamic grid labels in layout doesn't update automatically #26101

Open
qgib opened this issue Feb 25, 2018 · 7 comments
Open

Dynamic grid labels in layout doesn't update automatically #26101

qgib opened this issue Feb 25, 2018 · 7 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 Regression Something which used to work, but doesn't anymore

Comments

@qgib
Copy link
Contributor

qgib commented Feb 25, 2018

Author Name: Klas Karlsson (@klakar)
Original Redmine Issue: 18210
Affected QGIS version: 3.4.3
Redmine category:map_composer/printing


I've got a custom format grid label, offset 500 m to my 1000 m UTM grid, that in 2.18 dynamically updated a index-grid for my map when I panned the map contents (image).

In QGIS 3 I need to manually open and confirm the settings for the custom format coordinates to update to a new extent after panning the map.
The labels used to update when ever the map extent was changed...

I also use the same x_min/y_min expression to print corner labels and that updates dynamically as it should.

Code for custom label (map item id is "main"):

@
CASE
WHEN @grid_axis = 'y'
THEN substr('ABCDEFGHIJKLMNOPQRST',
(@grid_number-to_int(y_min(map_get(item_variables('main'),'map_extent'))/1000)*1000+500)/1000 , 1)
WHEN @grid_axis = 'x'
THEN (@grid_number-to_int(x_min(map_get(item_variables('main'),'map_extent'))/1000)*1000+500)/1000
END
@


@qgib
Copy link
Contributor Author

qgib commented Feb 25, 2018

Author Name: Giovanni Manghi (@gioman)


  • priority_id was changed from Normal to High

@qgib
Copy link
Contributor Author

qgib commented Dec 28, 2018

Author Name: Paolo Cavallini (@pcav)


Could you please check again on current release?
Thanks.

@qgib
Copy link
Contributor Author

qgib commented Dec 28, 2018

Author Name: Klas Karlsson (@klakar)


Tried on QGIS 3.4.3...

Still a problem! Panning the map doesn't update the custom grid...

index.png


  • 14032 was configured as index.png

@qgib
Copy link
Contributor Author

qgib commented Dec 28, 2018

Author Name: Giovanni Manghi (@gioman)


  • version was changed from 3.0.0 to 3.4.3

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks Regression Something which used to work, but doesn't anymore labels May 25, 2019
@Pedro-Murteira
Copy link

@klakar Hello, is this still valid on recent releases?

@Pedro-Murteira Pedro-Murteira added the Feedback Waiting on the submitter for answers label Apr 11, 2022
@klakar
Copy link

klakar commented Apr 11, 2022

Yes! Same problem in 3.24.1

@Pedro-Murteira Pedro-Murteira removed the Feedback Waiting on the submitter for answers label Apr 11, 2022
@TeoGoddet
Copy link

I got this bug in 3.26 also

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 Regression Something which used to work, but doesn't anymore
Projects
None yet
Development

No branches or pull requests

5 participants