It turns out that the problem is that: - in appview.py we call model.set_from_matches() - this will load a initial batch of rows and the add empty placeholder rows - because the apptreeview has a _cell_data_func the rows are requesting data - this causes load_range to be run and that will load the documents that were meant to be empty and loaded on demand
The fix is to disconnect the model first and then after its updated set it again. ** Branch linked: lp:~mvo/software-center/lp964433 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to software-center in Ubuntu. https://bugs.launchpad.net/bugs/964433 Title: slow redisplay of category ites Status in “software-center” package in Ubuntu: In Progress Bug description: when i browse through the software center categories (games for example),and click more information about some game or application, it works fine, but when i hit back to return to the list of games, it shows an empty category ??the work around i found is to resize the software center from window to full screen or vice versa then the category list will repopulate properly to where i stopped ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: software-center 5.1.13.1 ProcVersionSignature: Ubuntu 3.2.0-20.32-generic-pae 3.2.12 Uname: Linux 3.2.0-20-generic-pae i686 ApportVersion: 1.95-0ubuntu1 Architecture: i386 Date: Sun Mar 25 12:32:42 2012 InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha i386 (20120216) PackageArchitecture: all ProcEnviron: TERM=xterm LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: software-center UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/964433/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp