Page 1 of 1

Licence key import behavior in About window

Posted: 2025-03-01, 11:30 UTC
by krasusczak
Hello,

I found funny behavior with license key, not sure if this is a bug but just a strange behavior.
When you have a wincmd.key you can just run it & it will ask you if you want to use it or not, so:
1. Start TCM without any wincmd.key
2. run any wincmd.key
3. Click No or Cancel
4. In main window title you have NOT REGISTERED but in About window you have info about registration & it will stay there until full TCM reboot


Tested: Win7, TCMx32 11.51

Re: Licence key import behavior in About window

Posted: 2025-03-01, 11:39 UTC
by krasusczak
Ok I goes even further & tested different scenario:
1. Start TCM with 1 wincmd.key
2. run different wincmd.key
3. Click No or Cancel
4. In main window title you have 1 registration but in About window you have info about new registration & it will stay there until full TCM reboot

So in general in About you will have always last execution of wincmd.key doesn't matter if imported or not :)

Re: Licence key import behavior in About window

Posted: 2025-03-01, 12:17 UTC
by white
Confirmed with TC 11.51 32-bit and 64-bit.

Re: Licence key import behavior in About window

Posted: 2025-03-02, 08:15 UTC
by ghisler(Author)
Total Commander loads the key to check whether it is valid or not. If not, it doesn't offer to install the key.

Re: Licence key import behavior in About window

Posted: 2025-03-02, 10:07 UTC
by white
ghisler(Author) wrote: 2025-03-02, 08:15 UTC Total Commander loads the key to check whether it is valid or not. If not, it doesn't offer to install the key.
So why is the license shown in the About screen when it is not installed?

Re: Licence key import behavior in About window

Posted: 2025-03-04, 08:16 UTC
by ghisler(Author)
Currently the license is temporarily loaded until the next start of Total Commander, but the license key isn't installed (neither to the program directory nor to the registry). It would probably be better to revert to the previously installed license or no licence.

Re: Licence key import behavior in About window

Posted: 2025-03-04, 12:14 UTC
by white
ghisler(Author) wrote: 2025-03-04, 08:16 UTC Currently the license is temporarily loaded..
It is nontransparently half loaded. It isn't clear for the user that the license is loaded and the license is not shown in the title bar.
ghisler(Author) wrote: 2025-03-04, 08:16 UTC It would probably be better to revert to the previously installed license or no licence.
Better yet, don't load it in the first place. If you want to use the load function to test whether it is a valid key file, simulate loading instead of loading it for real.