No Bug [TC 10.50b7] different font for file tip.

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

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

No Bug [TC 10.50b7] different font for file tip.

Post by *petermad »

history.txt wrote:24.05.22 Added: wincmd.ini [Configuration] FileTipWindowsOnIcon=2 shows Win32-style tip on icon, full name on shortened name, but only when Win32 style tips are enabled in settings (32/64)
The font in the file tip for shortened name when hovering the file name (not the file icon) is bold when I use FileTipWindowsOnIcon=2 but normal when I use FileTipWindowsOnIcon=0
Last edited by petermad on 2022-06-01, 18:13 UTC, edited 1 time 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 10.50b7] different font for file tip.

Post by *ghisler(Author) »

Not confirmed. Tried with my own ini and a fresh one:

[Configuration]
FileTipWindowsOnIcon=2
FileTipWindows=1
Win32TipWindows=1

I also tried forcing a bold font for the Win32 style tip, by adding this to the resolution specific section after "save position":
FontWeightTip=700

So I need more information.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14740
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 10.50b7] different font for file tip.

Post by *petermad »

It happens when I use a bold font for the file list - like Microsoft Sans Serif,8,b - as in TC's original default font setting
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 10.50b7] different font for file tip.

Post by *ghisler(Author) »

Not confirmed. With beta 7, the font for the file tip (shortened name) is always the same as the font in the dialog box. This was a bug in TC 10, it used the standard tooltip font which should only be used for the Win32 style tip window. In Total Commander 9.51 it was still correct.

Maybe you compared with TC10?
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14740
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 10.50b7] different font for file tip.

Post by *petermad »

I can reproduce it with fhis ini file:

Code: Select all

[Configuration]
Win32TipWindows=1
FileTipWindows=1
FileTipWindowsOnIcon=2

[AllResolutions]
FontWeight=700
FontSize=9
FontName=Segoe UI
Then it looks like this when I hover the file name: https://madsenworld.dk/tcmd/tooltipbold.png
And it looks like this when I hover the file icon: https://madsenworld.dk/tcmd/tooltipnormal1.png

If I add OleComments=0 to the ini file - it looks like this when I hover the icon: https://madsenworld.dk/tcmd/tooltipnormal2.png

The screenshots are from Window 7, but I can reproduce it With Windows 10 as well. As yu can see from the screenshots - it IS tested with TC 10.50b7 (x64)
Last edited by petermad on 2022-05-27, 15:32 UTC, edited 1 time 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
white
Power Member
Power Member
Posts: 4595
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC 10.50b7] different font for file tip.

Post by *white »

petermad wrote: 2022-05-27, 12:35 UTC As yu can see from the screenshots - it IS tested with TC 10.50b5 (x64)
Screenshot says 10.50b7...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10.50b7] different font for file tip.

Post by *ghisler(Author) »

2petermad
Your 3 screenshots from your last post are all correct. The font should be the same as the listbox font when overlaying over the file name. So when you use a bold font in the listbox, TC will use a bold font for the tips too.

The Win32 style floating tip will use the default tooltip font, the same as in the button bar.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14740
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 10.50b7] different font for file tip.

Post by *petermad »

Screenshot says 10.50b7..
Thanks - corected now
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: 14740
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 10.50b7] different font for file tip.

Post by *petermad »

2ghisler(Author)
The font should be the same as the listbox font when overlaying over the file name
But then when I use FileTipWindowsOnIcon=0 (or remove the parameter), then I get the non-bold font when I hover the file NAME: https://madsenworld.dk/tcmd/tooltipnormal3.png - that is not consistant.

PS I prefer the non-bold font, like it has always been.
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 10.50b7] different font for file tip.

Post by *ghisler(Author) »

That's not the overlaying tooltip, it's the standard floating tooltip you get with Win32TipWindows=1. It uses the font set for tooltips, while the one overlaying the original file name needs to use the same font as the listbox font.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14740
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 10.50b7] different font for file tip.

Post by *petermad »

2ghisler(Author)
Aha, I just thought that if using Win32TipWindows=1 results in non-bold tooltip, that it would stay that way also when using FileTipWindowsOnIcon=2 (assuming that Win32TipWindows is still set to 1)
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 10.50b7] different font for file tip.

Post by *ghisler(Author) »

Aha, I just thought that if using Win32TipWindows=1 results in non-bold tooltip, that it would stay that way also when using FileTipWindowsOnIcon=2 (assuming that Win32TipWindows is still set to 1)
Well, it does stay that way for the free-floating tooltip. However, the tip overlaying the name will have the same font as the listbox.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14740
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 10.50b7] different font for file tip.

Post by *petermad »

OK - this can be moved to: "TC Behaviour which will not be changed".
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
white
Power Member
Power Member
Posts: 4595
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: No Bug [TC 10.50b7] different font for file tip.

Post by *white »

Moderator message from: white » 2022-06-01, 18:17 UTC

Moved to TC Behaviour which will not be changed.
Post Reply