Wrong button color
Moderators: Hacker, petermad, Stefan2, white
Wrong button color
In Windows 7 with Classic theme, buttons for "Directory hotlist" and "History" in main window have wrong color (white instead of standard system color) when tabs are visible:
Image: http://web.hisoftware.cz/sob/img/tc920b6-button-color.png
It happens only in x64 version.
Image: http://web.hisoftware.cz/sob/img/tc920b6-button-color.png
It happens only in x64 version.
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This is a known difference between TC 32-bit and 64-bit. You can see it also in the search dialog:
In TC 32-bit, Tabs have a body color like buttons. In TC 64-bit, tabs have a body colors like a window background. Since the "Directory hotlist" and "History" buttons are transparent, you get these background colors too on tabs.
In TC 32-bit, Tabs have a body color like buttons. In TC 64-bit, tabs have a body colors like a window background. Since the "Directory hotlist" and "History" buttons are transparent, you get these background colors too on tabs.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
But it's a little bit too "shiny". The rest of interface has proper clBtnFace color and suddently these two buttons are bright white, and it changes depending on whether there are tabs or not.
It definitely wasn't well known difference in 9.12, the color was fine there. I checked previous betas and it first appeared in beta2 (beta1 was still ok). And looking at history.txt, it must be caused by this:
It definitely wasn't well known difference in 9.12, the color was fine there. I checked previous betas and it first appeared in beta2 (beta1 was still ok). And looking at history.txt, it must be caused by this:
Btw, the difference in search dialog you mentioned, there's no such thing here, both x86 and x64 TC have same color tabs (clBtnFace).09.05.18 Fixed: Buttons for directory hotlist and history didn't have the right foreground color in high contrast mode with black background (64)
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
That's about the foreground color, not background color. I finally found a solution, but I had to modify the Lazarus compontent library to do it...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
It's not really a bug: What you see there is the actual tab background color shining through. All the other controls are covering the tab surface. TC does draw a buttonface background for the SpeedButtons in this case to give them the color we want.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This should be fixed in TC 9.20 release candidate 1, please test it!
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com