Conversation
|
What about a async folder computation which updates the list one after one? |
|
That would be an option but seems very expensive as is battery consumption to be able to sort by size including folders and their subfolders. So for local files we could still go for folders first alphabetically and files by size. What do you think @jancborchardt? Local complete would be nice and consistent but there is a high price to pay for imho. |
|
To speed up things for now and fix the bug (crash!), I'd say lets not support sort by size for the local view and fall back to alphabetical sorting in that case. Agreed? |
|
Sorting method by size is not that crazily important anyway – so if it causes an issue it’s fine to not have it. |
6f950f6 to
acb8933
Compare
e82e56a to
0d88c5e
Compare
|
@tobiasKaminsky ready to review 😃 Sort by size is now also supported in the manual upload view, while folders are sorted alphabetically at the top. Tested on my Nexus5X |
|
pushed to beta branch |
37a160c to
015d0f7
Compare
Resolves: #336
…he list alphabetically
015d0f7 to
b38cd1f
Compare
|
👍 |
Resolves: #336
@tobiasKaminsky please review - This is a work in progress since imho the implementation is broken for a simply reason. OCFIleList and LocalFileList both use the same preference for the sorting choice. So if you choose BySize in the main screen and then open upload via the FAB it'll load "by Size" and will try to sort this way. Unfortunately the local file sorting by size also sorts folders, by recursively calculating their size which takes around one minute on my phone... So imho we either need to
What do you think @tobiasKaminsky - I vote for ignore folders during size sorting (locally)