Slavic Junior Member

Joined: 26 Feb 2006 Posts: 91 Location: Moscow, Russia
|
Posted: Fri Apr 13, 2018 7:40 am Post subject: TC 9.12: Unstable list of content of Android device |
|
|
Total Commander is not always able to re-read the Android 8 device (Nexus 5X with Android 8.1 in my case) and show the content of internal storage. Often (but not always) the list is empty. Windows Explorer, on the other side, shows the content correctly.
How to reproduce:
1) Connect the device to PC. By default, it is connected for charging, so switch to "Transfer files" USB mode on the device (it was called MTP mode on previous Android versions).
2) On TC, select the device in the drop-down list, you should see "Internal shared storage", go into it and after a very small delay, like a half of second, you will see the directory list.
3) On device, change USB mode to "Charge this device", then re-read the content on TC (Ctrl+R or the toolbar icon). You will see the empty "Internal shared storage". (This is only a remembrance of previous path; if you go up, it disappears and you will see the empty device. But please don't change it for test.)
4) On device, switch back to "Transfer files". On TC, re-read the content again. In most cases, nothing appears. Sometimes it apparently works, but the content disappears after the second Ctrl+R. At this point, you may open Windows Explorer and navigate to the same device. Explorer shows the content well, while TC doesn't.
5) Try to switch the USB mode on the device back and forth several times, and use Ctrl+R (once or twice) every time after switch.
In many cases, re-reading the source on TC gives nothing, the list remains empty. Sometimes the content appears after noticeable delay or after other events like switching the tasks in Windows. So, this bug is not always reproducible, but occurs quite often. TC needs another event or "nudge" to re-read the source properly, other than Ctrl+R. Exiting TC and starting it again always shows the full content correctly.
It seems that the problem is in re-reading the empty cache in the situation when the full reading of device is obviously required. But I cannot exactly say whether this is TC bug or OS bug. It does not occur with Android 7.1 (tested on Lenovo tablet), so it may be a problem in interaction between Windows 7 and Android 8. Anyway I hope that there should be a way to force OS to refresh this cache, because Explorer can do it. _________________ Desktop: Windows 7 x64, TC 9.12. Mobile: LG Nexus 5X, Android 8.1, TC 2.90 |
|
petermad Power Member


Joined: 05 Feb 2003 Posts: 7541 Location: Valsted, Denmark
|
Posted: Fri Apr 13, 2018 10:15 am Post subject: |
|
|
It woks fine here with Android 6.0 - so it is probably related to Android 8.1 _________________ #524
Danish Total Commander Translator
TC 9.12 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit. TC 2.90 on Android 6.0
Get Extended Total Commander Menus |
|