#247: Defined Custom Colors not retained
------------------------------+---------------------------------------------
Reporter: Melvin Davidson | Owner: dpage
Type: feature | Status: new
Priority: minor | Milestone:
Component: pgadmin | Version: 1.12
Keywords: ctlColourPicker | Platform: all
------------------------------+---------------------------------------------
Old description:
> Using PgAdmin III v 1.12.0 (Win32)
>
> When defining a Custom Color for a server connection, the definirtion
> is not retained.
>
> Steps to reproduce.
>
> 1. Right click on a connection, Properties...
> 2. Click on Colour
> 3. Click Define Custom Colors >> <--Also note inconsistency between
> Colours and Color
> 4. Set Red=255
> Green=170
> Blue=85
> 5. Click on "Add To Custom Colors" button
> 6. Click OK
> 7. Click OK
> 8. Click OK to messages about server settings
> 9. Close & then re-open PgAdmin
> 10, Repeat steps 1, 2 & 3.
> 11. Note the previous defined custom color has not been saved.
New description:
Using PgAdmin III v 1.12.0 (Win32)
When defining a Custom Color for a server connection, the definirtion
is not retained.
Steps to reproduce.
1. Right click on a connection, Properties...
2. Click on Colour
3. Click Define Custom Colors >> <--Also note inconsistency between
Colours and Color
4. Set Red=255
Green=170
Blue=85
5. Click on "Add To Custom Colors" button
6. Click OK
7. Click OK
8. Click OK to messages about server settings
9. Close & then re-open PgAdmin
10, Repeat steps 1, 2 & 3.
11. Note the previous defined custom color has not been saved.
--
Comment(by gleu):
See the documentation on wxColourData (and more precisely
GetCustomColour() and SetCustomColour() methods).
--
Ticket URL: <http://code.pgadmin.org/trac/ticket/247#comment:1>
pgAdmin III <http://code.pgadmin.org/trac/>
pgAdmin III