TC x64 9.50B5-RC1 - Dark mode: blinking vertical scrollbar

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
iteg
Junior Member
Junior Member
Posts: 71
Joined: 2016-07-28, 08:36 UTC

TC x64 9.50B5-RC1 - Dark mode: blinking vertical scrollbar

Post by *iteg »

When you grab the scrollbar slider with the mouse and move up and down, the scrollbar draws flicker.
Windows 7 SP1 x64.
Watch a video: https://dropmefiles.com/nmDDt
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48113
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC x64 9.50B5-RC1 - Dark mode: blinking vertical scrollbar

Post by *ghisler(Author) »

Yes, this is normal: TC has to overdraw the bright scrollbar with black when receiving WM_PAINT messages. When you move the scrollbar with the mouse, Windows redraws it internally without sending WM_PAINT. Therefore I have to use a timer to regularly owerdraw the bar, which causes flickering.

The only way to prevent that is to update to a recent version of Windows 10, which has native dark scrollbar support.
Author of Total Commander
https://www.ghisler.com
iteg
Junior Member
Junior Member
Posts: 71
Joined: 2016-07-28, 08:36 UTC

Re: TC x64 9.50B5-RC1 - Dark mode: blinking vertical scrollbar

Post by *iteg »

And what about combobox scrolling? For example, [Configuration \ Options... \ Colors \ Others:]
And scrolls in the "Print directory" dialog [Files \ Print \ File list...]
And scrolls in the "Associate" dialog [Files \ Associate With...]

Also, Windows 7 does not support a dark theme for the context menu? [Directory HotList, Ctrl + D]
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48113
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC x64 9.50B5-RC1 - Dark mode: blinking vertical scrollbar

Post by *ghisler(Author) »

Also, Windows 7 does not support a dark theme for the context menu? [Directory HotList, Ctrl + D]
No, unfortunately not.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48113
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC x64 9.50B5-RC1 - Dark mode: blinking vertical scrollbar

Post by *ghisler(Author) »

I managed to reduce the flickering by checking for pressed mouse button not only while the cursor was over the scrollbar, but also to the side of it. But I cannot eliminate it completely.
Author of Total Commander
https://www.ghisler.com
Post Reply