Opened 14 years ago

Closed 14 years ago

#2082 closed bug (wontfix)

Map Composer: Legend not loading from template

Reported by: mesajs Owned by: mhugent
Priority: major: does not work as expected Milestone: Version 1.4.0
Component: Printing Version:
Keywords: Map Composer, Template Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

Vector legend not correctly restored when loading from template.

To reproduce:

  1. Create map with usual elements (map, scalebar, vector legend).
  2. Heavily customise the legend (rename, reorder and delete items)
  3. Save as template.
  4. Load saved template.

Result: The legend that appears is not the customised legend. It is a new, uncustomesed legend (same as "Add new vect legend") except that the customised font is retained.

Change History (3)

comment:1 by mesajs, 14 years ago

Platform Version: Vista 64
Version: HEAD1.3.0

comment:2 by lutra, 14 years ago

Milestone: Version 1.4.0
Owner: changed from nobody to mhugent
Platform: WindowsAll
Platform Version: Vista 64
Version: 1.3.0

Confirmed in trunk on both linux and windows.

comment:3 by mhugent, 14 years ago

Resolution: wontfix
Status: newclosed

The legend template is only for the project / layer independent settings. Legend modifications are related to one particular layer whereas templates are generic and can be applied to different projects (e.g. the position of map widget, scale bar position / styles or the position of the legend, pictures).

If you want to save/restore legend modifications, saving the whole project might be an option.

Note: See TracTickets for help on using tickets.