Feature request #2784

symbol with unique value: label lost on multiple selection&edition

Added by fhof - over 11 years ago. Updated about 11 years ago.

Status:Closed
Priority:Low
Assignee:nobody -
Category:GUI
Pull Request or Patch supplied: Resolution:fixed
Easy fix?:No Copied to github as #:12844

Description

I've found a bug in QGIS 1.4 on WinXP in french (so sorry for missnamed labels).
Here is how to reproduce:

- Load a vector layer, for example containing surfaces

- Call the layer properties, tab "sign convention" (first one)

- Choose "unique value" as the legend type, choose a classification field and click button Classify.

- There are a list of values (if not, create some), with associated properties

- Filled the "label" for all values (the value is a code, so I set the label to a human-friendly text).

- Make sure the checkbox "restraint the changes to common properties" is checked

- Select multiple values and set the border style to none

- All labels have now the same text! Though the "label" field is disable on multiple selection.

What I was expecting is that the text in the "label" are not overwritten with the multiple edition of the border (the border is the same for all values)

bug2784fix.diff Magnifier - Could someone test or compile this fix for me ? Thanks (698 Bytes) fhof -, 2010-06-18 07:30 AM

bug2784fix2.diff Magnifier - New corrected fix; not tested, sorry, my dev env is still not working. Florian Hof (699 Bytes) fhof -, 2010-06-21 06:39 AM

History

#1 Updated by Jean-Roc Morreale over 11 years ago

It can be reproduced on qgis 1.5 using the old symboloy : selecting all the classes and changing the color or border at once will set all the labels to default.

The issue can't be reproduced on the new symbology as it is not possible to select more than one classe at the same time.

#2 Updated by Jean-Roc Morreale over 11 years ago

I applied it against rv1748 but the build fails :

~/rpm/BUILD/qgis/src/app/qgsuniquevaluedialog.cpp:435: erreur: request for member ‘label’ in ‘symbol’, which is of non-class type ‘QgsSymbol*’

#3 Updated by Jürgen Fischer about 11 years ago

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

applied in 4eae64a8 (SVN r13858). Thanks.

Also available in: Atom PDF