Merge lp:~mvo/software-center/treeview-keep-state-on-db-cache-change into lp:software-center
Proposed by
Michael Vogt
Status: | Merged |
---|---|
Merged at revision: | 2933 |
Proposed branch: | lp:~mvo/software-center/treeview-keep-state-on-db-cache-change |
Merge into: | lp:software-center |
Diff against target: |
283 lines (+84/-28) 5 files modified
softwarecenter/ui/gtk3/models/appstore2.py (+10/-1) softwarecenter/ui/gtk3/panes/installedpane.py (+54/-6) softwarecenter/ui/gtk3/panes/softwarepane.py (+0/-9) softwarecenter/ui/gtk3/views/appview.py (+12/-2) softwarecenter/ui/gtk3/widgets/apptreeview.py (+8/-10) |
To merge this branch: | bzr merge lp:~mvo/software-center/treeview-keep-state-on-db-cache-change |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gary Lasker (community) | Approve | ||
Review via email: mp+99946@code.launchpad.net |
Description of the change
This branch depends on the other branches:
lp:~mvo/software-center/lp964433
lp:~mvo/software-center/lp966879
lp:~mvo/software-center/lp846204
and adds the ability to save/restore the state of the installedpane treeview when the db or the cache changes.
This means that if you e.g. uninstal a application when the view refreshes the expanded nodes and scrollposition
is saved.
To test, go to the installed pane, expand some rows and run:
$ dbus-send --print-reply --dest=
or simply remove a application there.
To post a comment you must log in.
This is really nice! And definitely a welcome improvement over the complete collapse of the tree after a refresh of the treeview.
At some point we should look at removing the multiple refreshes (and the showing the spinner) that we get on an install/remove.
Thanks, Michael!