@gf I updated the description.

** Description changed:

  Currently it's possible to type a search term in the quick search text
  input field while the search index is recreated (indicated by the label
  above the text input field). When it is finished (indicated by the
  label) the search result isn't updated leaving the user with the
  impression that the search result is empty for the updated index as
  well. Changing one letter in the search query will prove you wrong in
  many cases.
+ 
+ Steps to reproduce:
+ 
+ 1. Open `synaptic` with `sudo synaptic` on console or else
+ 2. Make sure the quicksearch feature is installed (that there's a text field 
left to the search button in the top toolbar).
+ 3. Trigger the rebuilding of the search index (unclear how this is possible 
within `synaptic`, but devs will know)
+ 4. Type "abc" into the search text field which will display a search result 
(probably based on the outdated index, but there's no warning or other 
information about it), then quickly type "def" in the same text field
+ 
+ Expected result:
+ The packages displayed for the search result of "def" should match the search.
+ 
+ Actual result:
+ The packages displayed remain the ones for the search for "abc".
+ 
+ Note:
+ This problem could be avoided if the creation of the search index would be 
parallelized (currently only uses 1 CPU core) and thus be speed up so that the 
search UI could be blocked until the index is rebuilt.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: synaptic 0.81.2
  ProcVersionSignature: Ubuntu 3.16.0-23.31-generic 3.16.4
  Uname: Linux 3.16.0-23-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
  ApportVersion: 2.14.7-0ubuntu8
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Fri Oct 31 08:50:20 2014
  SourcePackage: synaptic
  UpgradeStatus: No upgrade log present (probably fresh install)
- --- 
+ ---
  ProblemType: Bug
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  DistroRelease: Ubuntu 18.04
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  Package: synaptic 0.84.3ubuntu1
  PackageArchitecture: amd64
  ProcVersionSignature: Ubuntu 4.15.0-29.31-generic 4.15.18
  Tags: third-party-packages bionic
  Uname: Linux 4.15.0-29-generic x86_64
  UpgradeStatus: Upgraded to bionic on 2018-04-30 (85 days ago)
  UserGroups: bumblebee dialout lpadmin mail sudo vboxusers
  _MarkForUpload: True

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

Title:
  search results aren't updated after building quick search index
  finished

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to