Opened 13 years ago
Closed 13 years ago
#3202 closed bug (fixed)
Interchanges of colors in Random ramp
Reported by: | dr | Owned by: | wonder |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | Version 1.7.0 |
Component: | Symbology | Version: | Trunk |
Keywords: | Cc: | dr, gislab, alexbruy | |
Must Fix for Release: | No | Platform: | All |
Platform Version: | Awaiting user input: | no |
Description
- Settings - Style manager - Color ramp;
- Add couple of new Random ramps;
- Set one of the ramp which was created on previous step and press minus button (delete);
- Without selecting another ramps try press minus button again - colors in the second random ramps interchanges.
Change History (4)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Ok, but why this happens with press _Remove item_ button? I guess that this button need be blocked if no one ramps selected.
comment:3 by , 13 years ago
Because the list is loaded again when you add/edit/remove anything. I agree that it should reload only when the style gets modified - done in r14604.
comment:4 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Well, the random color ramp is indeed random - it doesn't store the generated values, so every time it is created it is filled with new random values from the specified range. That's why it may seem that the colors are interchanged.