[TC10.50b7] buttonbar: wrong tooltip and command in contextmenu

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

Moderators: Hacker, petermad, Stefan2, white

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

[TC10.50b7] buttonbar: wrong tooltip and command in contextmenu

Post by *white »

  • Open the Change button bar dialog
  • Click Add
  • Enter command -27
    (this command is not supported, but enter it anyway)
  • Enter icon file: WCMICONS.DLL
  • Choose an icon
  • Click OK
If you use the internal English language, the tooltip shown for this button and the command shown in the context menu is:
-27
If you use any other language, the tooltip shown for this button and the command shown in the context menu is:
Change Attributes dialog: +f (subfolders), +a/-a +r/-r +h/-h +s/-s +L/+L2 +c +dDate +tTime Plugin_settings
User avatar
petermad
Power Member
Power Member
Posts: 16027
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC10.50b7] buttonbar: wrong tooltip and command in contextmenu

Post by *petermad »

2white
That is because -27 actually refers to the OPENATTRIBUTES command as you can see in the wcmd_LNG.inc files.

But it is peculiar that when using internal English dialog it shows -27 in the tooltip and that it with ANY other language shows the English txt "Change Attributes dialog: +f (subfolders), +a/-a +r/-r +h/-h +s/-s +L/+L2 +c +dDate +tTime Plugin_settings" and not the text from the wcmd_LNG.inc file for the current language.

If you chose a command that does not refer to a command with parameters like -28, then the tooltip shows -28 both with Internal English and with all other languages.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
white
Power Member
Power Member
Posts: 5785
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC10.50b7] buttonbar: wrong tooltip and command in contextmenu

Post by *white »

petermad wrote: 2022-05-31, 22:10 UTC That is because -27 actually refers to the OPENATTRIBUTES command as you can see in the wcmd_LNG.inc files.
I know.
petermad wrote: 2022-05-31, 22:10 UTC But it is peculiar that when using internal English dialog it shows -27 in the tooltip and that it with ANY other language shows the English txt "Change Attributes dialog: +f (subfolders), +a/-a +r/-r +h/-h +s/-s +L/+L2 +c +dDate +tTime Plugin_settings" and not the text from the wcmd_LNG.inc file for the current language.
Exactly.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50475
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC10.50b7] buttonbar: wrong tooltip and command in contextmenu

Post by *ghisler(Author) »

I agree, I shouldn't use negative numbers for the description here.
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 5785
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC10.50b7] buttonbar: wrong tooltip and command in contextmenu

Post by *white »

HISTORY.TXT wrote: 01.06.22 Fixed: Button bar: A negative number in the command field like -27 was shown with a hint for the corresponding command with parameters when using external language files (32/64)
Tested OK using TC10.508b 32-bit and 64-bit.

Moderator message from: white » 2022-06-01, 18:31 UTC

Moved to Fixed bugs.
Post Reply