TC8.0ß17 x64: "Add to submenu" Truncates Hotlist

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

TC8.0ß17 x64: "Add to submenu" Truncates Hotlist

Post by *karlchen »

Hello, Christian.

Thank you for adding the nice little convenience of "adding to submenu" when "adding current directory" to the directory hotlist.

Having said so, I am afraid that in the 64-bit version of Total Commander 8.0ß17, this new function Add to submenu has been combined with the undocumented and very surprising feature of truncating the whole directory hotlist right after the added new submenu entry. :shock:

How to reproduce:
  • Navigate to the folder which you want to add to the directory hotlist.
  • Launch the directory hostlist by pressing <ctrl>d. Cf. the unmodified state in this screenshot #1. It just serves to prove that there are 2 submenus and menu items below the 2 submenus.
  • Click on "Add current dir". Cf. screenshot #2
  • Tick the option "Add to submenu". Cf. screenshot #3
  • Select the first available submenu from the offered popup list, i.e. "Current User" in this example. Cf. screenshot #4. Confirm your selection by clicking on [OK].
  • Locate the newly added sub-menu item "Saved Games" in the "Current User" sub-menu. Compare the state of the complete directory hotlist to the initial state of the directory hotlist, before we added an item to a sub-menu.
    Cf. screenshot #5.
    All directory hotlist items, menus and single items, which follow the added new item have disappeared. The directory hotlist has been truncated right after the added new item.
    In case you do have a backup of your wincmd.ini compare the backup version to the current version using Total Commander "Compare by content" and you will find that the list has really been truncated.
Environment:
Windows 7 Home Premium, SP1, 64-bit, and Server 2008 R2
Total Commander 8.0ß17 64-bit

Note:
Following the same steps in Total Commander 8.0ß17 32-bit will add the new item correctly. The original directory hotlist will not be truncated or damaged in any way.

Kind regards,
Karl
--
P.S.:
This forum software has got the bad habit of truncating title strings. But you will only notice after you have pushed the post button. This is why the title has been shortened and rephrased.
The orignal title read: TC8.0ß17 x64: "Add to submenu" Truncates Directory Hotlist
MX Linux 21.3 64-bit xfce, Total Commander 10.52 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3299
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA »

[OT] Anyone knows the Stringnumber of "Add to submenu" ? [/OT]
Hoecker sie sind raus!
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Sir_SiLvA wrote:[OT] Anyone knows the Stringnumber of "Add to submenu" ? [/OT]
1741? (German: Zu Untermenü hinzufügen => English: Add to submenu)

Karl
MX Linux 21.3 64-bit xfce, Total Commander 10.52 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

P.S.:

The reported misbehaviour has been reproduced on
+ Windows Server 2003 Std SP2, 64-bit
+ Total Commander 8.0ß17 64-bit

Karl
MX Linux 21.3 64-bit xfce, Total Commander 10.52 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks for your report. I found a bug in the function which moves the existing items down by one position. I added Unicode support (for Unicode ini files), but made a mistake when testing whether the moved entry was empty or not. In principle, the error should occur only in one of 256 cases, or if the stack was set to all 0 (maybe this is the case on Server 2003).

Since this bug can cause data loss (although only directory hotlist entries), I have decided to release a new beta (17a) immediately. You can download it now from our homepage.
Author of Total Commander
https://www.ghisler.com
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hello, Christian.

Thanks a ton for spending Sunday morning on fixing the reported bugs (affecting directory hotlist and color configuration). Had not expected any feedback or fix so soon.
By the way, as the reported problem can be reproduced on Windows 7 64-bit, Server 2008 R2 and Server 2003 64-bit, it is highly unlikely that any particular (mis)feature of Server 2003 64-bit is involved.
Anyway, about to download and install and test beta 17a ....

Cheers,
Karl
MX Linux 21.3 64-bit xfce, Total Commander 10.52 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hello, Christian.

The reported bug affecting the new Add to submenu function in the directory hotlist in the 64-bit version of Total Commander has been fixed in Total Commander 8.0ß17a 64-bit.

The current folder is added to the selected submenu of the directory hotlist without truncating the rest of the directory hotlist.

Tested environments:

Total Commander 8.0ß17a 64-bit on
+ Windows 2003 Std SP2, 64-bit
+ Server 2008 R2 (64-bit)

Thanks once more for correcting the error so quickly.
Karl
MX Linux 21.3 64-bit xfce, Total Commander 10.52 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Great, thanks for your quick feedback! Strangely I didn't have this problem on Windows 7, otherwise I would have noticed it before the release of TC 8 beta 17...
Author of Total Commander
https://www.ghisler.com
Post Reply