-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Remember file list sorting, show newest first #20836
Comments
I'm pretty sure there was already a ticket with a long discussion on how to do this. Somehow I can't find it any more. @jancborchardt do you remember ? |
I totally agree on this. Is probably a duplicate of owncloud/gallery#197 – cc @oparoz @owncloud/designers |
@PVince81 @MorrisJobke can we make the Files app remember the last sort order? |
Per folder or per user? |
and should it be remembered between different computers or just the one browser ? (cookies vs localStorage vs appconfig) |
this will also need proper usability testing. I'm not sure everyone will like to have "newest first" by default. |
In my opinion a folder should be sorted alphabetically instead of "newest first" by default as most file explorers do it this way. |
just to sum up:
|
Yep @MorrisJobke with more reasoning:
|
Is this possible for 9.0? |
Thanks |
|
I like the behaviour in files app like it is now with setting a sorting by session, inherit sorting to subfolder if you navigate and reset on next visit. It's clean and clear. So a solution for all or more use cases and workflows could be:
Saving a sorting by folder and user as the only possibility is a usecase only some user would prefer and in difference to actual behaviour it can be very confusing and might disturb workflow if you revisit folder some days later - even more, if you don't know about this. BTW: Gallery has the possiblity to sort picture folders a different way by a per folder or global config file. So this is a topic for the files app and files view, I think. |
@deMattin sorry but no. As discussed in this thread and previously before, remembering the last sort order is the most sensible way of working. A global setting is not »clean and clear« as you mention, no one will want to fiddle with it. Also because this is not a use-case for a global setting because you want to switch it on the fly. And since we have the sorting via the headers already, it would be very strange if we don’t integrate there. Again – we aim to make ownCloud simply work as expected, not that you need to configure everything manually. Cause people don’t like spending so much time fiddling with minutia like that. |
I wrote, that the actual behaviour is clean and clear! Really simple would be, to leave it, as it is. Please think of the cases, where this saving sort order different for any folder is really needed and if this should be default for all users! But as always/often, we seem to use computers very different and seem to know very different computer user. ;) And also as always, you think options does make all complicated. Options are options and no needs. Defaults should fit most needs. But if not, it's always nicer to have options, than to have to live with the workflow some developer think to be the best only because they think, the user is to dump to set some optional options! |
@deMattin this clearly isn’t the case, otherwise this issue wouldn’t be open. I agree with @NuxRo and wanted to have the sorting be remembered since a long time. In case you don’t know, desktop file managers like Nautilus etc also do that.
Seemingly yes. But then keep in mind I did a lot of the work to design ownCloud the way it is today. And there’s a bunch of people using it, so our direction can’t be all wrong, eh? Besides, I don’t decide based on my own usage, but a mix of what I observe is usable, what looks good, what works well and a bit of future thinking.
However, unnecessary options drown out the really important ones. So it’s not just »always nicer to have options«. Because then when someone wants to really adjust something they can’t find it because it’s not findable in a sea of messy checkboxes and it feels like a half-assed product made by people who couldn’t decide what they wanted to build. Hope this makes it clear. |
@deMattin It's not that the user is dumb. It's that every piece of UI you add, is |
Agreed with @Bugsbane - and on top of that, options need code, need UI work, need to be maintained too. I'm not super against an option in the config file but I doubt more than 0.001% of the users will ever touch it. How about this: let's not add an option. If we get requests from users (not in this thread, obviously) to configure it, we can re-open the conversation. |
@jancborchardt: Most user live with an all in all good software like it is and don't discuss on git or boards. The feature is no problem for me and for others recognizing very fast the "logic" of this feature. I "only" have to remember to reset sorting after each temporary sorting ... What I know are questions, people are asking to me, if they don't understand their computers, And in most cases, I can set something for them and make it working more "simple" or logical for them. I also don't like unnecessary options. Who exactly needs it and what usecase is it needed for? Pictures or videos? Documents or other files? Further more: I really think, you are planning a feature (with code and db entries), that only for some people and usecases is really needed and useful. But you make it as a forced default for all. Why no single configuration option like "remember folder sorting permanently" for users, who want to have it? |
What percentage of users are likely to want and expect an option to throw out changes they've explicitly chosen to make, repeatedly and without any warning? Doesn't sound like a popular use case to me, compared to say "Hey, that change I made... please keep it until I say otherwise." |
@deMattin I think you hugely over-estimate how this is confusing or causes extra work. Remembering what the user picks is as non-confusing as it gets and in almost no case (certainly no likely case) does it cause extra work. Adding settings adds barely anything, certainly nothing which helps in a common case, which is why @jancborchardt opposes it and I agree. You try to think of a case where you want to do something - but you need to analyse these scenario's: ask yourself how much work is is it and how often does it happen. Let's go over your last two examples:
And should 'remember sorting per folder' be configurable - let's see when it helps:
Only in the 'bad' scenario do you get to click extra, and that is only assuming the sort you want every other time is the default one by name. If you wanted to alternate between descending-name and ascending-date, the saving per folder would make no difference. Note that if you randomly want a different sorting between two, neither of which is current default, the saving would at least increase your chance of getting what you want. I think the 'bad' scenario is so insanely unlikely that adding an option is just madness. And this reply is way too long, as is this conversation. Saving sorting per folder saves the user time in the 99% scenario. Settings can, at best, save a tiny amount of time in 1% of use cases - let's please not add that. |
Works as long as the setting is kept per user, otherwise it's a disaster as it would have an impact on all users having access to a folder.
It only works for very simple, flat hierarchies.
It is a big deal if you have a large filesystem to manage. So let's go into more details why there are missing pieces.
For these reasons, making any change the default is a bad idea. There should be a clear separation between the defaults and the current session's preferences and there should be an easy way to make changes permanent. |
I might have been undestood wrong: I proposed a single checkbox as a file app setting to activate this rememberence of sorting for folders in general (not a checkbox for every folder seperate) - a single option in files app to have old behaviour or saving each folders sorting. The actual sorting logic has another advantage: If you like to have another sorting in general, you select it once and this is active for complete folder navigation in this session until you change it again. @jospoortvliet: Resetting folder would be needed with this autosave dorting for the users, who like name sorting in general and messed up there sorting for some folder because of switching and forgetting to reswitch. |
You have a certain default (right now sorting by name, sane I guess), and if you have a particular need in a specific folder to change it, you do. It will be remembered for that folder as you are likely to use that view for a reason. If it was a one time thing, worst case you have to set the sorting the next time you go to the folder compared to having it revert to default without remembering anything, best case, you save a click every time you go to the folder. So potential savings are many, many clicks, potential downside is tiny. I think it clearly improves the behavior for 99% of ownCloud users 99% of the time. I honestly see no reason to share these settings between users. @deMattin I must admit I had not discovered the current state is to remember the setting per session and have it global. I personally are quite good with that, too. Perhaps it would be possible to get the best of both worlds by doing this: So you set a sort in a folder, all folders without any specific sorting will follow this. If you decide on a different sorting in another folder, it will change for that folder (and store your preference) and change for the entire session. This changes almost nothing compared to the current behavior except that it 'learns' what sorting you prefer in each folder. Have your cake and eat it too, what do you think? |
This is what we’re talking about the whole time. Sorry but at some point I gotta say that I don’t find reading and replying to giant comment threads the best use of our time. We had a clear decision above, so @deMattin please respect what seasoned contributors to the project see as a good solution and keep your comments shorter. |
There is 0% chance of verifying that statement ;), but as stated before, it's important to try and figure out what the most common use cases are and this is probably one of them.
Because you never had to, but it's true that it mainly affects apps. Think about sharing an upload folder. Every user will have to adjust the sort order. It's much more elegant if everything is properly configured from the get go. |
Of course when you change the order for a folder, it should be applied to all subfolders as well. And when the order of a subfolder is changed again, do the same, but of course only for that subfolder. Also, these settings should absolutely not be shared between users when having a shared folder. The view of the folder has nothing to do with the share. |
@jospoortvliet Won't you think, that your proposal could irritate users, that want to have different sorting in some folders? Now we have the problem, @oparoz already mentioned: inheritance of sorting, if sorting for a folder is saved ... Personally, I think, user mostly want's to have (saved) sorting inherited. But the problem here could be, that user doesn't know or see, which folder has a saved sorting or an inheritated sorting. It seems to have a reason, why filemanagers on desktops have so many options for sorting and views here inkl. saving/presetting sorting by folder content or type (music, pictures, files), taking over a sorting for all folders, resetting sorting to defaults, ... I think, the simple solution to change session saving of sorting to a per user saving will fit more users. @jancborchardt
Saving (different) sorting may be a need for some usecases but to simply activate it in general for each single folder seems not to be the best solution for the general needs. Why the hell is it a problem to give a checkbox in fileapp settings (where only webdav link there is as "setting" by now) to activate this saving, if user wants it? |
@jancborchardt Your last propoasal won't work such simple. Setting sorting in a main folder should reset all subfolders then or only for the folders, that aren't set individual? |
Sorry, I’m out of replying to such long comments, I need to do actual work. The perfect solution is the enemy of the good, and the current state of not saving anything is clearly bad for people who want to sort their stuff by modified date. |
I don't need replies. I only want the decision makers to see problems, they seem not to have considered, yet.
|
What would be great is simply a list of use cases/user stories, ordered by priority. That way specs can be defined and there will be a reference, living, document anybody can go back to when things need to be adjusted. It also helps with the documentation. |
Really folks? There seems to be a misunderstanding of how many people work on ownCloud and how much time we can invest. This is clearly overthinking such a small detail – it doesn’t »change [a] basic«, all it does is fix something which we should have done long ago, and that is remembering what people choose for their view. All the arguments have been brought in very early in the thread. I gotta refer to our Code of Conduct here: Be pragmatic
|
If the title of the issue was "Add a way to remember file list sorting options", then yes, there is no need for much discussion, but you want to change a default behaviour, so some resistance is expected. You don't always save time by just getting things done, au contraire. We've seen it plenty of times recently (login, new flat design, sidebar). Specification and design documents are important, because as you've mentioned, this is a community effort and people need to understand where some of the decisions come from. On top of that, it doesn't need to be the same people taking care of writing the specs and implementing them, so hardcore devs don't necessarily need to take part of the discussion in the early stages unless they want to (they do use the system as well). The current proposal is messy. Let me give you an example with the revised specs as I understand them (always save, inheritance included). Pictures: change to date Now Album1 is an exception, so the next time I change the order of Pictures, expecting all sub-folders to follow suit, it won't happen. All sub-folders which have one day been touched will have their own order, which might not necessarily be meaningful. This can lead to frustration when looking for something per example, before realising that the sorting order is not what you expect. Now in reality, this might be a very minor annoyance compared to the benefits, but it might not and at some point people will want a way to reset everything because it's a mess. Then what? |
@oparoz if it really turns out to be messy we can revert or change it. In general, though, we improve behavior in most common scenario's and the times it isn't better are very rare corner cases so I doubt we'll get complaints. And I agree with Jan it is tiring to discuss for too long - at some point, we spend more time talking than fixing problems. If the basic solution doesn't work we can improve later on. |
Closing as duplicate of #10788 because it’s already discussed there. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hello,
Each and every time I want to check the files in a folder (usually photos) I am interested in the newest ones, yet ownCloud starts with the oldest. If I sort by "last modified" it's OK, but it does not remember the setting. Can this be fixed?
Can also the default behaviour be changed so it shows the most recent files first?
The text was updated successfully, but these errors were encountered: