feat: Column View - #2005
Conversation
|
Looks great so far! Thank you for putting this together. The only additional suggestion I have on this is related the width. Looks like it truncates, via ellipses, anything longer than about 24 characters. My personal preference is to show the full name, regardless of length—or at least have an option to. I forget if this shortening is common behavior in other file managers that have it, like Nemo, but in Thunar the column is extended to the length of the longest name. Whereas the other columns stay as narrow as the names in the other columns allow. I suspect the dynamic column widths is tougher. In order of preference:
Of course, if time and effort are of no concern and freely available, having an option in the settings for the 1st or 2nd choice would be ideal. |
…re and better indicate cut & hidden items + The icon and name are now both within the one button element + Hover now uses the accent colour with translucency + Selections now use the accent colour with translucency as the background + Cut elements are now better indicated with a thin outline and mild translucency + Hidden items are now visibily different with mild translucency on the text colour. The icon colour won't apply until SVG icons are used + The button style has been refactored to be easier to maintain + There are now readability checks for item text colour, swapping out if neccessary + Better support for extreme custom accent colours like black / white + Click-n-drag in 'empty' space now prefers select over move + Set min width for grid view elements, even as the icons get smaller, to prefer label readability
+ Fixed padding for icon in list view when selected/highlighted + Tweaked transparancy for selected and highlighted elements + Use named colours for WHITE and BLACK + Fixed positioning of on-hover tooltip + Reduced translucency for Gallery View + Updated Gallery View item structure to more closly match List Items + Fixed text colour for Grid View items + Fixed right-most spacing for Grid View by accommodating for the grid spacing when calculating column spacing width
+ New Column View option (Ctrl + 3) + Re-ordered the application View menu options for Views + Added icon handler for Column View
+ Ellipsis long file names for Column View + Invert row / columns when building Column View + Fix padding around icons for Column View + Scroll horizontally, not vertically for Column View Still to come: + TODO: Fixe padding when changing viewport width + TODO: Fix showing list items when changing viewport width + TODO: Scroll wheel to scroll horizontal scrollbar + TODO: Code cleanup
+ Fixed padding when changing viewport width Still to come: + INCOMPLETE: Fix showing list items when changing viewport width + INCOMPLETE: Scroll wheel to scroll horizontal scrollbar + TODO: Fix size/position of Empty folder view + TODO: Code cleanup
+ INCOMPLETE: Scroll wheel to scroll horizontal scrollbar + TODO: Code cleanup
c74943f to
fbde666
Compare
+ Reduced width of Column View items slightly
|
I think it looks really neat! I'd propose a middle ground between the OP and @HuckleHubbing and suggest the width of a grid item to be able to expand to accommodate a longer file name but be limited to the size of the parent view. Dolphin, for example, lets the item be larger than the width of the parent view and it doesn't make for the best experience:
Both behaviors can be seen in the following video: Recording of Dolphin when filenames don't fit the windowrecording.mp4But regardless of how this ends up being implemented, I think it will be a great addition to the file manager! |
Enabled Column View as a third view option to List View and Grid View, providing a traditional sideways-scrolling compact view of items. Items are sorted column-then-row which is different from the standard row-then-column sorting, but goes with the alternate scrolling direction.

Switching View
The "View" menu now shows three view options sorted correctly. The keyboard shortcut for Column View is [Ctrl] + [3].

More Items
This view is much more compact, allowing one to view 1,000% more items than the list view and about 25% more than grid view on a Full HD monitor when comparing the "compact" spacing. The Column View is much more readable at these scales than the Grid View.
Item Names
The item widths have been set to be wide enough to show most common file names without issues and still be legible when applying ellipsis to the middle of long filenames. More items an fit in with a shorter name, but then they become harder to read.
Dependencies
This is reliant on #1993 being pulled first.
Reasons for Draft
There are a few reasons why this is not ready to merge yet:
Relates to: #555