Bug report #19917

[symbology] Missing color ramp types in symbol selector dialog

Added by Harrissou Santanna about 6 years ago. Updated about 6 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:Symbology
Affected QGIS version:3.3(master) Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:27741

Description

Vector layer styling panel --> symbology --> categorized
Press the color ramp drop-down menu
In the All color Ramps submenu, you have ALL the color ramps created in the style manager, regardless their type
If you press the Create new color ramp button, you are prompted to select among 5 color ramp types

Now apply a gradient fill style to a symbol
Press the color ramp drop-down menu
In the All color Ramps submenu, you have only the color ramps of the gradient or catalog:cpt-city types are displayed
If you press the Create new color ramp button, you are prompted to select among these 2 color ramp types
The sameapplies to the Favorites color ramps shown in the widget, only gradient or cpt-cityones would be listed in the symbol selector dialog
Looks like the other types are not exposed to user and people cannot customize their symbols with them.

I do not have 2.18 to check whether it's a regression.

missing_colorramps.png - missing color ramps (see bottom) (48.5 KB) Harrissou Santanna, 2018-09-22 06:39 AM

full_colorramps.png - all the color types used are present (49.6 KB) Harrissou Santanna, 2018-09-22 06:39 AM

History

#1 Updated by Nyall Dawson about 6 years ago

Only gradient style ramps can be used here. The discrete colour ramps are not available for gradient fills

#2 Updated by Harrissou Santanna about 6 years ago

I might not fully understand but how is that different from using catalog:cpt-city ramps (some look rather discrete)?

#3 Updated by Nyall Dawson about 6 years ago

That's true, but there ARE gradient ramps in cpt, and there's no easy way to filter just these out.

#4 Updated by Harrissou Santanna about 6 years ago

That's true, but there ARE gradient ramps in cpt

That's the conclusion I came to when I saw https://github.com/qgis/QGIS/pull/3832. I can't read the code but I'd think that the filter was somehow done (maybe, due to the "gradient-only" mention)

Also available in: Atom PDF