TC 9.5B1: Darkmode and directory- / history-menu

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

Moderators: sheep, Hacker, Stefan2, white

Post Reply
Dennis_Stevens
Member
Member
Posts: 156
Joined: 2013-06-08, 16:16 UTC
Location: NRW, Germany

TC 9.5B1: Darkmode and directory- / history-menu

Post by *Dennis_Stevens » 2019-10-17, 13:32 UTC

Does it happen for a reason that the directory- / and historymenu

Code: Select all

cm_directoryHotlist , cm_directoryhistory 
are not changed by dark-mode although all other menus are?
#230412 Single User Licence
Commanding Win10 64bit totally with version 9.21A

User avatar
matixx
Power Member
Power Member
Posts: 1002
Joined: 2003-03-21, 02:37 UTC
Location: ....
Contact:

Re: TC 9.5B1: Darkmode and directory- / history-menu

Post by *matixx » 2019-10-17, 14:04 UTC

not confirmed.
Both of them are changing to dark mode.

MAybe a restart of TC needed.
#101512

User avatar
HolgerK
Power Member
Power Member
Posts: 5159
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Re: TC 9.5B1: Darkmode and directory- / history-menu

Post by *HolgerK » 2019-10-17, 14:33 UTC

2Dennis_Stevens

Which Windows Version do you use? 1803, 1809, 1903?

I can confirm this here with 1803 but afair not yesterday with 1903.
Applies also to file/folder context menues.
New functions and fixes in Total Commander 9.50 beta 1:

User interface:
- Dark mode, starting with Windows 10 Fall 2018, inofficially also with older Windows versions (ForceDarkModeOptions=1)

Regards
Holger
Make our planet great again

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

Re: TC 9.5B1: Darkmode and directory- / history-menu

Post by *petermad » 2019-10-17, 15:16 UTC

cm_directoryHotlist , cm_directoryhistory

are not changed by dark-mode although all other menus are?
I can confirm that on Windows 10 1903 and Windows 7

EDIT
According to viewtopic.php?p=360156#p360156 you have to restart TC to have these menus shown in dark mode.
License #524 (1994)
Danish Total Commander Translator
TC 9.5b8 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.935 (x64)
TC 3.0b12 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

User avatar
HolgerK
Power Member
Power Member
Posts: 5159
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Re: TC 9.5B1: Darkmode and directory- / history-menu

Post by *HolgerK » 2019-10-17, 20:13 UTC

According to viewtopic.php?p=360156#p360156 you have to restart TC to have these menus shown in dark mode.
Doesn't help in1803 but this OS-version also does not support a dark mode.

Regards
Holger
Make our planet great again

Dennis_Stevens
Member
Member
Posts: 156
Joined: 2013-06-08, 16:16 UTC
Location: NRW, Germany

Re: TC 9.5B1: Darkmode and directory- / history-menu

Post by *Dennis_Stevens » 2019-10-18, 04:25 UTC

HolgerK wrote:
2019-10-17, 14:33 UTC
2Dennis_Stevens

Which Windows Version do you use? 1803, 1809, 1903?
On my private machine it is 1903, on my business machine 1803.
On the first one the menues appeared in light mode after restart. As soon as I am home I will check that with a clean ini once more.
HolgerK wrote:
2019-10-17, 20:13 UTC
Doesn't help in 1803 but this OS-version also does not support a dark mode.
OK, have not read that 1803 is special. So there is a reason for that behaviour.
#230412 Single User Licence
Commanding Win10 64bit totally with version 9.21A

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38438
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 9.5B1: Darkmode and directory- / history-menu

Post by *ghisler(Author) » 2019-10-18, 15:56 UTC

Unfortunately these are indeed restrictions I cannot bypass:
1. Windows 10 1803 and older: Menus and context menus drawn by the system cannot be switched to dark mode. Only owner drawn menus can, e.g. TC main menu when using icons, and Lister's main menu.
2. Windows 10 1809 and newer: The colors of menus and context menus can only be set at program start, to one of three states:
- always dark
- always bright
- as configured in Windows settings for Windows 10 apps

So if you change that value via TC settings, you need to close and re-open TC to view the menus in the changed color. If you want to regularly switch between bright and dark menus, use the third option and change the dark mode system-wide.
Author of Total Commander
http://www.ghisler.com

Post Reply