Arrow icon bug in dark mode

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
Xtreme1
Junior Member
Junior Member
Posts: 5
Joined: 2013-09-05, 08:42 UTC

Arrow icon bug in dark mode

Post by *Xtreme1 »

Mr Ghisler, I would like to report a small Ui bug in "Dark mode".
In "Show" menu, arrow icons are overlayed to that of light mode.
Example:
Image: https://images2.imgbox.com/ea/37/WAhodSoh_o.jpg
Thanks for the great software! :)
User avatar
white
Power Member
Power Member
Posts: 4594
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Arrow icon bug in dark mode

Post by *white »

User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Arrow icon bug in dark mode

Post by *petermad »

Confirmed both under Windows 7 and 10 and both 32bit and 64bit TC 10.50.
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: Arrow icon bug in dark mode

Post by *ghisler(Author) »

Unfortunately this cannot be avoided. The dark arrow images are drawn by Windows itself, the white ones are drawn by my code. There doesn't seem to be a way to avoid the dark ones.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Arrow icon bug in dark mode

Post by *petermad »

2ghisler(Author)
Would it be possible to give the dark ones the same color as the menu background?
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: Arrow icon bug in dark mode

Post by *ghisler(Author) »

No, if I could change their color I would just tell Windows to use white for them (or light gray). But they are drawn the same as in normal mode.
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: Arrow icon bug in dark mode

Post by *white »

ghisler(Author) wrote: 2022-07-19, 12:51 UTC No, if I could change their color I would just tell Windows to use white for them (or light gray). But they are drawn the same as in normal mode.
So when Microsoft fixes that, we will have a clearly visible double arrow.
Paul Mountit
Junior Member
Junior Member
Posts: 66
Joined: 2020-04-18, 21:04 UTC

Re: Arrow icon bug in dark mode

Post by *Paul Mountit »

can't you draw the white ones exactly over the black ones?
not a big issue, anyway. if you use dark theme and you have a dark backround, the black ones are almost invisible in normal use. to notice them you have to zoom in a screenshot.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Arrow icon bug in dark mode

Post by *ghisler(Author) »

Actually the black ones are drawn AFTER the white ones! That's why the white ones are shifted to the left, so they don't get overdrawn by the black ones! In am owner-drawn menu item, Windows tells the program to draw the menu item and THEN draws this triangle on top. That's the whole problem, it would be easy to overdraw if windows would draw the triangle first...
Author of Total Commander
https://www.ghisler.com
Xtreme1
Junior Member
Junior Member
Posts: 5
Joined: 2013-09-05, 08:42 UTC

Re: Arrow icon bug in dark mode

Post by *Xtreme1 »

in notepad++ for example, the arrow icon is different. It's possible change style for fix this?
Example:
Image: https://imgbox.com/AkuYFi0N
User avatar
white
Power Member
Power Member
Posts: 4594
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Arrow icon bug in dark mode

Post by *white »

Xtreme1 wrote: 2022-07-21, 07:30 UTC in notepad++ for example, the arrow icon is different.
Actually, that's the way it looks in Windows Explorer and Notepad as well.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Arrow icon bug in dark mode

Post by *ghisler(Author) »

I'm not aware of a way to make this arrow owner drawn, or change the main menu to dark mode. If anyone has an idea, please let me know.
Author of Total Commander
https://www.ghisler.com
Post Reply