Incremental search in Lubuntu Software Center is not lightweight

Bug #1043595 reported by ethanay
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Lubuntu Software Center
Won't Fix
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.

Revision history for this message
Stephen Smally (stephen-smally) wrote : Re: [Bug 1043595] [NEW] Incremental search in Lubuntu Software Center is not lightweight

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

Revision history for this message
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
>

Revision history for this message
ethanay (ethan-y-us) wrote :

I am marking as confirmed, then!

Revision history for this message
ethanay (ethan-y-us) wrote :

marking confirmed

Changed in lubuntu-software-center:
status: New → Confirmed
Revision history for this message
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)
tags: removed: incremental lightweight search
Revision history for this message
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?

Revision history for this message
Simon Quigley (tsimonq2) wrote :

The maintenance of the Lubuntu Software Center is now limited to critical bugfixes on Lubuntu 16.04 only. It has been removed from the archive and does not ship in Lubuntu 17.10 and on. Therefore, I am closing this bug as Won't Fix.

Changed in lubuntu-software-center:
status: Fix Committed → Won't Fix
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.