bluewaysw / pcgeos

#FreeGEOS source codes. The offical home of the PC/GEOS operating system technology. For personal computing fans. For all developers and assembly lovers. For YOU!
Apache License 2.0
717 stars 86 forks source link

UI quirk when selecting certain grey colours in the colour picker #390

Open dnesbitt142 opened 8 months ago

dnesbitt142 commented 8 months ago

Hello,

There is a quirk when selecting certain shades of grey using the colour picker, where upon clicking on the colour, the UI highlights/selects the same colour in a different part of the colour picker UI (as seen in the Configure UI component):

Colour picker

This is a bit disconcerting and inconsistant IMHO.

Cheers,

Dan

rabe-soft commented 8 months ago

Hm, I think, if both colors have the same RGB values, the UI selects the first one.

dnesbitt142 commented 8 months ago

Yes I think you are right about that.

nschulux commented 8 months ago

Can this depend on the Video driver selected ,32 bit ; 64 bit or truecolor ?

dnesbitt142 commented 8 months ago

I've just tested it, it does it for all of the VESA colour modes.

rabe-soft commented 8 months ago

I think it depends on the RGB values for the index colors, definied in one of the header files. One solution would be to change one of the affected values by one - but this destroyed the systematics of the tables.