Feature request #1703

No possibility to change color in unique value when assigning more then one class

Added by bjpfei - over 10 years ago. Updated about 10 years ago.

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

Description

1.) Load a layer

2.) Choose unique value in symbology

3.) press classify

4.) assign several classes

Problem:

- in a polygon layer you can't change the fill color for the assigned classes

- in a line layer you can't change outline style, outline color, fill style and fill color

- in a point layer you can't change outline color, outline width and fill color

Also it seems as it depends on the kind of symbol you have selected what happens

After you have pressed the reset colors button everything works fine

Associated revisions

Revision 414f7688
Added by Jürgen Fischer about 10 years ago

[FEATURE] make restriction to change only common properties of unique value classes optional (fixes #1703)

git-svn-id: http://svn.osgeo.org/qgis/trunk/[email protected] c8812cc2-4d05-0410-92ff-de0c093fc19c

Revision bf616cb0
Added by Jürgen Fischer about 10 years ago

[FEATURE] make restriction to change only common properties of unique value classes optional (fixes #1703)

git-svn-id: http://svn.osgeo.org/qgis/[email protected] c8812cc2-4d05-0410-92ff-de0c093fc19c

Revision 892ec981
Added by Jürgen Fischer about 10 years ago

fix #1703

git-svn-id: http://svn.osgeo.org/qgis/trunk/[email protected] c8812cc2-4d05-0410-92ff-de0c093fc19c

Revision 70bf84b1
Added by Jürgen Fischer about 10 years ago

fix #1703

git-svn-id: http://svn.osgeo.org/qgis/[email protected] c8812cc2-4d05-0410-92ff-de0c093fc19c

History

#1 Updated by Jürgen Fischer over 10 years ago

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

Replying to bjpfei:

- in a polygon layer you can't change the fill color for the assigned classes

- in a line layer you can't change outline style, outline color, fill style and fill color

- in a point layer you can't change outline color, outline width and fill color

This is intentional. If you select multiple classes you can change only the
options that have a common value in all those classes.

See also d31074c2 (SVN r8494)

#2 Updated by bjpfei - over 10 years ago

  • Resolution deleted (wontfix)
  • Status changed from Closed to Feedback

Replying to [comment:1 jef]:

Replying to bjpfei:

- in a polygon layer you can't change the fill color for the assigned classes

- in a line layer you can't change outline style, outline color, fill style and fill color

- in a point layer you can't change outline color, outline width and fill color

This is intentional. If you select multiple classes you can change only the
options that have a common value in all those classes.

See also d31074c2 (SVN r8494)

OK I understand.

But I think there could be good reasons to change multiple classes with non common values.
eg you have some classes with dash lines and some with solid lines.
Now i want them all to have dot lines. OK I can change class by class individually.
But I don't think that this is very user-friendly.
So maybe one can think about implementing this enhancement.

thx

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

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

in bf616cb0 (SVN r11230) the lock change only common attribute can temporarily be disabled through a checkbox on the unique value dialog.

#4 Updated by Giovanni Manghi about 10 years ago

Hi Jurgen,

I maybe noticed a bug in the symbology but I don't know if it was there before applying this patch or if it was there before.

Take a layer (testing a few from the qgis dataset) and classify it with unique values using a field (ex. "cat"). Then select a few classes (but also one is enough) and change a property, apply.

At this point change the classification field (ex. "name") and click "classify": the result is that the old classes do not disappear and instead the new classes are added to the old list.

#5 Updated by Giovanni Manghi about 10 years ago

it is not really necessary to change a style option, in fact it is just enough to have one class selected and then, if you change the classification field, the old classes will remain together with the new ones.

#6 Updated by Giovanni Manghi about 10 years ago

I noticed also that in the unique values symbology, the values of numeric fields are ordered like strings. Don't know if this is really a bug.

#7 Updated by gcarrillo - about 10 years ago

Lutra, the new bug (old classes don't disappear) is also in QGis 1.1.

#8 Updated by Jürgen Fischer about 10 years ago

fixed in 70bf84b1 (SVN r11244)

#9 Updated by Giovanni Manghi about 10 years ago

Replying to [comment:8 jef]:

fixed in 70bf84b1 (SVN r11244)

thanks, works fine

Also available in: Atom PDF