Bug report #19737

map_layers variable does not return layer names

Added by Harrissou Santanna about 6 years ago. Updated about 6 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Expressions
Affected QGIS version:3.3(master) Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:invalid
Crashes QGIS or corrupts data:No Copied to github as #:27562

Description

Select a map item in the layout
Scroll to the variables frame in the item properties and check the map_layers variable; it shows `[<map_layer>, <map_layer>,&...]`. I'd have expected to see layer names instead. Checking this variable in the expression dialog of a property of the map item also displays the same output (at the bottom of the dialog)

History

#1 Updated by Nyall Dawson about 6 years ago

Those are layer values though, not strings

#2 Updated by Harrissou Santanna about 6 years ago

Ah, right. Not sure what would then be the "fix". Should we close this?

#3 Updated by Nyall Dawson about 6 years ago

  • Status changed from Open to Closed

I think so.

#4 Updated by Giovanni Manghi about 6 years ago

  • Resolution set to invalid

Also available in: Atom PDF