Column definition in Vista

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
mterwoord
Junior Member
Junior Member
Posts: 7
Joined: 2007-07-27, 08:28 UTC

Column definition in Vista

Post by *mterwoord »

Hi,

I recently switched to TC7 and to Vista. After switching to vista, TC looses the information regarding the column widths. It looses the information between TC sessions, and also when hitting ctrl+r.

Any tips to work around this or is this a real bug?

Regards,

Matthijs ter Woord
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Maybe you don't have write permission to your wincmd.ini file?
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
mterwoord
Junior Member
Junior Member
Posts: 7
Joined: 2007-07-27, 08:28 UTC

Post by *mterwoord »

Don't think it has to do with that. Other settings (ZIP compression level, language, folder tabs, etc) are remembered correctly. Btw, i just found out the ctrl+r occassion is not always occurring...

Regards,

Matthijs ter Woord
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Have you any kind of ini file redirection enabled - eg:

Code: Select all

[1024x768 (8x16)]
RedirectSection=user.ini
Or could you perhaps have changed your screen resolution in between - the tabstop settings are resolution dependant.
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
mterwoord
Junior Member
Junior Member
Posts: 7
Joined: 2007-07-27, 08:28 UTC

Post by *mterwoord »

No, i don't have any redirections. I use c:\windows\wincmd.ini. I see the changes i made before using the same permissions setup and same installation. I also see the tabstops, the first one is 90, which is (assuming it's pixels) far too small.
User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

Post by *roentgen »

2mterwoord
Vista uses virtualization to maintain compatibility with "disoriented" programs and users that try to write in machine restricted areas.

Virtualization means among other things that if a program tries to write in "c:\windows\wincmd.ini" it is instead redirected into "c:\Users\%username%\AppData\Local\VirtualStore\Windows\wincmd.ini"

If I may express a personal opinion: the windows directory should not be confounded with recycle bin. Write settings and other personal data in user designated directories. The same policy is in force in Windows XP too, but still, after more than 5 years since its release, there are programs which behave in MSDOS style.
TC for Linux please!
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I also see the tabstops, the first one is 90,
The [Tabstops] section is ONLY used if not stored for current display resolution!

Otherwise the tabstops are read from either the resolution section that matches your current screen resolution eg: [1024x768 (8x16)], [1152x864 (8x16)], [1280x960 (8x16)], [1280x1024 (8x16)], [1400x1050 (8x16)] and so forth - or it is read from the [AllResolutions] section, which you have to manually put in wincmd.ini.
I use c:\windows\wincmd.ini
Under Windows Vista you usually don't have write permission to c:\windows AFAIK - se also roentgen's answer.
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
mterwoord
Junior Member
Junior Member
Posts: 7
Joined: 2007-07-27, 08:28 UTC

Post by *mterwoord »

I modified the permissions on wincmd.ini so that it is writable. As i said, i also changed other settings (F4 editor, zip compression level, etc) all these settings are saved fine, except the tabstops. How can i change where TotalCmd stores the ini file?
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2mterwoord
How can i change where TotalCmd stores the ini file?
You could use the Inireloc tool: https://plugins.ghisler.com/addons/inireloc.zip
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
mterwoord
Junior Member
Junior Member
Posts: 7
Joined: 2007-07-27, 08:28 UTC

Post by *mterwoord »

It looks like it's a real bug. I relocated the ini files to my user directory, but when i then the problem doesn't change a thing.
User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

Post by *roentgen »

2mterwoord
Did you save settings after changing column widths? Configuration / Save settings or cm_ConfigSaveSettings in TC command line.
TC for Linux please!
mterwoord
Junior Member
Junior Member
Posts: 7
Joined: 2007-07-27, 08:28 UTC

Post by *mterwoord »

I didn't explicitly save settings, but in the past these settings were saved, afaik. This does the trick however.
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

mterwoord wrote:but in the past these settings were saved, afaik.
Have you checked
Configuration / Operation: "Save on exit" (expecially "Panels (brief, full, etc.)")?
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
mterwoord
Junior Member
Junior Member
Posts: 7
Joined: 2007-07-27, 08:28 UTC

Post by *mterwoord »

Yes, all the Save On Exit settings are checked.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Columns widths and window size are ONLY saved when you choose "Save position" or "Save settings". They have never been saved automatically. The idea behind this is that you can just restart TC if you have mixed up the widths or the program size.
Author of Total Commander
https://www.ghisler.com
Post Reply