TC 9.5b6 - Color examples in configuration hard to read and not conformed with chosen font

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

TC 9.5b6 - Color examples in configuration hard to read and not conformed with chosen font

Post by *petermad »

The new style of the color preview in the Color configuration dialog is hard to read especially for text with colored background compared to the old color preview:

See: https://madsenworld.dk/tcmd/colorpreviewnew.png and https://madsenworld.dk/tcmd/colorpreviewold.png

1. The color bars behind the text are lower, so the bottom of the text is almost cut off. They are also lower than the actual bars in the file panels.
2. The text is not bold anymore. But since the default font is not bold any longer maybe thats understadable, but it would nice if the font style (bold/normal) resembled the configured Font style.
3. The text is smaller than in the old color preview.

This also applies to the other color previews under "Others:"
Last edited by petermad on 2019-12-20, 03:30 UTC, edited 2 times in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 9.5b6 - Color examples in configuration hard to read and not conformed with chosen font

Post by *ghisler(Author) »

The new preview uses the dialog box font configured by the user.
The old was using some default font which was tiny on high DPI devices.
I will not go back to the old font.

Any suggestions?
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: TC 9.5b6 - Color examples in configuration hard to read and not conformed with chosen font

Post by *petermad »

The new preview uses the dialog box font configured by the user.
How about using the file panel font (including bold if chosen) instead?

And at least make the fields (color bars) higher, so they look like the color bars / cursor in the file panel.

Can I also suggest to put the title of the Preview ("Lister:", "Compare by contents:" etc.) over the preview box (where it now says Example (in the 32bit version) - As it is now it can be difficult to distinguish the default preview and the preview for "Synchronize directories" and "Hint windows:"
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Re: TC 9.5b6 - Color examples in configuration hard to read and not conformed with chosen font

Post by *Flint »

I support the idea of using the file panel font, and fixing the line height. Basically, the idea is, that the example box should resemble the file panel (which we are configuring) as close as possible.

Of course, for other previews it would be logical to use the respective fonts of the particular tools that are being configured/previewed.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 9.5b6 - Color examples in configuration hard to read and not conformed with chosen font

Post by *ghisler(Author) »

OK, I will use the listbox font for the primary color preview, and the main window font for the title bar preview. for the others I will use the dialog box font, though.
Author of Total Commander
https://www.ghisler.com
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Re: TC 9.5b6 - Color examples in configuration hard to read and not conformed with chosen font

Post by *Flint »

Confirm the correct file panel font in 9.50β7.

However, the line height is still too small, so the lines look squished (especially the cursor ones).
Here is the comparison of the preview box, and the actual file panel (with icons turned off): link
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: TC 9.5b6 - Color examples in configuration hard to read and not conformed with chosen font

Post by *petermad »

And at least make the fields (color bars) higher, so they look like the color bars / cursor in the file panel.
However, the line height is still too small, so the lines look squished (especially the cursor ones).
Here is the comparison of the preview box, and the actual file panel (with icons turned off): link
I agree on that - this applies to File panel view, Syncronize directories view, and Hint windows view.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 9.5b6 - Color examples in configuration hard to read and not conformed with chosen font

Post by *ghisler(Author) »

However, the line height is still too small, so the lines look squished (especially the cursor ones).
The preview use the font height in pixels retrieved via the GetTextMetrics function. The main window also considers the icon size, which may be larger.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: TC 9.5b6 - Color examples in configuration hard to read and not conformed with chosen font

Post by *petermad »

The main window also considers the icon size, which may be larger
Could you maybe adjust for that, at least for a standard 16x16 icon size?
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 9.5b6 - Color examples in configuration hard to read and not conformed with chosen font

Post by *ghisler(Author) »

OK, I can do this, but it may make the preview larger than the available space.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: TC 9.5b6 - Color examples in configuration hard to read and not conformed with chosen font

Post by *petermad »

but it may make the preview larger than the available space
Then a bit less - it was a fine height in the old preview.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: TC 9.5b6 - Color examples in configuration hard to read and not conformed with chosen font

Post by *petermad »

01.12.19 Fixed: Configuration - Options - Color: Made items in the various color previews a bit higher (32/64)
Looks fine now in TC 9.5b8 :-)


02.12.19 Fixed: Configuration - Options - Color: Show preview also for synchronize dirs (32/64)
Nice, but the text color for "Selection - background" for equal files [=] is not shown correct - see: https://madsenworld.dk/tcmd/syncdircolorspreview.png - where the text should have been white.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Re: TC 9.5b6 - Color examples in configuration hard to read and not conformed with chosen font

Post by *Flint »

petermad wrote: 2019-12-04, 20:43 UTC Looks fine now in TC 9.5b8 :-)
Not quite. In the preview the text in the cursor frame is positioned 1 pixel higher, than in the actual TC panel.
It's most noticable on the capital letters ("C" in "Cursor", for example): in file panel they are centered within the cursor frame, while in preview they are visibly closer to the top border.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: TC 9.5b6 - Color examples in configuration hard to read and not conformed with chosen font

Post by *DrShark »

ghisler(Author) wrote: 2019-11-22, 15:33 UTCOK, I will use the listbox font for the primary color preview, and the main window font for the title bar preview. for the others I will use the dialog box font, though.
For hints preview, file lists font is used instead of dialog box font. And anyway, maybe it's better to use the font defined by [<currentresolution>] Font*Tip parameters here?
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 9.5b6 - Color examples in configuration hard to read and not conformed with chosen font

Post by *ghisler(Author) »

the text should have been white
I cannot reproducer this here. Please send me your ini settings to support at ghisler dot com.
Not quite. In the preview the text in the cursor frame is positioned 1 pixel higher
I don't care, this is just a color preview.
Author of Total Commander
https://www.ghisler.com
Post Reply