I can also reproduce it, the issue is a async race, the page is set to the details but because we do searches more async now we get a "search-terms-changed" signal afterwards. One possible fix is this:
+ if self.notebook.get_current_page() == self.PAGE_APP_DETAILS:
+ return
+
# yeah for special cases - as discussed on irc, mpt
# wants this to return to the category screen *if*
# we are searching but we are not in any category
I can also reproduce it, the issue is a async race, the page is set to the details but because we do searches more async now we get a "search- terms-changed" signal afterwards. One possible fix is this:
=== modified file 'softwarecenter /view/available pane.py' view/availablep ane.py 2010-04-16 20:30:48 +0000 view/availablep ane.py 2010-04-16 21:18:44 +0000
"""callback when the search entry widget changes"""
logging. debug(" on_search_ terms_changed: %s" % new_text)
--- softwarecenter/
+++ softwarecenter/
@@ -340,6 +340,9 @@
+ if self.notebook. get_current_ page() == self.PAGE_ APP_DETAILS:
+ return
+
# yeah for special cases - as discussed on irc, mpt
# wants this to return to the category screen *if*
# we are searching but we are not in any category