Merge lp:~gary-lasker/software-center/hide_nonapps_pkgs_xapian into lp:software-center
Status: | Merged |
---|---|
Merged at revision: | 838 |
Proposed branch: | lp:~gary-lasker/software-center/hide_nonapps_pkgs_xapian |
Merge into: | lp:software-center |
Diff against target: |
79 lines (+29/-3) 4 files modified
debian/changelog (+10/-0) softwarecenter/view/appview.py (+3/-0) softwarecenter/view/availablepane.py (+7/-3) softwarecenter/view/channelpane.py (+9/-0) |
To merge this branch: | bzr merge lp:~gary-lasker/software-center/hide_nonapps_pkgs_xapian |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
software-store-developers | Pending | ||
Review via email: mp+27225@code.launchpad.net |
Description of the change
Heya Michael,
Here's a branch that implements your suggestion to set the model to None on a refresh_apps as a fix for the visual glitch when (for instance) navigating to Developer Tools->Libraries (and the resulting extra .6 second delay when showing the non-app packages).
I found however that if I just implemented the model = None technique generally it introduced an ugly flash on those list view updates that are normally very clean and fast, including when selecting PPAs with very few packages in them and on every search update. You can see this effect if you try this branch at revision 836.
So I fine-tuned the effect to only come into play for the views where it actually helps, and to be skipped for those other cases where it made things worse. That's what you'll see at the latest revision.
Note that I agree it's not pretty to directly check the channel component string "partner". Really, I think that's just a reminder that I need to get my partner-fixmes branch updated and finalized.
Please let me know what you think. Thanks!
Gary