Merge lp:~mvo/software-center/appview-tweaks into lp:software-center
Proposed by
Michael Vogt
Status: | Merged |
---|---|
Merged at revision: | 2969 |
Proposed branch: | lp:~mvo/software-center/appview-tweaks |
Merge into: | lp:software-center |
Diff against target: |
121 lines (+29/-23) 4 files modified
softwarecenter/ui/gtk3/panes/availablepane.py (+1/-1) softwarecenter/ui/gtk3/panes/softwarepane.py (+1/-5) softwarecenter/ui/gtk3/views/appview.py (+27/-15) test/gtk3/test_app_view.py (+0/-2) |
To merge this branch: | bzr merge lp:~mvo/software-center/appview-tweaks |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gary Lasker (community) | Approve | ||
Review via email: mp+101727@code.launchpad.net |
Description of the change
This branch is based on the very nice work in lp:~gary-lasker/software-center/sorting-fix-lp969215
The main reason for it is combine user_defined_
into the single single variable. Test test cases from #969215 and #966878 are working nicely for me
and the tests work as well.
But given how close we are to the end of the cycle and how delicate this code is, I would appreciate
a extra critical review of this to ensure we do not add regressions.
To post a comment you must log in.
Hi Michael. Thanks for this, I like it very much! I just have one small detail that I am not sure that we really want to do. It's the part of softwarecenter/ ui/gtk3/ panes/available pane.py where we reset to the default search mode every time we change the category (the change at line 693). I think that it's preferable to just remove this piece, so that even when navigating between categories we retain the search criteria that the user has set.
I personally prefer this and I also think that it is in the spirit of the fix for bug 966878. Note the comment in the bug description "This does not occur when browsing catagories and it seems to remember the setting fine". We will be breaking that expectation if we do this reset.
Please let me know if you agree or not. Other than this one detail to be decided, I am all for merging this branch! I'll set it to approved in any case.
Thanks again, Michael!