GNOME Bugzilla – Bug 138915
column sort broken
Last modified: 2021-06-09 20:29:58 UTC
There used to be an ability to click on a column heading and have the view sorted by that column. Current cvs seems to be missing that feature.
I'm commenting out the description of this feature in the user guide until it works again.
In which view or dialog did it work ?. I'd like to add sorting for all the views and dialogs but haven't understood how to do this in gtk (you know -never programmed much in this so learning as I go).
The example I had in the user guide was on the resource view, but verbiage said it worked for all the views. I'm not sure when the capability was lost - just noticed it now.
We had to remove that a long time ago for some reason. We should re-add it some time but it's not going to be very easy for the task/gantt views.
I think the resources are the only practical view to sort either in the Resourse view or Task dialog-> Resources page. Bit silly to sort tasks given they have temporal relationships. By default the resources should probably sort via alphabetically on the Resource name. They don't always as the list gets hashed to what it wants. This would be a nice predictable way of presenting Reources. The user should be able to sort on any of name (default), type or units in Resource view and name(default), type, allocated or units in Task dialog-> Resources page. Contention for a unique sort position when not sorting on name as a primary sort column should be resolved by using the name as the secondary sort column.
Sounds reasonable. The only good reason I can think of to want to sort the task/gantt views is maybe on start or finish dates to see what tasks need to be started/finished at a time. On the other hand, that purpose is probably better served by creating reports of 'what should be started/finished this week' or 'slipping tasks' ... that sort of thing. I'm thinking it might also be a good idea to sort by name in the Resource Usage view also to keep things consistent.
Hints to developer who grabs this bugzilla: planner-group-dialog.c has the column sorting in it which should work on the resource view/dialog. You can't just do gtk_tree_view_column_set_sort_column_id but must use GtkTreeSortable
*** Bug 155493 has been marked as a duplicate of this bug. ***
*** Bug 324015 has been marked as a duplicate of this bug. ***
As a user, I have been looking for this sort-function too. I whished to sort my resources on the coloumn "group". I found, that I had to enter my resources in the correct order from scratch... because there is not even a way to insert a resource other than at the bottom of the list.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/World/planner/-/issues/49.