Different behavior between v6.54 and v7pb2 in FS plugins!!

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
djorge
Senior Member
Senior Member
Posts: 422
Joined: 2003-07-03, 12:48 UTC
Location: Portugal

Different behavior between v6.54 and v7pb2 in FS plugins!!

Post by *djorge »

Hi all, during development of my plugin PassStore i found a problem that was not hapening in version 6.54 and it is happening in v7pb2.

This happens when i close TC with plugin opened in some subdir. TC restarts and tries to open the plugin in that subdir.
But in version 7pb2 the plugin crashes. I went to trace the plugin in both versions.

if for instance i try i close TC without having the plugin open, when i start TC, and select the plugin subdir throught panel history, everything works ok. The problem only happens when TC during the startup process has to load the fs plugin.

Left side: v6.54
Righ side: v7pb2
[img]http://img169.imageshack.us/img169/3862/examdiffua2.png[/img]

In the image things are different beginning in line 20.
In 6.54
Entering FsFindFirst(\email)
in 7pb2
Entering FsFindFirst(\)

Some help please!!
______________________
David Jorge
Personal License #117854
djorge
Senior Member
Senior Member
Posts: 422
Joined: 2003-07-03, 12:48 UTC
Location: Portugal

Post by *djorge »

Now i am really confused.

My TB pb2 at work doesn't give the error.
And as we can see in the log file it has the same behavior of 6.54.

[img]http://img153.imageshack.us/img153/1328/lognewlc5.png[/img]

The fist FSFindFirst is correct.
Entering FsFindFirst(\Foruns\Legendas)
instead of

Code: Select all

Entering FsFindFirst(\)
What could change this behavior?
______________________
David Jorge
Personal License #117854
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48173
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

2djorge

Very strange indeed - can you send me your wincmd.ini from home (where it doesn't work), please?
Author of Total Commander
https://www.ghisler.com
djorge
Senior Member
Senior Member
Posts: 422
Joined: 2003-07-03, 12:48 UTC
Location: Portugal

Post by *djorge »

Yes. I think the problem is related with the ini file. I have tried with the ini from work in TC at home and the problem was gone, but i didn't found the problem yet.

Tomorrow i will sent you my ini.
______________________
David Jorge
Personal License #117854
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48173
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

OK, I found out what is causing this: Ther separate tree(s)!

If you enter the plugin, TC asks both for the contents of the entered folder and of the parent folders (if not yet shown).

So the root folder will be requested too. This is all done in the foreground thread and sequentially, so peoperly written plugins shouldn't cause any problems.

What problem exactly did you encounter?
Author of Total Commander
https://www.ghisler.com
Post Reply