Bug 339972

Summary: Windows runner doesn't work after login
Product: [Plasma] krunner Reporter: Lasse Liehu <lasse.liehu>
Component: windowsAssignee: Vishesh Handa <me>
Status: RESOLVED FIXED    
Severity: normal CC: me, wengxt
Priority: NOR    
Version: 5.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 5.2

Description Lasse Liehu 2014-10-15 09:18:36 UTC
Windows runner doesn't seem to work after krunner was started automatically during login. Restarting krunner by doing kquitapp krunner and then krunner in console makes the same steps give expected results. Also just touching krunnerrc without any modifications will do the same.

Versions of frameworks and plasma are git master from a few days ago.

Translation language didn't seem to have an effect. Tested with both American English and Finnish. Anyway, I don't have an enabledCategories entry in krunnerrc. Also tested having every runner listed in enabledCategories. That didn't change the behavior, though I only tested that with Finnish as translation language. The runner names in enabledCategories seem to be saved using the current translation language.

Reproducible: Always

Steps to Reproduce:
1. Log in.
2. Start KWrite and wait for its window to appear.
3. Press Alt+F2, type "kwrite" and wait for 5 seconds.

Actual Results:  
The KWrite window does not appear in search results.

Expected Results:  
The KWrite window appears in search results.
Comment 1 Vishesh Handa 2014-11-27 16:09:48 UTC
Confirmed. There definitely seems to be a problem. I have certain windows which show up (kdevelop) but launching an application does not seem to make it appear in the search results.

Please remember to mark the version number in the bug report. KDE4 bugs have a lower priority than Plasma5.
Comment 2 Weng Xuetian 2014-12-13 00:13:45 UTC
Git commit 227415203485fa92f1f229cd980bae699aeb3659 by Weng Xuetian.
Committed on 13/12/2014 at 00:12.
Pushed by xuetianweng into branch 'Plasma/5.1'.

Call RunnerManager::matchSessionComplete when clear the model

krunner expects matchSessionComplete to be called for triggering some
signals.

REVIEW: 121452

M  +1    -0    lib/sourcesmodel.cpp

http://commits.kde.org/milou/227415203485fa92f1f229cd980bae699aeb3659