solved [TCA 3.40b4] Bug in setting background color for Editor

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

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

solved [TCA 3.40b4] Bug in setting background color for Editor

Post by *petermad »

If TCA is in Dark mode it is not possible to set the background color for the Editor to FFFFFF - it will be reverted to 303030 (and the foreground color to FFFFFF).

It is possible to set the background to for example FEFEFE (with foreground as 000000) though, just not pure white.
Last edited by petermad on 2022-12-22, 18:54 UTC, edited 1 time in total.
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
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TCA 3.40b4] Bug in setting background color for Editor

Post by *petermad »

Can anybody confirm this :?:

I can reproduce it on two different phones with Android 6 and 13.
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: [TCA 3.40b4] Bug in setting background color for Editor

Post by *ghisler(Author) »

I can confirm the problem. The reason is that it's stored as FFFFFFFF (the 4th byte is for transparency) which is -1 and is interpreted as "not saved". I will add an extra check. Just use FFFFFE in the meantime, you will not be able to see a difference.
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: [TCA 3.40b4] Bug in setting background color for Editor

Post by *petermad »

This issue has been solved in TCA 3.40 final :-)
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
Post Reply