Lubuntu Software Center

Incremental search in Lubuntu Software Center is not lightweight

Reported by ethanay on 2012-08-30
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Lubuntu Software Center
Undecided
Unassigned

Bug Description

Incremental search, or "search as you type" is a nice feature that progressively narrows and refines the results as you type additional information into a search box, without needing to press enter or another button to submit the search query.

however, its implementation in Lubuntu Software Center is not conducive to LXDE's mission of being lightweight: Incremental search is almost unusable on P4 systems because it consumes so much CPU power. It results in high CPU usage and several seconds of delays and backlogged processing requests, making the the process of using the search function almost completely unusable.

Suggested fixes:
1. disable incremental search. this is the easiest fix.

2. refine the incremental search process. there may be some code optimization that needs doing (i'm not a coder, i don't know). there are certainly some opportunities for behavioral tweaks. For example, implement a one second delay for incremental search, requiring one second of pause in typing before incremental search activates for the current search string.

That's absolutely true, a fast hack that can be done is set a delay to
the search (e.g. if "firefox" is searched do not search for f, then i,
then f, then e...)

ethanay (ethan-y-us) wrote :

Yes, exactly! That would make the search box much more usable!

On Thu, Aug 30, 2012 at 4:55 AM, Stephen Smally
<email address hidden>wrote:

> That's absolutely true, a fast hack that can be done is set a delay to
> the search (e.g. if "firefox" is searched do not search for f, then i,
> then f, then e...)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1043595
>
> Title:
> Incremental search in Lubuntu Software Center is not lightweight
>
> Status in Lubuntu Software Center:
> New
>
> Bug description:
> Incremental search, or "search as you type" is a nice feature that
> progressively narrows and refines the results as you type additional
> information into a search box, without needing to press enter or
> another button to submit the search query.
>
> however, its implementation in Lubuntu Software Center is not
> conducive to LXDE's mission of being lightweight: Incremental search
> is almost unusable on P4 systems because it consumes so much CPU
> power. It results in high CPU usage and several seconds of delays and
> backlogged processing requests, making the the process of using the
> search function almost completely unusable.
>
> Suggested fixes:
> 1. disable incremental search. this is the easiest fix.
>
> 2. refine the incremental search process. there may be some code
> optimization that needs doing (i'm not a coder, i don't know). there
> are certainly some opportunities for behavioral tweaks. For example,
> implement a one second delay for incremental search, requiring one
> second of pause in typing before incremental search activates for the
> current search string.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/lubuntu-software-center/+bug/1043595/+subscriptions
>

ethanay (ethan-y-us) wrote :

I am marking as confirmed, then!

ethanay (ethan-y-us) wrote :

marking confirmed

Changed in lubuntu-software-center:
status: New → Confirmed
Stephen Smally (stephen-smally) wrote :

Fixed in rev 142, the word is searched after 300 msec (a person typing at the average speed should be able to complete the word before timeout's callback)

Changed in lubuntu-software-center:
status: Confirmed → Fix Committed
Jackson Doak (noskcaj) on 2013-07-31
tags: removed: incremental lightweight search
John Spink (john-spink) wrote :

"Fixed in rev 142, the word is searched after 300 msec (a person typing at the average speed should be able to complete the word before timeout's callback)"

What about a 58 year-old silver surfer with arthritic fingers??
Could it be made a user option to turn off incremental search?

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

Other bug subscribers