subsequent searches expand first row in search results
Bug #969050 reported by
Michael Vogt
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-center (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When searching sometimes the first row is expaned but not selected, this loos rather odd. To reproduce:
- open software-center
- search for "foo"
- select one of the search results
- search for "bar"
The first row in the search is expanded but not selected. It should not expand.
Related branches
lp:~mvo/software-center/lp969050
- Kiwinote: Approve
-
Diff: 19 lines (+8/-1)1 file modifiedsoftwarecenter/ui/gtk3/widgets/apptreeview.py (+8/-1)
To post a comment you must log in.
Disabling _update_ selected_ row fixes it, so its something to do with that:
=== modified file 'softwarecenter /ui/gtk3/ widgets/ apptreeview. py' ui/gtk3/ widgets/ apptreeview. py 2012-03-30 07:26:46 +0000 ui/gtk3/ widgets/ apptreeview. py 2012-03-30 10:16:58 +0000
self. _update_ selected_ row(view, tr, path)
--- softwarecenter/
+++ softwarecenter/
@@ -285,6 +296,7 @@
def _update_ selected_ row(self, view, tr, path=None):
+ return
# keep track of the currently selected row renderer and associated
# doc for use when updating the widgets and for use with the Unity
# integration feature