[krunner] [Bug 406384] AppStream runner reduces KRunner performance and causes calculator runner to not show any results approximately 60% of the time

2019-06-17 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=406384

Nate Graham  changed:

   What|Removed |Added

 Status|RESOLVED|VERIFIED

-- 
You are receiving this mail because:
You are watching all bug changes.

[krunner] [Bug 406384] AppStream runner reduces KRunner performance and causes calculator runner to not show any results approximately 60% of the time

2019-06-17 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=406384

--- Comment #12 from Patrick Silva  ---
I just updated to AppStream 0.12.7 on Arch Linux and I can confirm that this
bug is fixed. \o/

-- 
You are receiving this mail because:
You are watching all bug changes.

[krunner] [Bug 406384] AppStream runner reduces KRunner performance and causes calculator runner to not show any results approximately 60% of the time

2019-06-16 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=406384

Nate Graham  changed:

   What|Removed |Added

  Latest Commit||https://github.com/ximion/a
   ||ppstream/commit/0d74990a3f1
   ||19d1fd96703bd60996b0c43fae7
   ||33

-- 
You are receiving this mail because:
You are watching all bug changes.

[krunner] [Bug 406384] AppStream runner reduces KRunner performance and causes calculator runner to not show any results approximately 60% of the time

2019-06-16 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=406384

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In||AppStream 0.12.7

--- Comment #11 from Nate Graham  ---
Now fixed with
https://github.com/ximion/appstream/commit/0d74990a3f119d1fd96703bd60996b0c43fae733
in AppStream 0.12.7

-- 
You are receiving this mail because:
You are watching all bug changes.

[krunner] [Bug 406384] AppStream runner reduces KRunner performance and causes calculator runner to not show any results approximately 60% of the time

2019-06-01 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=406384

romulu...@gmail.com changed:

   What|Removed |Added

 CC||romulu...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[krunner] [Bug 406384] AppStream runner reduces KRunner performance and causes calculator runner to not show any results approximately 60% of the time

2019-05-28 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=406384

Nate Graham  changed:

   What|Removed |Added

 CC||noga.d...@gmail.com

--- Comment #10 from Nate Graham  ---
*** Bug 407994 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[krunner] [Bug 406384] AppStream runner reduces KRunner performance and causes calculator runner to not show any results approximately 60% of the time

2019-05-22 Thread Rakesh
https://bugs.kde.org/show_bug.cgi?id=406384

--- Comment #9 from Rakesh  ---
(In reply to Nate Graham from comment #8)
> Investigation by Aleix Pol:
> 
> $ appstreamcli search "coco" | wc -l
> 6
> $ appstreamcli search "2+2" | wc -l
> 8953
> $ appstreamcli search "" | wc -l
> 8953
> 
> Looks like the culprit here is in the AppStream library which we use for
> returning matched apps for the AppStream runner when it's enabled. When
> there are no matches (e.g. because the search term was a mathematical
> expression), it seems to be returning all items instead of none, which is
> the cause of the slowdown.
> 
> Tracking this upstream: https://github.com/ximion/appstream/issues/237

Fantastic, thank you for your hard work, Nate!

-- 
You are receiving this mail because:
You are watching all bug changes.

[krunner] [Bug 406384] AppStream runner reduces KRunner performance and causes calculator runner to not show any results approximately 60% of the time

2019-05-22 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=406384

Nate Graham  changed:

   What|Removed |Added

URL||https://github.com/ximion/a
   ||ppstream/issues/237
 Resolution|--- |UPSTREAM
 Status|CONFIRMED   |RESOLVED

--- Comment #8 from Nate Graham  ---
Investigation by Aleix Pol:

$ appstreamcli search "coco" | wc -l
6
$ appstreamcli search "2+2" | wc -l
8953
$ appstreamcli search "" | wc -l
8953

Looks like the culprit here is in the AppStream library which we use for
returning matched apps for the AppStream runner when it's enabled. When there
are no matches (e.g. because the search term was a mathematical expression), it
seems to be returning all items instead of none, which is the cause of the
slowdown.

Tracking this upstream: https://github.com/ximion/appstream/issues/237

-- 
You are receiving this mail because:
You are watching all bug changes.

[krunner] [Bug 406384] AppStream runner reduces KRunner performance and causes calculator runner to not show any results approximately 60% of the time

2019-05-21 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=406384

--- Comment #7 from Nate Graham  ---
Interestingly enough I can't reproduce this in KDE Neon Unstable (everything
from git master). But I can reproduce it on Manjaro.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krunner] [Bug 406384] AppStream runner reduces KRunner performance and causes calculator runner to not show any results approximately 60% of the time

2019-05-21 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=406384

--- Comment #6 from Nate Graham  ---
If this is a regression in the runner itself, there aren't a whole lot of
commits that could have caused it:
https://cgit.kde.org/plasma-workspace.git/log/runners/appstream/appstreamrunner.cpp

Maybe
https://cgit.kde.org/plasma-workspace.git/commit/runners/appstream/appstreamrunner.cpp?id=0ec3f76810b712b99f18ef5f1afa70fe4a3884fd,
need to check

-- 
You are receiving this mail because:
You are watching all bug changes.

[krunner] [Bug 406384] AppStream runner reduces KRunner performance and causes calculator runner to not show any results approximately 60% of the time

2019-05-20 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=406384

Nate Graham  changed:

   What|Removed |Added

Summary|Calculator in Krunner does  |AppStream runner reduces
   |show any results|KRunner performance and
   |approximately 60% of the|causes calculator runner to
   |time|not show any results
   ||approximately 60% of the
   ||time
   Priority|NOR |HI
   Severity|normal  |major

-- 
You are receiving this mail because:
You are watching all bug changes.