[TC11.00b9 64-bit dark mode] Restore window size -> border colors wrong

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: 4623
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

[TC11.00b9 64-bit dark mode] Restore window size -> border colors wrong

Post by *white »

  • Open Multi-Rename Tool or Synchronize directories.
  • Maximize the window.
  • Restore the window size by double clicking the title bar.
  • The border around the results is the wrong color.
This doesn't happen when you restore the window size by using the Restore window button.
User avatar
AntonyD
Power Member
Power Member
Posts: 1249
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: [TC11.00b9 64-bit dark mode] Restore window size -> border colors wrong

Post by *AntonyD »

Confirmed.
And if you move the mouse cursor over this border, then its color returns to the correct one.
Or if you drag and move the window by the title bar by a few pixels, literally.
The wrong color will automatically correct itself to the correct one in the same way.
#146217 personal license
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC11.00b9 64-bit dark mode] Restore window size -> border colors wrong

Post by *ghisler(Author) »

It's a known bug which cannot be fixed.I'm already manually overdrawing the border, but some redraws seem to happen without going via WM_PAINT or WM_NCPAINT, so I can't intercept them, sorry.

Edit: I found a solution, calling the border overdraw function after receiving WM_SIZE, but with PostMessage (doesn't work with SendMessage).
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 4623
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC11.00b9 64-bit dark mode] Restore window size -> border colors wrong

Post by *white »

HISTORY.TXT wrote:30.06.23 Fixed: Synchronize dirs, dark mode: Overdraw result list border also after receiving WM_SIZE messages to avoid bright border (64)
Tested OK using TC 11.00b10 64-bit.
HISTORY.TXT only mentions Synchronize dirs, but it is also fixed for the Multi-Rename Tool.

Moderator message from: white » 2023-07-05, 18:31 UTC

Moved to Fixed bugs.
Post Reply