-
Notifications
You must be signed in to change notification settings - Fork 29
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
Details view: Permissions #565
Comments
Sorting on permissions seems pretty marginal. Copying from #564 (comment) : Please make sure to support |
Marginal? If you mean not important, sure, but as nautilus allows it, it seems like something we should do as well. |
Nautilus allows it from the headers, but doesn't have it in the menu. We're trying to balance 3 different factors when it comes to sorting the table:
Item 1 says it makes sense and can even be important on a server to sort by permission. Items 2 and 3 say adding it to the list will make that too cluttered, especially for the icon view. This is probably why Nautilus does not show permissions by default (due to 2 and 3, but also due to 1 as a single-user desktop system will generally own all the files themselves) and even when Nautilus is told to include permissions in the view, it does not add it to the menu (as that would be cluttered and not support both view modes). On the other hand, KDE's Dolphin has these sorting options and much more. But it gets weird, as you can't see the sorting in the default view (icons) when you select it, and the menu structure is a mess. KDE often will add features just because it can, so I don't think it's a good standard to compare to. Windows is weird (sometimes the menu is there, sometimes it isn't) and doesn't have permissions: But Windows also has a plethora of mostly-redundant view options (with even more hidden in Windows 3.1-style dialogs in the ... menu under "Properties" and "Options"): And Windows has 2 context menus, both with different options from the rest of the UI: (The second one is triggered by selecting "More options" from the first.) macOS Finder does sorting a little different. There's a menu in the headerbar that has various options, and when you select one other than the name (which just sorts by name), it groups the items with sticky headers: But it gets a little wacky, as they have this duplicated in a ... menu that changes based on sort, what you have selected, and everything. Here's what it looks like with lots of options: Same, but something's selected: And then they have a "show view options" dialog that has many of the same settings, but even more to adjust the padding, spacing, font size, background wallpaper image (for the folder!), and so on, and that can be specific to the folder but also apply anywhere: Anyway, looping back to the topic at hand:
And, more in depth (overall), but still applies here:
|
fixes: cockpit-project#565 Adds permissions column to details view with the ability to sort by permissions. Sorting is done by comparing permission octal values.
fixes: cockpit-project#565 Adds permissions column to details view with the ability to sort by permissions. Sorting is done by comparing permission octal values.
fixes: cockpit-project#565 Adds permissions column to details view with the ability to sort by permissions. Sorting is done by comparing permission octal values.
fixes: cockpit-project#565 Adds permissions column to details view with the ability to sort by permissions. Sorting is done by comparing permission octal values.
fixes: cockpit-project#565 Adds permissions column to details view with the ability to sort by permissions. Sorting is done by comparing permission octal values.
fixes: cockpit-project#565 Adds permissions column to details view with the ability to sort by permissions. Sorting is done by comparing permission octal values.
fixes: cockpit-project#565 Adds permissions column to details view with the ability to sort by permissions. Sorting is done by comparing permission octal values.
fixes: cockpit-project#565 Adds permissions column to details view with the ability to sort by permissions. Sorting is done by comparing permission octal values.
fixes: cockpit-project#565 Adds permissions column to details view with the ability to sort by permissions. Sorting is done by comparing permission octal values.
fixes: cockpit-project#565 Adds permissions column to details view with the ability to sort by permissions. Sorting is done by comparing permission octal values.
For showing permissions, I think the only thing that makes sense is to have the descriptive form with triplet attributes (not octal), and have descriptions for it in a tooltip to make it more approachable, like this:
Note the spacing, lack of
d
(as we have another place to show if it's a directory or file`), and grouping. The tooltip has alignment on the labels and for the content, so the content aligns (and isn't ragged due to being all in one line).Originally posted by @garrett in #564 (comment)
The text was updated successfully, but these errors were encountered: