The recent documents/recent applications menus are always disabled in kicker in 5.10 beta. Switching between most used/recently used doesn't make any difference, the menus say disabled.
Ivan?
I can reproduce. This needs to be fixed before the final. Ivan, can you look into this? I don't have time today, and I'm travelling for ~20 hours tomorrow and then need to recover ... Also cc'ing Marco so he is aware.
*** Bug 379620 has been marked as a duplicate of this bug. ***
(for reference - IRC remembers no history :) ) Seems that the problem is that RecentUsageModel::componentComplete is not called in Kicker since RUM is not instantiated via QML in it. It works (for me at least) when I do the following quick and dirty change: --- a/applets/kicker/plugin/rootmodel.cpp +++ b/applets/kicker/plugin/rootmodel.cpp @@ -410,6 +410,7 @@ void RootModel::refresh() if (m_showRecentDocs) { m_recentDocsModel = new RecentUsageModel(this, RecentUsageModel::OnlyDocs, m_recentOrdering); + m_recentDocsModel->componentComplete(); m_entryList.prepend(new GroupEntry(this, m_recentOrdering == RecentUsageModel::Recent ? i18n("Recent Documents") @@ -421,6 +422,7 @@ void RootModel::refresh() if (m_showRecentApps) { m_recentAppsModel = new RecentUsageModel(this, RecentUsageModel::OnlyApps, m_recentOrdering); + m_recentAppsModel->componentComplete(); m_entryList.prepend(new GroupEntry(this, m_recentOrdering == RecentUsageModel::Recent ? i18n("Recent Applications")
Git commit 6a76ce0b4fbdf3c17c37967add7a1f22c35d5059 by Eike Hein. Committed on 16/05/2017 at 12:45. Pushed by hein into branch 'master'. Only defer initial refresh when actually instanciated from QML. Fixes initial refresh in Kicker, where the RUM is instanciated internally by RootModel. Fixes regression from 5ad6e274b7790. M +3 -1 applets/kicker/plugin/recentusagemodel.cpp https://commits.kde.org/plasma-desktop/6a76ce0b4fbdf3c17c37967add7a1f22c35d5059
Git commit 4fb1673b9d7de5bf32ed0d39d40c7d3256b767d9 by Eike Hein. Committed on 25/05/2017 at 23:14. Pushed by hein into branch 'Plasma/5.10'. Only defer initial refresh when actually instanciated from QML. Fixes initial refresh in Kicker, where the RUM is instanciated internally by RootModel. Fixes regression from 5ad6e274b7790. M +3 -1 applets/kicker/plugin/recentusagemodel.cpp https://commits.kde.org/plasma-desktop/4fb1673b9d7de5bf32ed0d39d40c7d3256b767d9