-
-
Notifications
You must be signed in to change notification settings - Fork 127
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
Allow color assignment by size rather than file type #167
Comments
No. For individual files, the file size already corresponds to the area of each treemap tile. The tile colors are supposed to give a hint about the file type - on the whole treemap, and statically. One big downside of WinDirStat is that it assigns the treemap colors in the way you suggest, but globally: The file type consuming most disk space gets color #1, the next one color #2 etc.; so you always need that "file type legend" sub-window to explain which is which. This is poor usability. Adding insult to injury, if you see only a partial subtree, the meanings of those colors change completely. The classic example are the Windows swap and suspend files When you only scan, say, The net result is that you can never make sense of such a treemap without studying the legend. That makes the whole treemap much less useful. With the QDirStat / KDirStat treemap, however, each color has a fixed meaning, so I can see at a glance that my directory tree is dominated by JPGs or by MP3s. This is important. It also makes much more efficient use of the users' learning curve: They only have to learn once what each color means. It's not ambiguous. I also don't want hundreds of screenshots floating around the Internet made by bloggers / "reviewers" who can't be bothered to read the documentation (i.e. 99.8% of them), do random changes to the configuration and make the result look like QDirStat always has to look as bad as they chose in their configuration (it's bad enough that some of them discovered that ugly "treemap as side panel" thingy that somebody wanted to have so badly). |
Also, imagine what would happen when zooming into the treemap (mouse wheel): As you zoom in, the order of total disk space used by a file type can easily change. But surely you wouldn't want to change colors for the file types as you zoom: That would throw you off your context even more than it already does. Just a moment ago you saw a big blue blob in that directory, and as you zoom in, it has now become a large yellow blob; is that still the same thing that you just saw? You'd be force to check the Details panel before and after, possibly zooming out again to compare, then zooming in again. Yikes. Yet, sticking with one color scheme that would fit in with what you suggested would mean that it would have those semantics only when viewing the complete treemap for the scanned subtree; as you zoom in, it would become random. For example, on my As I zoom the treemap (while still having all of When drilling down by treemap zooming, would you really want to change colors on every step of the way, always assigning the first color to the dominating file type? If not, what point would it have to assign colors by total size used in the whole scanned directory tree; since that scheme would only be valid on the top level? |
This is why QDirStat uses a static color scheme that does not force you to do mental acrobatics every time you see a treemap or with every operation on the treemap; or even when choosing what directory tree to scan. You don't need to refer to a color legend every time; you can re-use your previously learned knowledge about what color means what file type. |
It would be nice for QDirStat to have an option to use file size rather than file type for determining the colors to use. This could allow the user to quickly visualize rough percentage of space taken up by a specific file type within the folder, rather than overall file categories.
For example, imagine a simple example where a color table of four colors were selected as such.
A directory would be scanned and it would be determined that space taken up by different file types is in the following order.
| other types |
The software would then assign the colors in the same order as the file sizes. Therefore, the scan results for this folder would have the following color table.
However, a folder where more space is taken up by mp4 files rather than mov files will have the mp4 files show up in the treemap as orange, while the mov files will show up in yellow.
The text was updated successfully, but these errors were encountered: