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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/964433

Title:
  slow redisplay of category ites

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/964433/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to