Bug 1389935

Summary: Hangs when try find application
Product: [Fedora] Fedora Reporter: Martin <namar66>
Component: plasma-discoverAssignee: Rex Dieter <rdieter>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: kde-sig, namar66, rdieter
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-14 14:09:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
pkmon output
none
rpm -Va --nomtime >& rpm.log
none
appstreamcli search krita --verbose >& appstremlog.txt none

Description Martin 2016-10-29 17:17:20 UTC
Description of problem:
discover always hangs when it try some application find

Version-Release number of selected component (if applicable):
plasma-discover-5.8.1-1.fc25.x86_64


How reproducible:
always

Steps to Reproduce:
1.run discover
2.write text to search field
3.discover hangs

Actual results:
discover hangs

Expected results:
discover properly find application

Additional info:

Comment 1 Martin 2016-10-29 18:18:28 UTC
from konsole

<Unknown File>: QML QQuickLayoutAttached: Binding loop detected for property "preferredHeight"
file:///usr/lib64/qt5/qml/org/kde/kirigami/GlobalDrawer.qml:213:9: QML Flickable: Binding loop detected for property "contentHeight"

Comment 2 Rex Dieter 2016-10-31 11:52:32 UTC
how long did you wait?

2 things to try:

1.  how long does 'pkcon update' in a terminal take to complete?

2.  try running 'pkmon' in a terminal while plasma-discover is running (and you try doing a search).  what does it say?

Comment 3 Martin 2016-10-31 18:50:12 UTC
Created attachment 1215893 [details]
pkmon output

"pkcon update" take a while

Comment 4 Martin 2016-10-31 19:21:05 UTC
appstreamcli search krita, seems doesnt work ,but gnome-software works ok.

I look for kde bug but they has diferent problem (hangs/ not find)
https://bugs.kde.org/show_bug.cgi?id=362096

Comment 5 Rex Dieter 2016-11-01 12:04:56 UTC
Try running (as root):

appstreamcli refresh-index --force

and see if that helps.  Otherwise, we'll have to debug why appstreamcli search hangs.

Comment 6 Martin 2016-11-01 16:24:59 UTC
Command 'refresh-index' is unknown.

Comment 7 Martin 2016-11-01 16:36:10 UTC
what is needed dependencies? its something missing? in man is only

"refresh" and "refresh-cache" but in result with '--help' is this command is it.

Comment 8 Martin 2016-11-01 16:40:36 UTC
Created attachment 1216167 [details]
rpm -Va --nomtime >& rpm.log

Comment 9 Martin 2016-11-01 16:41:52 UTC
Created attachment 1216168 [details]
appstreamcli search krita --verbose >& appstremlog.txt

for a while a kill with "ctr+c"

Comment 10 Martin 2017-05-04 15:26:11 UTC
with plasma-discover-5.9.5-1.fc26.x86_64 works almost fine, dont hangs, but sometimes need 2 times to find something.

Comment 11 Martin 2017-07-14 14:09:53 UTC
with plasma-discover-5.9.5-1.fc25.x86_64.rpm, not hangs again and looks works ok