[GRASS-dev] [GRASS GIS] #1969: wxPy loc'n wiz: hardcoded colors not compatible with random desktop themes

#1969: wxPy loc'n wiz: hardcoded colors not compatible with random desktop themes
----------------------------------------+-----------------------------------
Reporter: hamish | Owner: grass-dev@…
     Type: defect | Status: new
Priority: minor | Milestone: 6.4.3
Component: wxGUI | Version: svn-develbranch6
Keywords: location wizard, cosmetics | Platform: All
      Cpu: All |
----------------------------------------+-----------------------------------
Hi,

the loc'n wizard's projections,datums,ellipsoid selection table is now
offwhite-on-white & unreadable for me, since I changed to another xfce
theme (nothing exotic, just another from the pre-installed list). I'm
probably not the only one to ever change a desktop theme, which wx seems
to be respecting, so hard-coding color choices can be problematic.
code that does it visible by r53008.

thanks,
Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1969&gt;
GRASS GIS <http://grass.osgeo.org>

#1969: wxPy loc'n wiz: hardcoded colors not compatible with random desktop themes
----------------------------------------+-----------------------------------
Reporter: hamish | Owner: grass-dev@…
     Type: defect | Status: new
Priority: minor | Milestone: 6.4.3
Component: wxGUI | Version: svn-develbranch6
Keywords: location wizard, cosmetics | Platform: All
      Cpu: All |
----------------------------------------+-----------------------------------

Comment(by hamish):

(I don't have any good solution or suggestion to resolve this, unless wx
lets you query the default/existing colors, but thought it was worth
mentioning)

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1969#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#1969: wxPy loc'n wiz: hardcoded colors not compatible with random desktop themes
----------------------------------------+-----------------------------------
Reporter: hamish | Owner: grass-dev@…
     Type: defect | Status: new
Priority: minor | Milestone: 6.4.3
Component: wxGUI | Version: svn-develbranch6
Keywords: location wizard, cosmetics | Platform: All
      Cpu: All |
----------------------------------------+-----------------------------------

Comment(by cmbarton):

Maybe letting it go back to default colors (not specifying a background
color) is best here. IIRC, it's ugly grey, but readable.

Michael

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1969#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#1969: wxPy loc'n wiz: hardcoded colors not compatible with random desktop themes
----------------------------------------+-----------------------------------
Reporter: hamish | Owner: grass-dev@…
     Type: defect | Status: new
Priority: minor | Milestone: 6.4.3
Component: wxGUI | Version: svn-develbranch6
Keywords: location wizard, cosmetics | Platform: All
      Cpu: All |
----------------------------------------+-----------------------------------

Comment(by hamish):

In part, what that color setting is doing is setting up the zebra stripe
in every second row of the table, a useful thing.

It would be great if we could read the existing color and XOR it, but I
don't know if that's possible.

Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1969#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>