Wrong default font in main window elements

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Wrong default font in main window elements

Post by *Lefteous »

1. Start TC 9 with a clean ini file
2. Look at the font in several main menu elements. It seems it is 8pt.
3. Open settings dialog. Navigate to font page.
4. Change something unrelated like dialog box font settings in order to pull the trigger.
4. Click OK
5. Now the expected default font 'Segoe UI 9' is used.



Affected elements seems to be at least:
The volume bar (123.456.789 / 987.654.321 bytes free)
Function key bar
Path before cmd-line
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48093
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Indeed I have switched from Segoe UI Semibold to Segoe UI regular font.

The question is whether I should 8 or 9 point...
Author of Total Commander
https://www.ghisler.com
sheppaul
Member
Member
Posts: 134
Joined: 2003-12-05, 07:59 UTC

Post by *sheppaul »

ghisler(Author) wrote:Indeed I have switched from Segoe UI Semibold to Segoe UI regular font.

The question is whether I should 8 or 9 point...
Please don't use 8 point. It'll ruin CJK fonts.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48093
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

OK, that's a good argument (although it's just for the default font, you can still choose any other).
Author of Total Commander
https://www.ghisler.com
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2ghisler(Author)
Indeed I have switched from Segoe UI Semibold to Segoe UI regular font.
Which is fantastic by the way 8)
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

Fixed in beta 2. The font is now correctly without doing something in the font settings.
archon810
Junior Member
Junior Member
Posts: 22
Joined: 2016-06-08, 21:07 UTC

Post by *archon810 »

I see this post discusses fonts, so I'll just throw this in here.

I updated from 9.0b1 to 9.0b2, and the font became really weird - wider and larger than usual. I went to the settings, set it to size 9, then back to size 8, at which point everything returned to normal.

Also the cursor changed from the nice inverted light blue in b1 to an inverted black. I did the same thing - went to settings and toggled use inverted cursor on (which did nothing, seemingly, as it was already inverted) and then back off, at which point it became the familiar light blue again.
Sob
Power Member
Power Member
Posts: 941
Joined: 2005-01-19, 17:33 UTC

Post by *Sob »

That weird font (I guess it's the one) can be reproduced by starting TC with following ini:

Code: Select all

[Configuration]
x=1
It's the whole file, nothing else.

File list will then use bold Microsoft Sans Serif, size 9, even though Configuration dialog will show size 8.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48093
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

TC will use the old default "Microsoft Sans Serif, size 9" when there already is a wincmd.ini, but with no font settings stored. TC8 did this too!
Author of Total Commander
https://www.ghisler.com
Sob
Power Member
Power Member
Posts: 941
Joined: 2005-01-19, 17:33 UTC

Post by *Sob »

Except TC8 used size 8, not 9.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48093
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Ah, I see, I will fix it.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48093
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This was fixed in beta 3:
1. If there is no wincmd.ini one one with UseNewDefFont=1 with no font settings, TC will now use Segoe UI, regular, size 9

2. If there is already a wincmd.ini without the line UseNewDefFont=1, then TC will use Microsoft Sans Serif, size 8.

Can anyone confirm it, please?
Author of Total Commander
https://www.ghisler.com
Sob
Power Member
Power Member
Posts: 941
Joined: 2005-01-19, 17:33 UTC

Post by *Sob »

Confirmed, it's ok with beta 3 (tested both 32 and 64-bit).
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

If there is no wincmd.ini one one with UseNewDefFont=1 with no font settings, TC will now use Segoe UI, regular, size 9
Wasn't this already fixed in beta 2? I already confirmed this fix.
Sob
Power Member
Power Member
Posts: 941
Joined: 2005-01-19, 17:33 UTC

Post by *Sob »

This was the second case. Size 9 was used even when it should have been size 8.
Post Reply