TC7rc4 - Compare By Content, file not saved when closing TC

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
white
Power Member
Power Member
Posts: 4619
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

TC7rc4 - Compare By Content, file not saved when closing TC

Post by *white »

TC7rc4 - Compare By Content, file not saved when closing TC

* Select two files and open the Compare contents dialog (menu Files/Compare By Content).
* Edit the contents of a file (actually change something). Do NOT save the file.
* Now close TC.

The Compare by content dialog is closed along with TC and all changes to the edited files are gone! :oops:
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

Confirmed!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

That's indeed a Delphi bug - the CloseQuery event for the current form isn't invoked if the main form closes. I will add code to handle that (as I already do in Lister).
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 4619
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

Fixed in TC7rc5.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks! :)
Author of Total Commander
https://www.ghisler.com
Post Reply