Licence key import behavior in About window

Moderators: Hacker, petermad, Stefan2, white

Post Reply
krasusczak
Senior Member
Senior Member
Posts: 284
Joined: 2011-09-23, 10:35 UTC

Licence key import behavior in About window

Post 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
krasusczak
Senior Member
Senior Member
Posts: 284
Joined: 2011-09-23, 10:35 UTC

Re: Licence key import behavior in About window

Post 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 :)
User avatar
white
Power Member
Power Member
Posts: 5743
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Licence key import behavior in About window

Post by *white »

Confirmed with TC 11.51 32-bit and 64-bit.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50383
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Licence key import behavior in About window

Post 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.
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: Licence key import behavior in About window

Post 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?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50383
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Licence key import behavior in About window

Post 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.
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: Licence key import behavior in About window

Post 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.
Post Reply