AppData\Local\Ghisler gets created, settings elsewhere

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

volketi
Junior Member
Junior Member
Posts: 7
Joined: 2006-12-16, 19:47 UTC
Location: Ambiorix City aka Tongeren
Contact:

AppData\Local\Ghisler gets created, settings elsewhere

Post by *volketi »

Hello,
I started using TC v8.0 x64.
Plugin use I trimmed down to Fileinfo due to compatibility issues, and might have even skipped that as it crashes checking out certain types of files... I read it is a known Fileinfo feature so far. Next.
My settings I chose to install in the User directory, being <user>AppData\Roaming\Ghisler, where settings & plugins are installed.
OK.
Since using v8.0 I am noticing <User>AppData\Local\Ghisler gets created by external calls apparently. It remains empty. Hidden and system files are supposed to visible. x64.
Odd.
I remove the directory upon notice. using Shift+Delete.
The directory remains there.
Odd.
I Shift+Delete again the directory. Done.
I have to do this quite often apparently.
Nothing in my TC'ini refers to the \AppData\Local. Using TC for years (non x64 version) this did not happen. So now using the x64 this annoyance. And the fact it 'looks' empty but has to be Shift+Deleted twice.

I did some search in the forums but nothing found at first|second.
??
Last edited by volketi on 2012-05-24, 23:13 UTC, edited 1 time in total.
volketi
Junior Member
Junior Member
Posts: 7
Joined: 2006-12-16, 19:47 UTC
Location: Ambiorix City aka Tongeren
Contact:

Post by *volketi »

Also,

I looked with Windows Explorer in the 'empty' directory. Also 'empty', hidden and system files supposed to be visible.
2x Sh+Del, and again and again.
Admin elevated or not: no difference.
Using solely TC and the 1 plugin the directory does not get created. It happens upon 'certain' external events apparently. Which makes it rather malicious.
I especially did an uninstall of 7.57a before installing TC v8.0 x64. Now this :roll: :evil: :roll:

Perhaps some code somewhere is saying 'hey settings should be stored there'... I don't know, just guessing/trying to figure out the 'why oh why'. TC upon installation choosing the user's appdata goes to \roaming.

AV used/in use: Microsoft's, it's their OS.
User avatar
theosdikaios
Senior Member
Senior Member
Posts: 228
Joined: 2006-02-04, 13:02 UTC

Post by *theosdikaios »

AFAIR %$LOCAL_APPDATA% is used for caching purposes i.e. thumbnail database and so on...
"Since there are many things which have never happened and never will happen,
and which nevertheless are clearly conceivable, and imply no contradiction,
how can one say they are absolutely impossible?" Leibniz
volketi
Junior Member
Junior Member
Posts: 7
Joined: 2006-12-16, 19:47 UTC
Location: Ambiorix City aka Tongeren
Contact:

Post by *volketi »

-I don't use the TC thumbnail database, besides that would make some file one can see
-in Windows terms it's %LocalAppData%, %AppData% is the user's \roaming dir, see the command 'set' (basic set)
-this did not happen using any previous final release, of course this being the first x64 release glitches may appear and become apparent
-still doing that Sh+Del twice or once on the 'empty' dir on occasion
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hello, volketi.

The folder "%LOCALAPPDATA%\Ghisler" exists here, too. And there are 2 .db thumbnail cache files in it, created by Total Commander 32-bit.
I cannot tell you whether they have initially been created by T.C. 7.5x 32-bit or by T.C. 8.0 32-bit. Yet, I can assure you with absolute certainty that the folder and the files have been created by a 32-bit Total Commander version.
Creating and using this folder is nothing which is done by the 64-bit edition only.
So this is part of the expected behaviour and not a bug.

Whether or not "%LOCALAPPDATA%\Ghisler" will hold any files seems to depend on the following settings:
Configuration => Options => Thumbnails.

--
[Added]
Have just removed the files under "%LOCALAPPDATA%\Ghisler" and closed T.C. 8.0.
Have launched T.C. 7.57a next and view thumbnails in a folder.
Voilà, the files are back.
Same behaviour can be seen using T.c. 7.56a.
So it is nothing specific to T.C. 8.0.
And it behaves as designed by the programme author.
[/Added]

Conclusion:
theosdikaios is right. What you reported is normal behaviour, no bug involved.

Kind regards,
Karl
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
umbra
Power Member
Power Member
Posts: 876
Joined: 2012-01-14, 20:41 UTC

Post by *umbra »

2volketi
What is you point? %LOCALAPPDATA% exists so applications can store any computer specific data (like cache) in there. Why do you think it's bad, that TC uses that folder? Also, it's not a new behavior, TC 7.56 creates that folder the moment you open Configuration->Options->Thumbnails (if they are enabled). And as for the inability to delete that folder - no such problems here.
Windows 10 Pro x64, Windows 11 Pro x64
volketi
Junior Member
Junior Member
Posts: 7
Joined: 2006-12-16, 19:47 UTC
Location: Ambiorix City aka Tongeren
Contact:

Post by *volketi »

I am using TC for like a decade so far, thinking about it, like one and a half.

2Umbra & 2karlchen: About the thumbnails: I do not use the TC thumbnails database. When previously using TC v7.57a there was never a Ghisler folder in %LocalAppData%, I haven't used that option in years. And in years I never had a Ghisler folder in %LocalAppData%.
The Configuration is the same as I have been using with earlier version, where like I said, never was a %LocalAppData%\Ghisler folder, only the &AppData%\Ghisler.
My Configuration->Thumbnails->Database Location is empty and only the 'Show custom fields below thumbnails' option is used, an option which never created the extra \Ghisler folder. So concerning the Non-usage of thumbnails the folder should not be created.

