appcenter icon indicating copy to clipboard operation
appcenter copied to clipboard

Sort installed tab by date installed

Open elementaryBot opened this issue 8 years ago • 5 comments

Especially since we're currently not sorting out libraries, I think it would be more helpful to sort by date installed than alphabetically.

Launchpad Details: #LP1512912 Daniel Fore - 2015-11-04 00:39:57 +0000

elementaryBot avatar Mar 16 '17 21:03 elementaryBot

https://www.bountysource.com/issues/27947221-sort-installed-tab-by-date-installed

Launchpad Details: #LPC Yuly Nesterov - 2015-12-13 21:36:41 +0000

elementaryBot avatar Mar 16 '17 21:03 elementaryBot

I have examined the PackageKit documentation and the API does not expose the installation date of the apps in the system. Due to this, we cannot sort the installed apps list by installation date.

Maybe we can ask elementary OS in another way for the installation date of every app but the current coded core do not allow this (Package class do not store installation date).

Launchpad Details: #LPC Rubén Reina - 2016-08-25 20:01:01 +0000

elementaryBot avatar Mar 16 '17 21:03 elementaryBot

A possible solution is being investigated...

Launchpad Details: #LPC Rubén Reina - 2016-08-25 20:57:07 +0000

elementaryBot avatar Mar 16 '17 21:03 elementaryBot

I have almost finished the work for the Core and the Views. I will upload the branch for review on Monday.

Launchpad Details: #LPC Rubén Reina - 2016-09-02 12:40:50 +0000

elementaryBot avatar Mar 16 '17 21:03 elementaryBot

Installed apps list is now sorted by installation date. Other apps lists such searches and list of apps for a category remain sorted alphabetically.

Changes in core:

  • Client now queries in an optimized way the list of PackageKit transactions meanwhile obtaining the packages list in order to find installed applications date. With this change we can know the installation date of each installed application, this information is added to the Pk.Package object. To achieve this a new class that inherits from Pk.Package and extends it functionality had to be created in the Core, due to PackageKit public library limitations.

Changes in views:

  • AppListView can now be sorted in two ways (alphabetically and by installation date). By default it is sorted alphabetically but in the installed applications view it is sorted by installation date.

Launchpad Details: #LPC Rubén Reina - 2016-09-05 06:51:56 +0000

elementaryBot avatar Mar 16 '17 21:03 elementaryBot

What is the current sorting system? So far, it does not sort alphabetically, nor according to the time of the last release, nor according to what kind of system component it is.

4jNsY6fCVqZv avatar Dec 01 '21 18:12 4jNsY6fCVqZv