Bug?: search in FS-plugin
Moderators: Hacker, petermad, Stefan2, white
Bug?: search in FS-plugin
Hello All,
Picture (use download managers)
Is this a bug of my FS-plugin or bug in TC 6.53? I mean nested folders, see picture. If I go to that site by hand, I cannot see that nested folders, of course.
And - this happens only on _first_ plugin search.
It not happens: when I select this site and do "Only search in selected dirs".
Picture (use download managers)
Is this a bug of my FS-plugin or bug in TC 6.53? I mean nested folders, see picture. If I go to that site by hand, I cannot see that nested folders, of course.
And - this happens only on _first_ plugin search.
It not happens: when I select this site and do "Only search in selected dirs".
Last edited by Alextp on 2005-10-09, 14:08 UTC, edited 1 time in total.
2Botak
Please try with version 1.1, because with v1.0 it not happens.
Please try with version 1.1, because with v1.0 it not happens.
Thanks, I found the bug!Botak wrote:My other remark still stands, it does not search subfolders.
When FsFindFirst called in browse mode, I get path='\domain'.
But when its called from search, I get path='\domain\'.
I don't expect last '\', and fill FindData with random data.
2Ghisler
You should write in FsFindFirst description that path may end with '\', when search is performed!
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I'm sorry for the problems, this is something which even I didn't know...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This is problematic because then some plugins may stop working which expect this behaviour, or work only in TC 7 and not older versions...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This should work - at least it works here with the plugins I tried. Perhaps you need to check in a debugger what happens in your plugin.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I observed a kind of buggy behaviour: It is not possible to jump to files or directories (using the 'Go to file' button) if the path to this file or dir contains a forward slash '/'. Such a '/' is unfortunately inevitable by my MKS FS plugin.
tbeu
tbeu
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I see - I will check that. Maybe it's because TC looks for / and \ as name separators here.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com