Other than that: like I said, using TC and only TC functioning does not create the folder. I have been fiddling and it does not get created.
Again, the folder gets created when performing certain action in/related to other programs. That behaviour never occured before.

E.g. of just now.
There is no %LocalAppData%\Ghisler present. OK. And has not been created using TC, TC functioning and running a couple of games from TC, to see some difference.
OK, no folder created. Might perhaps happen running some other games I am sure.
I start the Internet browser, outside TC, and save a file.
I edit that file, by opening it using TC, and save it.
No %LocalAppData%\Ghisler folder created.
I Sh+Del that file.
The %LocalAppData%\Ghisler folder gets created, 'empty', time of folder creation related to the removal of the file.
Sh+Del once this time for the obscure folder.

It is an example like I am encountering various. And there is correlation.

Like I said: That behaviour never occured before, v7.57a and below.

Also, using Win7x64U (legit what'd ya reckon).
Last edited by volketi on 2012-05-25, 13:19 UTC, edited 1 time in total.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6975
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

As it was already said:
%LOCALAPPDATA% exists so applications can store any computer specific data

If you don't like it or it hurts you, stop using TC
and don't waste our time with useless discussions.
volketi
Junior Member
Junior Member
Posts: 7
Joined: 2006-12-16, 19:47 UTC
Location: Ambiorix City aka Tongeren
Contact:

Post by *volketi »

2Horst.Epp: I am aware of the usage of %LocalAppData%. Yet the Ghisler settings are in %AppData%.
Up to v7.57a a Ghisler folder in %LocalAppData% was never created when not using Thumbnails and still not using that option, thus why all of a sudden an always empty folder there??

That is not a useless question. If TC requires additional files, e.g. caches to be present there, no problem. But there is nothing visible.

If it is necessary for TC to have one there: no problem, though it never has when not using thumbnails.
User avatar
white
Power Member
Power Member
Posts: 5810
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

Problem confirmed using Windows XP and TC 8.0 32bit. Problem not present in TC 7.57a 32bit.

I disabled thumbnail caching (leave database location empty), restarted TC and renamed Local Settings\Application Data\GHISLER to Local Settings\Application Data\GHISLER2.

When using TC 7.57a the folder GHISLER is renamed to GHISLER2.
When using TC 8.0 the folder GHISLER is renamed to GHISLER2 and folder GHISLER is recreated.
umbra
Power Member
Power Member
Posts: 876
Joined: 2012-01-14, 20:41 UTC

Post by *umbra »

Not confirmed in Win7 nor in Win8. So if it really happens, it must be WinXP specific.
BTW, that directory is not just for thumbnails - if a drive root is unwritable, *.wc files for Directory Tree are stored there too (and who knows what else).

EDIT:
Ok, scratch that. I just reproduced it too using TC8 x32 and x64. Steps to reproduce it are very simple. If 'AppData\Local\GHISLER\' exists, when TC is started, the first attempt to rename/delete it will recreate it.
But my original opinions stays - is it really such a big issue?
Windows 10 Pro x64, Windows 11 Pro x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

AFAIR %$LOCAL_APPDATA% is used for caching purposes i.e. thumbnail database and so on...
This is correct, it's used for things like the thumbnails. Not a bug.
Author of Total Commander
https://www.ghisler.com
Biozynotiker
Member
Member
Posts: 164
Joined: 2011-03-22, 09:57 UTC
Location: Germany

Post by *Biozynotiker »

ghisler(Author) wrote:This is correct, it's used for things like the thumbnails. Not a bug.
Sure, but if the path is not defined in the config menu, caching is disabled.
But why TC8 creating a folder in %LOCAL_APPDATA%, when caching is disabled?
TC7.x behavior is the better one, imho (portable usage).
#92832
User avatar
HolgerK
Power Member
Power Member
Posts: 5409
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

volketi wrote:...
I edit that file, by opening it using TC, and save it.
No %LocalAppData%\Ghisler folder created.
I Sh+Del that file.
The %LocalAppData%\Ghisler folder gets created, 'empty', time of folder creation related to the removal of the file.
Sh+Del once this time for the obscure folder.

It is an example like I am encountering various. And there is correlation.

Like I said: That behaviour never occured before, v7.57a and below.
Not confirmed.
The %LocalAppData%\Ghisler folder is always created here (also in TC7.57a or e.g 7.04, 6.56) but only for the first time you use Shift+Del during a TC-session.

It may be a behavior that could be done better, but it's not a new bug introduced with TC 8.

Regards
Holger
User avatar
white
Power Member
Power Member
Posts: 5810
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

HolgerK wrote:Not confirmed.
The %LocalAppData%\Ghisler folder is always created here (also in TC7.57a or e.g 7.04, 6.56) but only for the first time you use Shift+Del during a TC-session.
Did you disable thumbnail caching and restart TC? What exactly did you do causing the folder to be created? I can only reproduce creation of the folder using TC 8 beta 10 and later versions, not when using TC 8 beta 9 and earlier versions. (tested only 32 bit versions)

Edited: Changed "Did you disable thumbnails" into "Did you disable thumbnail caching"
Last edited by white on 2012-05-30, 06:55 UTC, edited 1 time in total.
Post Reply