[TC 10 b5 64 bit] some settings dialogs are scrambled in dark mode

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

Moderators: white, Hacker, petermad, Stefan2

flurk
Junior Member
Junior Member
Posts: 7
Joined: 2013-10-25, 21:54 UTC

[TC 10 b5 64 bit] some settings dialogs are scrambled in dark mode

Post by *flurk »

examples :

- configuration - options - display - font : missing text : Image: https://ibb.co/3STL988
- configuration - options - operation - edit/view - configure internal viewer - general : scrambled : Image: https://ibb.co/jGZfjKp

the problem seems to disappear when switching off dark mode in options - color

notes :

- this was OK in beta 4
- as the first image shows, I don't use the default font settings ... maybe this has an influence on the problem ?
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: [TC 10 b5 64 bit] some settings dialogs are scrambled in dark mode

Post by *tuska »

I also have the view as in your second picture for the lister only in TC 10.00b5 x64 in dark mode.
In TC 10.00b5 x86 the configuration menu is displayed properly.

I can also confirm your observations on image 1.
flurk wrote: 2021-04-10, 10:13 UTC - as the first image shows, I don't use the default font settings ... maybe this has an influence on the problem ?
I think no, because I put the value 130 here.
joe910
Junior Member
Junior Member
Posts: 36
Joined: 2009-02-23, 03:05 UTC
Location: Peoria, IL USA

Re: [TC 10 b5 64 bit] some settings dialogs are scrambled in dark mode

Post by *joe910 »

I too have same display for image 2 on Windows 10, TC x64, and dark mode.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10 b5 64 bit] some settings dialogs are scrambled in dark mode

Post by *ghisler(Author) »

Which font size do you use?
Author of Total Commander
https://www.ghisler.com
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: [TC 10 b5 64 bit] some settings dialogs are scrambled in dark mode

Post by *tuska »

ghisler(Author) wrote: 2021-04-12, 13:16 UTC Which font size do you use?

Code: Select all

Myriad Pro	Standard  10
Myriad Pro	Standard  10
Segoe UI	Standard   9
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10 b5 64 bit] some settings dialogs are scrambled in dark mode

Post by *ghisler(Author) »

I'm currently working on a function to scale dialogs with the chosen font (not just via DPI override). Maybe it will help in your case.
Author of Total Commander
https://www.ghisler.com
flurk
Junior Member
Junior Member
Posts: 7
Joined: 2013-10-25, 21:54 UTC

Re: [TC 10 b5 64 bit] some settings dialogs are scrambled in dark mode

Post by *flurk »

My setup is
- 175 DPI (for good readability on a 4K monitor)
- file list : verdana 11
- main window : verdana 11
- dialog box : verdana 9
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10 b5 64 bit] some settings dialogs are scrambled in dark mode

Post by *ghisler(Author) »

Do you use 175 dpi in Total Commander only (Configuration - Options - Font), or system wide?
Author of Total Commander
https://www.ghisler.com
flurk
Junior Member
Junior Member
Posts: 7
Joined: 2013-10-25, 21:54 UTC

Re: [TC 10 b5 64 bit] some settings dialogs are scrambled in dark mode

Post by *flurk »

My system wide setting is "150% (recommended)" - this "recommended" was probably automatically set when installing windows 10 ?

Adding 175 dpi in Total Commander - configuration - options - font gave a perfect readability in Total Commander

To give you some more info, I used the system info window (commands - system information), and saw that it also has the same problem : Image: https://ibb.co/hgjN8pD

Many thanks for your work !
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10 b5 64 bit] some settings dialogs are scrambled in dark mode

Post by *ghisler(Author) »

Very strange, it looks like a mix from the main window and a dialog box. So far I cannot reproduce it. Anyone else having this problem?
Author of Total Commander
https://www.ghisler.com
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: [TC 10 b5 64 bit] some settings dialogs are scrambled in dark mode

Post by *tuska »

I also get the view of user flurk on tab "Hardware" at the first call with command cm_SysInfo in dark mode TC 10.00b5 x64.

If I then click on the tabs in this order, namely "Software" (view better), "Network" (view better),
"Hardware" --> then the view for tab "Hardware" is also better(!), but still not quite in order.

This problem does not exist in TC 10.00b5 x86!


Windows 10 Pro (x64) Version 20H2 (OS build 19042.928)
Monitor 24", native resolution: 1920 x 1280 pixels | WIN+I > System Display > Advanced Scaling Settings: Scaling size 125%
TC: Configuration - Options... - Font: Dialog box scaling (does not scale the main window) [x] Set dots per inch (DPI) to: 130
File list font: Myriad Pro,10 - Main window font: Myriad Pro,10 - Dialog box font: Segoe UI,9 --- Fonts: Standard
joe910
Junior Member
Junior Member
Posts: 36
Joined: 2009-02-23, 03:05 UTC
Location: Peoria, IL USA

Re: [TC 10 b5 64 bit] some settings dialogs are scrambled in dark mode

Post by *joe910 »

I use win10 Home (x64) v20H2, Total Commander x64 dark mode. My display is 4k. Like flurk and tuska I get the same issue with lister-options-config using both my ini and a clean ini. On the cm_SysInfo with a clean ini the display is perfect for all tabs. Using my ini I experience the same as tuska. This is unique to x64 version of Total Commander.

I also can see parts of my previous screen when the display is not correct.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10 b5 64 bit] some settings dialogs are scrambled in dark mode

Post by *ghisler(Author) »

I was finally able to reproduce it, and found a solution. Thanks for reporting it!
Author of Total Commander
https://www.ghisler.com
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: [TC 10 b5 64 bit] some settings dialogs are scrambled in dark mode

Post by *tuska »

Thank you, cm_SysInfo is done -
but the font names and sizes are still missing (--> 1st picture in the first post) in TC 10.00b6 x64 dark mode.
joe910
Junior Member
Junior Member
Posts: 36
Joined: 2009-02-23, 03:05 UTC
Location: Peoria, IL USA

Re: [TC 10 b5 64 bit] some settings dialogs are scrambled in dark mode

Post by *joe910 »

Thanks, I concur with tuska about the font names and sizes. Other items are fixed.
Post Reply