Bug report #5480

Map Composer doesn't refresh the legend

Added by aperi2007 - about 12 years ago. Updated almost 11 years ago.

Status:Closed
Priority:Normal
Assignee:Marco Hugentobler
Category:-
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed
Crashes QGIS or corrupts data:No Copied to github as #:15102

Description

Hi, using qgis-dev on windows 7.
I create a composer. Add a map object, after this add a legend object.
The legend object is equal to the legend on canvas.
After this I change the name on legend canvas using the "rename".
And I notice the composer is non refreshed I try to click on refresh (update) button on legend tab of composer, but the name of layer is not refreshed.
So I need to remove the legend object from the composer and add a new legend-object to have the right values.

History

#1 Updated by Paolo Cavallini about 12 years ago

  • Subject changed from Map Componser dont refresh the legend to Map Composer doesn't refresh the legend

#2 Updated by aperi2007 - about 12 years ago

  • Assignee set to Marco Hugentobler

#3 Updated by Giovanni Manghi about 12 years ago

if this is a regression (since 1.7.4) we should tag this as "blocker".

#4 Updated by Nathan Woodrow almost 12 years ago

Did it ever update like that. I don't think it did. The auto update switch only means layers will be added and removed automatically but changes in styles, or names of layers, are not changed.

Clicking the node that needs updating and clicking the update button works for me.

Perhaps auto update should update if anything about the layer changes, name, style, etc.

#5 Updated by Paolo Cavallini over 11 years ago

  • Target version set to Version 2.0.0

#6 Updated by Giovanni Manghi over 11 years ago

  • Category changed from Map Legend to 33

#7 Updated by Giovanni Manghi almost 11 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

"update item" and "update all" in print composer legend work as expected in master.

Also available in: Atom PDF