Bug report #19737

map_layers variable does not return layer names

Added by Harrissou Santanna over 4 years ago. Updated over 4 years ago.

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


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)


#1 Updated by Nyall Dawson over 4 years ago

Those are layer values though, not strings

#2 Updated by Harrissou Santanna over 4 years ago

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

#3 Updated by Nyall Dawson over 4 years ago

  • Status changed from Open to Closed

I think so.

#4 Updated by Giovanni Manghi over 4 years ago

  • Resolution set to invalid

Also available in: Atom PDF