Long delay on loading menus

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
valdeEdius
Junior Member
Junior Member
Posts: 10
Joined: 2014-12-02, 09:07 UTC
Location: United States

Long delay on loading menus

Post by *valdeEdius »

Hello,

When I am using a portable version of total commander, and I go to a new computer, when I click one of my custom bar menus it has to propagate through many folders and layers of menus to create icons. This often results in a long "lag" or "freeze" or "halt" of total commander. it often becomes unresponsive momentarily. Once I've loaded the bar once, this problem is gone - so my question is if there is some way to preload all the bars at once in a batch file that launches total commander, or some way at start?
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7024
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

Something is wrong with your portable installation.
TC caches the icons for all bars in files named *.br2
This files are stored at the same place as the *.bar files.
May be you don't have write access to the br2 files ?
valdeEdius
Junior Member
Junior Member
Posts: 10
Joined: 2014-12-02, 09:07 UTC
Location: United States

Post by *valdeEdius »

I have read/write access to the .br2 files, but it kinda feels like when I go onto a new computer for first time it has to verify icons exist. Or maybe load icons themselves into computer's cache. It's hard for me to say exactly since I'm just experiencing the symptoms.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50923
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The computers may have different color depths or default colors, which forces TC to re-read the .br2 files.
Author of Total Commander
https://www.ghisler.com
valdeEdius
Junior Member
Junior Member
Posts: 10
Joined: 2014-12-02, 09:07 UTC
Location: United States

Post by *valdeEdius »

Yeah, that would make sense and does correlate with patterns of experience by memory. Cause it isn't EVERY computer, only some that feel like older or fancier rigs specifically. Is there a way to prevent this via a batch file that opens tc or anything?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50923
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

No, but you can use separate TC installations on the same stick which use separate bar files. Or set an environment variable before starting TC, and use that env var to point to different bar files in wincmd.ini.
Author of Total Commander
https://www.ghisler.com
Post Reply