Opened 10 years ago

Closed 10 years ago

#998 closed defect (fixed)

v.colors color column selection bug - default GRASSRGB not show in dialog

Reported by: neteler Owned by: martinl
Priority: normal Milestone: 6.4.0
Component: wxGUI Version: svn-releasebranch64
Keywords: v.colors, columns Cc: grass-dev@…
CPU: Unspecified Platform: Unspecified

Description

When using v.colors via wxGUI, the default GRASSRGB is not show in the dialog but instead all existing table columns (see screenshot).

v.colors
...
#%Option
#% key: rgb_column
#% type: string
#% required: no
#% description: Name of color column to populate
#% gisprompt: old_dbcolumn,dbcolumn,dbcolumn
#% answer: GRASSRGB
#% guisection: Colors
#%End

In d.vect, the column selector in the "Colors" tab is deactivated (also confusing).

For all such color column selectors, the "GRASSRGB" should be predefined and be the first choice in the color column selector.

Attachments (1)

vcolors_bug.jpg (184.6 KB) - added by neteler 10 years ago.
Missing GRASSRGB column

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by neteler

Attachment: vcolors_bug.jpg added

Missing GRASSRGB column

comment:1 Changed 10 years ago by hamish

Keywords: v.colors columns added

comment:2 in reply to:  description Changed 10 years ago by martinl

Cc: grass-dev@… added
Owner: changed from grass-dev@… to martinl
Status: newassigned

Replying to neteler:

When using v.colors via wxGUI, the default GRASSRGB is not show in the dialog but instead all existing table columns (see screenshot).

In d.vect, the column selector in the "Colors" tab is deactivated (also confusing).

For all such color column selectors, the "GRASSRGB" should be predefined and be the first choice in the color column selector.

Please try r41425. Martin

comment:3 Changed 10 years ago by neteler

Resolution: fixed
Status: assignedclosed

Thanks for the fix.

Markus

Note: See TracTickets for help on using tickets.