[Bug 1555713] [NEW] reduce flickering by 'debouncing' user input

Thibaut Brandscheid randaltor at web.de
Thu Mar 10 16:37:03 UTC 2016


Public bug reported:

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)

** Affects: dash (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

** Description changed:

  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, because with every new input-character the result-view gets updated.
+ 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)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dash in Ubuntu.
https://bugs.launchpad.net/bugs/1555713

Title:
  reduce flickering by 'debouncing' user input

Status in dash package in Ubuntu:
  New

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dash/+bug/1555713/+subscriptions



More information about the foundations-bugs mailing list