[TC 11.50] PluginBaseDir automatically changed

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

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

Re: [TC 11.50] PluginBaseDir automatically changed

Post by *ghisler(Author) »

TC's plugin installer looks for the first occurrence of a plugin type. Since WDX comes alphabetically before WLX, Windows returns it first when searching subdirectories, so the WLX plugin under the WDX directory will be found first. When there are plugins of the same type scattered across multiple directories, TC cannot "know" which would be the preferred location. In my fix of the above bug, I now ignore directories which contain plugins of multiple types, e.g. one WLX and one WDX plugin in the same directory.
Author of Total Commander
https://www.ghisler.com
User avatar
Gral
Power Member
Power Member
Posts: 1600
Joined: 2005-01-26, 15:12 UTC

Re: [TC 11.50] PluginBaseDir automatically changed

Post by *Gral »

TC should mimics human logic.
Imagine that you hold two balls in your hands - green and red - you have to put them in large boxes where there are already other balls - in the first there are 99 green balls and one red, in the second 99 red and one green. Where do you put the two new balls? In your opinion - both in the first box! Why? What is the logic here?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50383
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.50] PluginBaseDir automatically changed

Post by *ghisler(Author) »

That would be useful, but would be very different from how it's done now, so it could break a lot of installations. I will therefore not change this for now, sorry - maybe in a later major version.

Moderator message from: ghisler(Author) » 2025-01-22, 10:32 UTC

Moved to will not be changed
Author of Total Commander
https://www.ghisler.com
Post Reply