Successive search states cause blinking/flashing

Bug #608133 reported by David Siegel
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity
Fix Released
Low
Neil J. Patel
unity-lens-applications
Fix Released
Medium
Mikkel Kamstrup Erlandsen
unity-lens-files
Fix Released
Medium
Mikkel Kamstrup Erlandsen
unity (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

As the set of search results changes, the groups/items displayed in the Dash should smoothly grow or shrink. Currently, the Dash flashes when search results change.

Related branches

summary: - Successive search states causes blinking/flashing
+ Successive search states cause blinking/flashing
Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

The underlying problem is that in order to quickly have some working code to show I am currently calling model.clear() on my Dee.Model in the -place daemons.

The correct solution is to not clear the model completely, but scanning it and removing stuff that is no longer in the search results (or add any new items).

Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

I am in the progress of fixing this, but it's a multi-step plan to fix this "The Right Way" (TM).

The first step is to get add an Dee.Index API to libdee that can be used to do key based access on a Dee.Model. I am working on this right now.

Given this index we can compute the diff of the results and the existing model reasonably effectively, and then only add/remove hits corresponding to the diff.

Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

Currently in trunk we smoothly shrink the result set as you type... A similar approach can be used to grow it dynamically as well... When I get around to that :-)

So consider this bug 50% done :-)

Changed in unity-place-applications:
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
importance: Undecided → Medium
status: New → In Progress
Changed in unity-place-files:
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Neil J. Patel (njpatel) wrote :

This needs work on Unity-side too.

Changed in unity:
assignee: nobody → Neil J. Patel (njpatel)
importance: Undecided → Low
milestone: none → 2010-09-02
status: New → Triaged
Revision history for this message
Neil J. Patel (njpatel) wrote :

I added fixes for this in the last release. Please re-open if you still get flashing when searching

Changed in unity:
status: Triaged → Fix Released
Changed in unity-place-applications:
status: In Progress → Fix Released
Changed in unity-place-files:
status: In Progress → Fix Released
Changed in unity (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.