-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
Bug: Small files hidden from view #62
Comments
Yeah, that's pretty much it :/ Considering the limitations of rendering in the terminal, we can really only show an approximation of what's going on. My reasoning was that this would be good enough for the tool's main purpose (clearing up disk space). Even if we didn't round things up, there is no physical room to render something so small in the terminal. I was originally thinking of including a message in these case. Something like "Some files too small to be rendered", but then I figured it might be too much eye-clutter. Do you have any other idea how to solve this, or any thoughts on what you'd like to see in this case? |
I can see how this bug could be acceptable in the context of clearing disk-space. For me, the core issue is that the information being presented is a "lie by omission", rather than "abstracting away low importance information." To illustrate, cell I would like to see something that shows As for how to solve, you would check: |
I think adding something like I think I'd like to see this happen after we take care of #15. Then we can conditionally show one or the other (or nothing) according to the situation. What do you think? |
That sounds like a sensible approach. The key thing is to show the user that diskonaut is at least aware of the missing files (the ones even too small to be part of the |
I just now discovered this tool, and I really like it. |
Oh wow, found #73 and it makes sense now The zoom works perfectly fine once one realises it's there (I think the suggestion in the other issue to have the message flash is great) One potential solution to make the presence of small files more obvious is to have a fake-size box that says "there are small directories" even if its size would be exaggerated. One way of doing it would be to have it overlap the proportional boxes. It could even have a different colour.
|
Similar idea to the above, here's how Nodescope does it The overall presentation is different, but the idea of an minimal size element for all files two small to be shown is the same. |
Here is the display using
ncdu
:here is the display in diskonaut:
I ran the numbers:
Only going by behavior shown, I suspect the % of the directory that
target/
takes up is being rounded to a flat 100%, causing the render to exclude the other files.The text was updated successfully, but these errors were encountered: