Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#1703 closed enhancement (fixed)

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

Reported by: bjpfei Owned by: nobody
Priority: minor: annoyance Milestone: Version 1.2.0
Component: Symbology Version: Trunk
Keywords: Cc:
Must Fix for Release: Yes Platform: RedHat
Platform Version: Awaiting user input: no

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

Change History (9)

in reply to:  description ; comment:1 by jef, 15 years ago

Resolution: wontfix
Status: newclosed

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 r8493

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

Priority: major: does not work as expectedminor: annoyance or enhancement
Resolution: wontfix
Status: closedreopened
Type: bugenhancement

Replying to 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 r8493

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

comment:3 by jef, 15 years ago

Resolution: fixed
Status: reopenedclosed

in r11229 the lock change only common attribute can temporarily be disabled through a checkbox on the unique value dialog.

comment:4 by lutra, 15 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.

comment:5 by lutra, 15 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.

comment:6 by lutra, 15 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.

comment:7 by gcarrillo, 15 years ago

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

comment:8 by jef, 15 years ago

fixed in r11243

in reply to:  8 comment:9 by lutra, 15 years ago

Replying to jef:

fixed in r11243

thanks, works fine

Note: See TracTickets for help on using tickets.