Grid alternate row colours

kalvaro's profile image kalvaro posted 11 years ago in General Permalink
I've just upgraded to latest snapshot in order to see the new zebra colours in data grids but it doesn't seem to be working well. Alternate colours only show up in the columns I explicitly sort by:



:-?
ansgar's profile image ansgar posted 11 years ago Permalink
No idea yet. Works perfectly here. Is it WinXP on your side?
kalvaro's profile image kalvaro posted 11 years ago Permalink
Windows 7 (64 bits).

Some more info I've gathered. There're two colours to configure. I first selected a colour in the second combo and left "None" in the first one. The issue persisted even if I restarted HeidiSQL.

But as soon as I picked two colours the issue fixed—even if I revert the first combo back to "None". Perhaps it's just a migration issue.
ansgar's profile image ansgar posted 11 years ago Permalink
Yes, could be! Thanks for being so exact, makes sense now when I look into the code. Will fix.
ansgar's profile image ansgar posted 11 years ago Permalink
Code is ok, just checked.

Sorted columns have a gray background color in HeidiSQL (the darker one on your screenies). When you set both even and odd color in HeidiSQL, you don't see that sorting gray any longer. But if you only set one of both, let's say odd row background, then even rows still get that sorting gray.

My guess is also, you accidentally selected an odd color which is same or very similar to your default background color in your Windows settings (clWindow).

Everything's normal so far. But I think this can lead to real confusion here, we have too many background settings. So, I'll go and remove the sorting gray. Sorted columns still have the arrow indicator in their column header. I think I had introduced the sorting gray once I saw that in my Windows Explorer, which I do not see any longer in Win7's Explorer.
Code modification/commit 47b033c from ansgar.becker, 11 years ago, revision 8.0.0.4429
No background gray for sorted columns any longer. Leads to confusion when mixed with the new alternating row colors. See http://www.heidisql.com/forum.php?t=12882.
ansgar's profile image ansgar posted 11 years ago Permalink
Sorting gray removed as of r4429.

Please login to leave a reply, or register at first.