Bug report #5174

'Label field' based on joined table lost when reopening project (old labelling)

Added by Ivan Mincik over 7 years ago. Updated about 6 years ago.

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

Description

'Field containing label' setting is lost each time when reopening project in case if label field is set from joined table.

How to reproduce:
1. Open vector layer
2. Open table
3. Join table to vector layer
4. Turn on labeling for vector layer and choose field from joined table as 'Field containing label'
5. Save project and close.
6. Open project and see that setting 'Properties > Labels > Field containing label' is lost.

History

#1 Updated by Ivan Mincik over 7 years ago

Tested on latest 'release-1_7' branch.

#2 Updated by Marco Hugentobler over 7 years ago

Seems to me this is only with old labelling, not with the new one. Do you confirm?

#3 Updated by Gerhard Spieles over 7 years ago

Yes, I can confirm this. It is only using the old labeling in layers properties.

A similar problem occurs in this case:
If the layer is structured in layer properties, "style", "rule based" or "categorized", no label of the joined table is displayed in the map.

#4 Updated by Alessandro Ciali over 7 years ago

I experienced a similar behaviour.
I have a DXF added as layer, I joined a table, I used a joined field as label size (properties - label - advanced) and it works fine; on saving exiting and repoening the project, the join was saved but label settings for size field is lost. W7 with QGIS Master 3a2c0e9.

#5 Updated by Giovanni Manghi over 7 years ago

  • Target version changed from 35 to Version 1.8.0

#6 Updated by Paolo Cavallini about 7 years ago

  • Target version changed from Version 1.8.0 to Version 2.0.0

#7 Updated by Alister Hood over 6 years ago

  • Subject changed from 'Label field' based on joined table lost when reopening project to 'Label field' based on joined table lost when reopening project (old labelling)

#8 Updated by Giovanni Manghi over 6 years ago

  • Status changed from Open to Feedback

if this is about old labelling then should be closed.

#9 Updated by Giovanni Manghi about 6 years ago

  • Resolution set to wontfix
  • Status changed from Feedback to Closed

old labeling is gone for good.

Also available in: Atom PDF