[TC10.50b4 64-bit Dark mode] Glitches Configuration/Options

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
white
Power Member
Power Member
Posts: 4594
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

[TC10.50b4 64-bit Dark mode] Glitches Configuration/Options

Post by *white »

Several glitches, see this animated gif.
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC10.50b4 64-bit Dark mode] Glitches Configuration/Options

Post by *petermad »

I can confirm the bright white edge on the left side, when the dialog is moved out of screen. I can only reproduce it on Windows 10 (not Windows 7) and only when "Showing window contents while dragging" is enabled in Windows' Advanced system settings (Performance).
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC10.50b4 64-bit Dark mode] Glitches Configuration/Options

Post by *ghisler(Author) »

Unfortunately there is not much I can do - that's the native border of the listbox, I'm overdrawing it in dark mode. Sometimes I don't get notifications when Windows draws that border. :(
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC10.50b4 64-bit Dark mode] Glitches Configuration/Options

Post by *ghisler(Author) »

I found a solution now: I just react to WM_MOVE and WM_EXITSIZEMOVE messages now to redraw the borders. However, this slows down dragging the window a lot, so I will only do it every 250 milliseconds, so some artifacts will remain for a short time.
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 4594
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC10.50b4 64-bit Dark mode] Glitches Configuration/Options

Post by *white »

ghisler(Author) wrote: 2022-05-09, 10:03 UTC I found a solution now: I just react to WM_MOVE and WM_EXITSIZEMOVE messages now to redraw the borders. However, this slows down dragging the window a lot, so I will only do it every 250 milliseconds, so some artifacts will remain for a short time.
Tested OK using TC10.50b5.

The other glitch which is also visible is not fixed, but there's a separate bug report fot that, see:
[TC10.50b4 64-bit Dark mode] Select Configuration/Options/Color paints extra lines

Moderator message from: white » 2022-05-11, 19:22 UTC

Moved to Fixd bugs.
Post Reply