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

Bug #1387977 reported by Karl-Philipp Richter on 2014-10-31
This bug affects 1 person
Affects Status Importance Assigned to Milestone
synaptic (Ubuntu)

Bug Description

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".

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

gf (gf-interlinks) wrote :

Hello again Karl-Philipp,
I am still going through these old bugs.
Thank you for submitting this bug and reporting a problem with synaptic. You made this bug report some time ago and Ubuntu has been updated since then.

Could you confirm that this is no longer a problem and that we can close the ticket?
If it is still a problem, are you still interested in finding a solution to this bug?
If you are, could you let us know, and in the current version, run the following (only once):
apport-collect BUGNUMBER
and upload the updated logs and and any other logs that are relevant for this particular issue.

Thank you again for helping make Ubuntu better.

Changed in synaptic (Ubuntu):
status: New → Incomplete

apport information

tags: added: apport-collected bionic third-party-packages
description: updated

apport information

apport information

apport information

apport information

This is still and issue on Ubuntu 18.04.

gf (gf-interlinks) wrote :

Hi Karl-Philipp. Thanks for the update and the apport info. I'll look at next steps.
Take care

Changed in synaptic (Ubuntu):
status: Incomplete → New
gf (gf-interlinks) wrote :

Hi Karl-Philipp,
I just want to clarify the issue for the programmers and I am unable to replicate this situation on my computer.

Could you post the exact steps to reproduce?
For example,
1. Open synaptic
2. click "search" button
3. enter a "..." as a search term
4. while it is searching for the "..." term, change the search term to "...".


@gf I updated the description.

description: updated
C de-Avillez (hggdh2) wrote :

marking as Triaged/Low, per request at #ubuntu-bugs

Changed in synaptic (Ubuntu):
importance: Undecided → Low
status: New → Triaged
gf (gf-interlinks) wrote :

Thanks for making those changes, C!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers