keybase / keybase/keybase-issues
Android lists files in a case sensitive way
- Dominant language
- No language data
- Stars
- 899
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
I noticed in the Android app that first lists folders, followed by files, but within that first comes capitalized folders, followed by uncapitalized folders, then capitalized files, then uncapitalized files.
If a folder contained the following contents (2 folders, 4 files):
```
MyFolder
anotherfolder
A
b
C
d
```
Then I would expect the order to be alphabetical regardless of case:
```
anotherfolder
MyFolder
A
b
C
d
```
But what I see in the app would be:
```
MyFolder
anotherFolder
A
C
b
d
```
I panicked just now by looking for a lowercase filename amongst the capital files before I realized this sorting pattern. If I was looking in the above folders/files for the file `b` then I would believe it doesn't exist if it's not between `A` and `C`.
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names the Android app but no source file, test, or entry point. Start by locating the Android directory-listing sorting code, reproduce the mixed-case ordering shown, and consider the work done when folders and files each sort alphabetically without case grouping.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100