[Bug] A problem with desript.ion file

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
iNSiDE
Junior Member
Junior Member
Posts: 23
Joined: 2007-03-27, 19:15 UTC
Location: Belarus, Minsk

[Bug] A problem with desript.ion file

Post by *iNSiDE »

Create a folder named as this:

Code: Select all

Folder   123
(with some spaces before "123"). Then create a comment for it. The contents of the descript.ion file:

Code: Select all

"Folder   123" Comment
And now rename a folder. Just delete "123", don't delete spaces. Of course the spaces will be deleted by TC. The text in descript.ion:

Code: Select all

"Folder   " Comment
But it should be as this:

Code: Select all

"Folder" Comment
- without spaces.
As a result the comment loses. Is it a Bug?
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

Yay, it is! Confirmed!
I switched to Linux, bye and thanks for all the fish!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I just checked it - Total Commander isn't cutting off the spaces at the end, but Windows does it by itself in the MoveFileEx function! I will cut them off myself in TC so both are the same.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Should work OK now in RC2, please check!
Author of Total Commander
https://www.ghisler.com
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

Fixed in TC7 rc2. :-)
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
iNSiDE
Junior Member
Junior Member
Posts: 23
Joined: 2007-03-27, 19:15 UTC
Location: Belarus, Minsk

Post by *iNSiDE »

I'm afraid this bug is not completely fixed in Multi-Rename tool, I have just checked this... :( Try to add spaces using it. Maybe this also should be fixed?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

It's currently not done in the MRT, only in the normal rename function.
Author of Total Commander
https://www.ghisler.com
User avatar
iNSiDE
Junior Member
Junior Member
Posts: 23
Joined: 2007-03-27, 19:15 UTC
Location: Belarus, Minsk

Post by *iNSiDE »

But when it will be done? I think it's wrong behaviour and it should be fixed.
Post Reply