Summary: | An option to group hidden files in the end | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Serhiy Zahoriya <serhiy.int> |
Component: | general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | wishlist | CC: | mchellat, nicelukas, sammel49, zrenfire |
Priority: | NOR | ||
Version: | 4.12.97 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
HiddenFilesLast-Hardcoded.diff
HiddenFilesLast-Optional.diff |
Description
Serhiy Zahoriya
2014-04-09 03:20:29 UTC
Thanks for the suggestion. See also bug 297435 (which is about showing hidden files separately from the others without option). (In reply to comment #0) > My favorite sort order is by descending date. And I have hidden files always > visible. In that mode on home directory hidden files get in a way of > comfortable work with other folders because of being updated frequently. > > I think that optionally grouping hidden files in the end of all the others > will be easy to implement, understand and work with. To be honest, I do not expect that more than 0.1% of our user base would use such an option. For everyone else, the option would just clutter the "Sort by" menu and possibly confuse people. So I do not agree with the "easy to understand and work with" statement. Even if it would be easy to implement as you say, every option makes the code more complex, and adds additional code paths. Sorting is already a rather non-trivial thing, and unfortunately, the number of code paths that can be taken grows exponentially with the number of options. This makes an exhaustive testing of the code impossible, and it will most likely introduce new bugs, which will annoy people. We do not have the resources to handle this kind of maintenance burden for a feature that would only be useful for a very small minority. Therefore, unless there is evidence that the suggested feature is of great value to a considerable part of our user base, this is WONTFIX, sorry about that. Maybe you disagree, but unfortunately, bugs.kde.org is not suitable for discussions about the usefulness of a particular feature. Feel free to start a discussion with other users at KDE Brainstorm, http://forum.kde.org/viewforum.php?f=83 or get in touch with the usability team to get their feedback concerning this option. I can't use forum per bug 332661 but I was trying to as you can see. Created attachment 107449 [details]
HiddenFilesLast-Hardcoded.diff
Created attachment 107450 [details]
HiddenFilesLast-Optional.diff
I wrote 2 patches to implement this for myself since this is a wontfix. The first patch will make it a hardcoded feature for all folders. If you apply the second on top of the first, it will add an option in "View > Adjust View Properties" to make it optional per folder. For anyone interested in this, I've created a KDE Brainstorm entry here: https://forum.kde.org/viewtopic.php?f=83&t=141979 Chris, I would love to try out your patches, but have no idea what to do with these .diff files. Any help would be much appreciated. Recent Discussion on Reddit: https://www.reddit.com/r/kde/comments/ih4ro2/is_it_possible_to_sort_files_in_dolphin_so_that/ I did attempt to merge my patches but it since it could affect performance and is only for a few users it wasn't merged. https://phabricator.kde.org/D7498 The most recent version of my patch. I rebase my "zren" branch on dolphin master periodically so it could be out of date to anyone reading in the future. https://github.com/Zren/dolphin/commit/565e4be6b3aa5348a5db0a8d62702d9469163d22 Anyone wishing to try my patches, try my dolphin fork (you'll have to recompile every once and a while). Instructions are in the ReadMe. https://github.com/Zren/dolphin Finally and luckily there is now an option in Dolphin in the sort by menu which is called "Hidden Files Last" and that is just doing what is wanted here :) |