I noticed it today in TCx32 8.50b13, and I can reproduce it with clean INI, and I can't reproduce it with previous betas or 8.01. Tested using Win7x64SP1.
Steps are:
1. Start TC with clean INI.
2. Enter C:\PerfLogs dir (or any other dir which is not allowed to access w/o elevation) and choose 'As Administrator' option. Moment X.
3. Copy any file from another panel to C:\PerfLogs, choose 'As Administrator'. Moment X.
4. Re-enter C:\PerfLogs some times. Moments X.
Moment X: TC may show empty folder with the only '..' item, or it may show empty panel (even w/o '..' item) with path c:\, or it may show wrong items (probably taken from different dir; '..' item may also be absent), or it may switch to TC dir, and it copes file to wrong dir too.
I think it may be related to switching to safe dir when TC loses focus.
+[8.50b13] Bad work with user-restricted dirs via elevation
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50861
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Thanks, this seems to be related to moving many functions to background threads. The problem is that SetCurrentDirectory fails with these locations, because only the Administrator account can reach them. I will check how this error was handled in beta 12, and check whether it can be handled with multi-threading too.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50861
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
- ghisler(Author)
- Site Admin
- Posts: 50861
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact: