Skip to content
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

Better column view spacing #1578

Closed
hanaral opened this issue Feb 11, 2021 · 19 comments · Fixed by #1676
Closed

Better column view spacing #1578

hanaral opened this issue Feb 11, 2021 · 19 comments · Fixed by #1676
Labels
Needs Design Waiting for input from the UX team

Comments

@hanaral
Copy link

hanaral commented Feb 11, 2021

Problem

Columns take up far too much space and folder and file names and icons are poorly padded, which is a self reproducing problem.

The smallest icon view gives list icons a very generous amount of padding on the left and an absurd amount of padding on the right:
Screenshot from 2021-02-11 12-01-33
I understand that the padding on the left is for the selection badge, but I personally don't think the badge should overlap the icons when they are so small anyway.

The columns themselves are also far too large, and I can only fit about 2.4 columns in a relatively normal sized window:
Screenshot from 2021-02-11 12-05-22

Proposal

Item text and icons should have better padding so that columns can be tighter and easier to fit on screen. Possibly the selection badge should be moved to the far end of the list box

Prior Art

image

@jeremypw
Copy link
Collaborator

Note that the default column width can be changed by editing the settings key io.elementary.files.column-view.preferred-column-width. So it would be simple to change the default value subject to design team approval.

Also, the column width can be changed by dragging the dividing line.

Maybe we could change the padding in proportion to the icon size - it the moment it appears to be fixed.

Flagging for design-team attention.

@jeremypw jeremypw added the Needs Design Waiting for input from the UX team label Feb 11, 2021
@jeremypw
Copy link
Collaborator

Unlike e.g. sidebar width, any user changes to the column width made by dragging is not remembered - so that is another thing to consider.

@hanaral
Copy link
Author

hanaral commented Feb 11, 2021

Unlike e.g. sidebar width, any user changes to the column width made by dragging is not remembered - so that is another thing to consider.

tbh I would rather see a fixed column view and then just address the issue of cut off titles with this. I cannot see the resize feature as actually solving anything unless I have overlooked something.

@cassidyjames
Copy link
Contributor

@hanaral if you were dealing in a folder with a bunch of long filenames, truncating or scrolling them all would be VERY annoying when you could just temporarily resize that one column; so I think there is definitely value in keeping them resizable. I do wonder if it would be sensible or over-the-top to remember column widths per-folder, like we remember sort order. A smaller default might make sense.

An alternative approach could be to dynamically size the columns to fit their contents (perhaps with lower and upper bounds). A folder full of short filenames would get a skinnier column, while a folder with long filenames would get a wider column. I have no idea how much work that would be, though.

@hanaral
Copy link
Author

hanaral commented Feb 11, 2021

@hanaral if you were dealing in a folder with a bunch of long filenames, truncating or scrolling them all would be VERY annoying when you could just temporarily resize that one column; so I think there is definitely value in keeping them resizable.

@cassidyjames
I should probably file another feature request under granite for this, but macOS shows the entire line of text when you hover over something with a name that's too long:
Screenshot from 2021-02-11 19-30-46
Screenshot from 2021-02-11 19-30-58

@jeremypw
Copy link
Collaborator

An alternative approach could be to dynamically size the columns to fit their contents

This could have an impact on performance for folders with a large number of items. Also the longest item might never actually be displayed. I have a vague memory that Files used to do this but it was discontinued.

@cassidyjames
Copy link
Contributor

@hanaral no need to file that against Granite, it could be filed here against Files.

@hanaral
Copy link
Author

hanaral commented Feb 26, 2021

@cassidyjames I've been running Files with the default column width set to 120 via dconf for a few days, it feels far better this way and lets me see more.
Would elementary/UX consider changing the default to this via the default-settings repo?

@hanaral
Copy link
Author

hanaral commented Apr 23, 2021

The hpadding seems a little better now, but is anyone working on files willing to try toning down the left gutter? (the space between the icon and the left side, although keep enough space for the badge)
@jeremypw If you could add this to #1669 I'd be more than happy to test it!

@jeremypw
Copy link
Collaborator

The reason why I kept a more than minimum gap in ListView was to provide a reasonable separation between the helper emblem and the expander. I can try shaving off a few pixels and see what UX team think.

There is less scope in ColumnView as the edge of the helper emblem is already only a few pixels away from the edge of the view.

@hanaral
Copy link
Author

hanaral commented Apr 23, 2021

I was mainly worried about column view, which at the smalles size shows the selection badge so close to the edge that if it was moved down inline witht the icon it would essentially be a listview tickbox (mainly helped by how file/folder icon has almost it's entire width worth of left padding)
Screenshot from 2021-04-23 09-23-13
seems to not be that great at other sizes either:
Screenshot from 2021-04-23 09-23-46

@jeremypw
Copy link
Collaborator

Any better?:
Screenshot from 2021-04-23 09 33 24
Screenshot from 2021-04-23 09 35 09

@jeremypw
Copy link
Collaborator

I suppose putting the expander on the right of the filename column would be possible but not simple - need UX team direction for that.

@hanaral
Copy link
Author

hanaral commented Apr 23, 2021

The second screenshot looks quite good imo, the first one could use some vpadding on the entries themselves though (I can't remember if that was an intentional change)

@jeremypw
Copy link
Collaborator

By the way - do not raise issues against the "merge-fixes" branch. From your screenshot it looks like you are using that branch? There may be regressions and issues caused by the merge process. You should comment on the relevant specific PRs in those PRs themselves. Only raise issues against the master branch here.

@jeremypw
Copy link
Collaborator

My screenshot of the ColumnView was at minimum icon size which is designed for maximum compactness.

@hanaral
Copy link
Author

hanaral commented Apr 23, 2021

By the way - do not raise issues against the "merge-fixes" branch. From your screenshot it looks like you are using that branch? There may be regressions and issues caused by the merge process. You should comment on the relevant specific PRs in those PRs themselves. Only raise issues against the master branch here.

You're quite right. I've rebuilt from master and it is marginally better, but still looks like a misaligned seperate widget. The example in both your screenshots stil look far better

@hanaral
Copy link
Author

hanaral commented Apr 30, 2021

@danrabbit Could you re-open this issue? It was mainly about the width of the columns themselves, not the left gutter size...

@jeremypw
Copy link
Collaborator

@hanaral It would be better to open a new feature request issue with a single specific issue - "Change the default column view column with to X"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Design Waiting for input from the UX team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants