Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#1467 closed bug (fixed)

In QML and QGS saved labels will not be reloaded to a layer

Reported by: hdus Owned by: nobody
Priority: critical: causes crash or data corruption Milestone:
Component: Symbology Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

  1. load a layer (POINT)
  2. create labels
  3. save QML symbolisation
  4. reload QML

--> no label appears

Change History (5)

comment:1 by jef, 15 years ago

not reproducable here. maybe fixed with r9747 and/or r9805?

in reply to:  1 comment:2 by hdus, 15 years ago

Priority: major: does not work as expectedcritical: causes crash or data corruption
Summary: In QML saved labels will not be reloaded to a layerIn QML and QGS saved labels will not be reloaded to a layer

Replying to jef:

not reproducable here. maybe fixed with r9747 and/or r9805?

No this issue is not fixed with r9747 and/or r9805. This issue appers also when I save a project with labels. After reloading the project all labels are gone.

comment:3 by hdus, 15 years ago

I made some tests and it looks that the problem appears only with PostGIS layer. When I save and reload a project with labeled shape-files everything works fine.

comment:4 by mhugent, 15 years ago

Resolution: fixed
Status: newclosed

I think this is fixed in r9929. The problem was that the label class assumed the attribute indices from 0 to number of attributes. But for postgis layers this is not true because the geometry attribute can be in between. Please test if it works now and reopen the ticket if not.

Marco

comment:5 by (none), 15 years ago

Milestone: Version 1.0.1

Milestone Version 1.0.1 deleted

Note: See TracTickets for help on using tickets.