Page 1 of 1

Some suggestions

Posted: 2019-04-22, 09:36 UTC
by tmsg
A few suggestions for a future version of TC Android:
  • an option in the settings to enable/disable always opening the same two folders on startup and not the last folders
  • an option in the settings to enable/disable allowing for a single tap to change panel *and* select tapped item
  • an option in the settings to enable/disable listing symlinks that point to directories as folders
  • an option in the settings so that if on the active panel no items are selected but some items are selected on the other panel the copy/move button works without having to switch panels
  • it would be great if the path on top of the directory list had clickable/tappable sub-fields for the various directory levels
  • a tap/long tap on an unused part of the directory list could open the context menu
Thanks for considering some or all of this.

Re: Some suggestions

Posted: 2019-04-23, 13:25 UTC
by ghisler(Author)
an option in the settings to enable/disable always opening the same two folders on startup and not the last folders
You can already do this:
1. Define a new bookmark in which you set the directories for the two panels
2. Check the option to show that bookmark in the Total Commander home folder
3. Long tap on that bookmark in the home folder to create a link in the launcher (Android desktop)
Afterwards you can remove the bookmark if you don't need it.
an option in the settings to enable/disable listing symlinks that point to directories as folders
Unfortunately you cannot see on Linux whether a symlink points to a file or a folder.

Re: Some suggestions

Posted: 2019-04-24, 14:23 UTC
by matixx
tmsg wrote: 2019-04-22, 09:36 UTC A few suggestions for a future version of TC Android:
..............
  • an option in the settings so that if on the active panel no items are selected but some items are selected on the other panel the copy/move button works without having to switch panels
..............
That is also my suggestion, that would be very helpful.

Re: Some suggestions

Posted: 2019-04-26, 16:14 UTC
by tmsg
@ghisler: Thanks for the tip re the start directories. Works as you described :)

As to finding the target of a symlink, in Linux you could call readlink(2) to get the target and then a stat(2) call on that will give all the required information. I do not know though whether the readlink function is available under Android. A quick google suggests it should be but who knows.

Re: Some suggestions

Posted: 2019-04-29, 13:38 UTC
by ghisler(Author)
This can be used when following a link - but when listing a directory with thousands of links, it could be very slow.

Re: Some suggestions

Posted: 2019-04-29, 14:26 UTC
by tmsg
ghisler(Author) wrote: 2019-04-29, 13:38 UTCThis can be used when following a link - but when listing a directory with thousands of links, it could be very slow.
Well, that's precisely why I suggested to have this as a separate option so if it's disabled (which should be the default) the whole things behaves exactly as it does today.

And yes, you're of course right, it would be slower... but *very* slow? Have you actually tried it? :wink:

Most if not all Linux/Unix ls programs (to list files) have an option to resolve/follow symlinks and I have, even with large directories, never had a really adverse effect. The filesystem caching is pretty mature.