(beta6) Dark mode: menus bug

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
CAP-Team
Junior Member
Junior Member
Posts: 44
Joined: 2006-09-19, 12:43 UTC
Location: Netherlands

(beta6) Dark mode: menus bug

Post by *CAP-Team »

Image: https://tweakers.net/ext/f/IUG1n7BCK62kU2hq37FRp2pU/full.png

In dark mode, on 200% dpi scaling, the menu doesn't look good in dark mode.
In normal mode it is OK.
User avatar
petermad
Power Member
Power Member
Posts: 16098
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: (beta6) Dark mode: menus bug

Post by *petermad »

Actually if I look closer, even in 100% DPI scaling, there are two arrows at submenus i Dark mode, one white one and one black one a little to the right of the white arrow - see: https://madsenworld.dk/tcmd/doublemenuarrow.png
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50824
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: (beta6) Dark mode: menus bug

Post by *ghisler(Author) »

This is actually a hack I'm using: This black triangle is drawn by Windows itself AFTER I draw the menu item. So when I draw a white triangle in the correct position, it will be immediately overdrawn by Windows. So my solution was to draw the white triangle to the left of the correct position.
Author of Total Commander
https://www.ghisler.com
Post Reply