TC [9.50] Dark Mode - Menu - White Frame

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
Pawel
Junior Member
Junior Member
Posts: 82
Joined: 2018-12-18, 11:54 UTC
Location: Poland
Contact:

TC [9.50] Dark Mode - Menu - White Frame

Post by *Pawel »

Is it possible to eliminate this ugly white frame around the menu in TC?
It is visible only for a short time in Dark Mode. It disappears, but I can still see it.

Please, take a look at this short video (5Mb):
http://www.meggamusic.co.uk/shup/1573726163/MenuWhiteFrame.mp4

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

Re: TC [9.50] Dark Mode - Menu - White Frame

Post by *ghisler(Author) »

No it can't. I'm overdrawing it as soon as I can, but it's not drawn in WM_PAINT, so I cannot remove it immediately.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC [9.50] Dark Mode - Menu - White Frame

Post by *ghisler(Author) »

There is actually a solution, but only system-wide: You need to disable menu animations, they cause this delay in overwriting the white border.

1. Open control panel control.exe
2. Show small or large icons
3. Open "System" - "Advanced system setting" - "Performance" - "Settings..."
4. Uncheck "Fade or slide menus into view"
Author of Total Commander
https://www.ghisler.com
User avatar
Ovg
Power Member
Power Member
Posts: 756
Joined: 2014-01-06, 16:26 UTC

Re: TC [9.50] Dark Mode - Menu - White Frame

Post by *Ovg »

2ghisler(Author)
Excelent :thumbsup:
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
Pawel
Junior Member
Junior Member
Posts: 82
Joined: 2018-12-18, 11:54 UTC
Location: Poland
Contact:

Re: TC [9.50] Dark Mode - Menu - White Frame

Post by *Pawel »

ghisler(Author) wrote: 2019-11-27, 10:37 UTC There is actually a solution, but only system-wide: You need to disable menu animations, they cause this delay in overwriting the white border.
Christian,
Thanku You for the tip. It works!
-Pawel
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: TC [9.50] Dark Mode - Menu - White Frame

Post by *petermad »

4. Uncheck "Fade or slide menus into view"
I have always had this option unchecked - and I still see a blink of a bright frame when opening a submenu to the main menu. (Windows 7, 8.1 and 10 1909, but not Windows XP)
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC [9.50] Dark Mode - Menu - White Frame

Post by *ghisler(Author) »

Strange, no blink here.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: TC [9.50] Dark Mode - Menu - White Frame

Post by *petermad »

I tried to make a video - not all of the flashes turns up in the video, but you can see it for some of the menus, it seems to be especially noticeable for long menus. https://madsenworld.dk/tcmd/menuborderflash.mp4
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC [9.50] Dark Mode - Menu - White Frame

Post by *ghisler(Author) »

I managed to improve it a bit with a faster timer (already used by 32-bit), but it's not possible to eliminate it entirely.
Author of Total Commander
https://www.ghisler.com
Post Reply