-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wrong file count in folders #5843
Comments
second issue still present as of commit de15ab3, but now only when "show hidden files" is disabled to reproduce: set "show hidden files" to disabled |
Issue
File count in folders is inconsistent and/or wrong, there's multiple issues here
Steps to reproduce
first bug:
create an empty directory
enable "show hidden files" in the file manager
the empty directory will show 2 elements, and if new files are dragged in, the offset will be always shifted by 2
I suspect it's counting the '.' current directory and '..' parent path
second issue:
create an empty directory
set "show hidden files" to disabled ( although it's irrelevant since koreader hides .sdr folders regardless )
drag inside a new ebook, never read, never cached
verify item count, it should be 1 if "show hidden files" is disabled, 3 if enabled
open the ebook so it generates a .sdr directory even if it's hidden by the ui
verify item count of the directory, it has been increased by 1
delete the .sdr directory and the count goes back by 1
while it's not technically wrong because the content exists, the count is inconsistent with the displayed elements, making it confusing
The text was updated successfully, but these errors were encountered: