[inireloc 20040916] Filenames of ini files not always displayed

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: 5743
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

[inireloc 20040916] Filenames of ini files not always displayed

Post by *white »

The final screen of the inireloc tool shows what the new ini file locations and names will be. However, if the path is long, the full filename is simply cut off. (screenshot)

At least the filename part (without the path) should always be shown. They might be different than the default filenames.
User avatar
white
Power Member
Power Member
Posts: 5743
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [inireloc 20040916] Filenames of ini files not always displayed

Post by *white »

Moderator message from: white » 2023-02-09, 12:02 UTC

A reply posted here seems to have been posted in wrong thread. Moved this reply from this thread to [inireloc 20040916] Filename for wcx_ftp.ini file defaults to wincmd.ini.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [inireloc 20040916] Filenames of ini files not always displayed

Post by *ghisler(Author) »

This should be fixed in inireloc 2 beta 1, please test it:
https://www.totalcommander.ch/beta/inireloc2_beta1.zip

I have made the following changes:
20241121 Fixed: Long paths were cut in final confirmation dialog
20241121 Fixed: When saving ini file locations for all users, save them both for 32-bit and 64-bit versions
20241121 Fixed: When running the tool before the Total Commander installer (no registry entries present), both ini files were set to wincmd.ini
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 5743
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [inireloc 20040916] Filenames of ini files not always displayed

Post by *white »

ghisler(Author) wrote: 2024-11-21, 10:03 UTC 20241121 Fixed: Long paths were cut in final confirmation dialog
Confirmed with inireloc 2 beta 1.

The paths are shortened before the filename. However, this solution is not ideal. Often it is also important to see (part of) the deepest folder. Would it be possible to shorten the full path in the middle?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [inireloc 20040916] Filenames of ini files not always displayed

Post by *ghisler(Author) »

I can't control it myself, I just set the SS_PATHELLIPSIS flag to the edit control. The alternative would be SS_ENDELLIPSIS, which would just cut the string at the end and show "..." there.
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 5743
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [inireloc 20040916] Filenames of ini files not always displayed

Post by *white »

ghisler(Author) wrote: 2024-11-22, 10:41 UTC I can't control it myself, I just set the SS_PATHELLIPSIS flag to the edit control. The alternative would be SS_ENDELLIPSIS, which would just cut the string at the end and show "..." there.
Thanks for the explanation. Since the reported issue is fixed, I will move this thread to Fixed bugs.

Moderator message from: white » 2024-11-22, 12:02 UTC

Moved topic
» from TC11.x bug reports (English) to TC Fixed bugs
Post Reply