reduce flickering by 'debouncing' user input

Bug #1555713 reported by Thibaut Brandscheid
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dash (Ubuntu)
New
Undecided
Unassigned

Bug Description

Problem
-----------
Every time the user changes the content of the search-bar the Dash updates its result-view. When typing, this results in result-view screen flickering.

Common solution for this problem
-----------------------------------------------
Is to cache the last user-input and search only after a delay, as long as there has been no new user input. This function is called 'Debounce' in ReactiveX -> http://reactivex.io/documentation/operators/debounce.html

Pros:
* less screen flickering
* less resource usage (the search-query is often executed only once)

Cons:
* very slow search results take from a user point-of-view longer, because they get executed after the debounce-delay.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: dash 0.5.8-2.1ubuntu2
ProcVersionSignature: Ubuntu 4.4.0-11.26-generic 4.4.4
Uname: Linux 4.4.0-11-generic x86_64
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Mar 10 17:18:23 2016
InstallationDate: Installed on 2015-12-12 (89 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20151209)
SourcePackage: dash
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Thibaut Brandscheid (k1au3-is-37) wrote :
description: updated
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.