Opened 11 years ago

Last modified 6 years ago

#1349 in-progress enhancement

"Sort by Name..." for Icon View in Tracker

Reported by: polari Owned by: stpere
Priority: normal Milestone: Unscheduled
Component: Applications/Tracker Version:
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

A "Sort by Name" (and date, size etc.) option in Tracker is sorely needed. See OS X's Finder, Nautilus and Windows Explorer for examples. The ability to sort a folder by a chosen attribute continuously would be good too, like in OS X.

Attachments (1)

patch (7.0 KB) - added by stpere 7 years ago.

Download all attachments as: .zip

Change History (15)

comment:1 Changed 11 years ago by axeld

Component: - General- Applications/Tracker
Milestone: R1Unscheduled

Do I understand you correctly that you are referring to the icon mode? Because the listview mode already allows you to define a secondary and primary order type.

comment:2 Changed 11 years ago by ekdahl

I second this feature request. The placement of the files in the icon view mode is kinda strange also. I think placement in a grid (where all columns have the same width) would look cleaner. The icons should automatically "snap" to this grid and positions should be updated when files are added or removed. All IMO of course..

comment:3 Changed 11 years ago by humdinger

A nice, though not apparent solution, would be to define the primary and secondary sorting by changing to the listview. Changing back to iconview should then simply keep that sorting. A menu would be handy in any case...

[BTW: if you drag a column e.g. "Size" to the leftmost position, the iconview will reflect that change by using the file's size as text. Neat.]

[BTW2: Holding the ALT key before releasing a dragged icon has it snapped into the grid.]

comment:4 in reply to:  2 Changed 11 years ago by diver

Replying to ekdahl:

I second this feature request. The placement of the files in the icon view mode is kinda strange also. I think placement in a grid (where all columns have the same width) would look cleaner. The icons should automatically "snap" to this grid and positions should be updated when files are added or removed. All IMO of course..

I would like to see these features in tracker too. Somebody please implement it.

comment:5 in reply to:  1 Changed 11 years ago by polari

Replying to axeld:

Do I understand you correctly that you are referring to the icon mode? Because the listview mode already allows you to define a secondary and primary order type.

Yes, for icon mode.

Replying to ekdahl:

The placement of the files in the icon view mode is kinda strange also. I think placement in a grid (where all columns have the same width) would look cleaner. The icons should automatically "snap" to this grid and positions should be updated when files are added or removed.

Yeah, this is what I meant by "The ability to sort a folder by a chosen attribute continuously would be good too, like in OS X." You've explained it much more clearly than I did though. :)

comment:6 Changed 9 years ago by axeld

Owner: changed from axeld to nobody
Version: R1/pre-alpha1

Changed 7 years ago by stpere

Attachment: patch added

comment:7 Changed 7 years ago by stpere

Has a Patch: set

comment:8 Changed 7 years ago by stpere

Patch ready! (can't commit right now though, will review and commit tomorrow or later this week)

comment:9 Changed 7 years ago by axeld

I'm not sure I like losing Alt-K (and Alt-Shift-K?) for cleaning up, but otherwise, it looks like it could work :-)

comment:10 Changed 7 years ago by stpere

Alt-K and Alt-Shift-K is supposed to be still working (the menu item is placed within Arrange By menu..) if it's not, it's a bug! (not a feature :P)

comment:11 Changed 7 years ago by stpere

Owner: changed from nobody to stpere
Status: newin-progress

Commited in hrev42448.

comment:12 Changed 7 years ago by stpere

I did not close the ticket yet because I consider my patch incomplete. I think the fact that the attribute gets marked up in the menu will signify to the user that the sorting is live, that a new Pose appearing in the window would get arranged by this criteria.. am I right to consider it would be the user intuition?

comment:13 Changed 7 years ago by axeld

Definitely. I think it would be best to ignore the stored icon placement anyway when the icons are arranged in a certain order, and just layout them for viewing (no need to update all the icons on disk every time something changes).

comment:14 Changed 6 years ago by mmadia

Has a Patch: unset
Note: See TracTickets for help on using tickets.