So it seems its the extends loading that does not take into account what items it needs:
=== modified file 'softwarecenter/ui/gtk3/models/appstore2.py' --- softwarecenter/ui/gtk3/models/appstore2.py 2012-03-16 10:44:05 +0000 +++ softwarecenter/ui/gtk3/models/appstore2.py 2012-03-29 07:37:10 +0000 @@ -414,7 +414,7 @@ if n_matches == 0: return
- extent = min(self.LOAD_INITIAL, n_matches) + extent = max(self.LOAD_INITIAL, n_matches)
with ExecutionTime("store.append_initial"): for doc in [m.document for m in matches][:extent]:
Fixes it as well
So it seems its the extends loading that does not take into account what items it needs:
=== modified file 'softwarecenter /ui/gtk3/ models/ appstore2. py' ui/gtk3/ models/ appstore2. py 2012-03-16 10:44:05 +0000 ui/gtk3/ models/ appstore2. py 2012-03-29 07:37:10 +0000
--- softwarecenter/
+++ softwarecenter/
@@ -414,7 +414,7 @@
if n_matches == 0:
return
- extent = min(self. LOAD_INITIAL, n_matches) LOAD_INITIAL, n_matches)
+ extent = max(self.
with ExecutionTime( "store. append_ initial" ):
for doc in [m.document for m in matches][:extent]:
Fixes it as well