Bug 394983 - Search application, causes high CPU load (and heating problems)
Summary: Search application, causes high CPU load (and heating problems)
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.12.90
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-03 10:25 UTC by mijs tonen
Modified: 2018-10-08 14:11 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.15


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mijs tonen 2018-06-03 10:25:15 UTC
If searching for application, it never stops.
Al-tough that might arguable valid (aka: big repository to search, and/or continuously updated). It functionally is incorrect. Let's assume that is a bug, because it will cause the process being active and so a very high CPU load. In certain cases it may cause heating problems and defects to hardware. Note that this issue increases when running as virtual machine (Aka: guest-os in vbox).

So a more proper behavior would be to wait for input [Search next button] from the user to continue searching after the first is found. For the case nothing (so far) found repository specific conditions (aka, 90% of apps searched) or a timeout (aka: 600 seconds) could be applied, A application dialog [Nothing found, so far: Continue searching? | Abort ?] would be the typical KDE user friendly way to do it.

Note: No crash, so no stack trace included.
Comment 1 Aleix Pol 2018-10-08 14:11:32 UTC
This was fixed for 5.15, the error should be much less important in 5.14 already.
Sorry for the inconvenience.