Summary: | System settings sometimes are not being shown in Computer -> Applications | ||
---|---|---|---|
Product: | [Plasma] plasma4 | Reporter: | Mad Fish <MadFishTheOne> |
Component: | widget-kickoff | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | annma, debfx-kde, helder.meneses, sitter |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
showing the bug
Call reloadApplications() in SystemModel constructor |
Description
Mad Fish
2010-03-31 23:43:11 UTC
Created attachment 42429 [details]
showing the bug
Always attach screenshots directly otherwise they might expire. I am having this bug right now in my 4.4 branch build, not sure what's happening here and where to start to investigate! I confirm this bug report meanwhile. Actually I have a hint. I opened KMenuEdit and restored defaults to System Menu (in the Edit menu) and saved; System Settings appeared again in Kickoff. As soon as I switch to Classic Menu and back to Kickoff the System Settings entry disappears. Note: there does not seem to be a "System Settings" entry in classic menu. Can you try to reproduce a pattern based on this? I'll investigate further myself but I have little time in the next days. Created attachment 42696 [details]
Call reloadApplications() in SystemModel constructor
I think the problem is that SystemModel::reloadApplications() might never be called.
My testings haven shown that the attached patch fixes this bug by calling reloadApplications() in the constructor.
It applies to KDE 4.4 and trunk.
*** Bug 232729 has been marked as a duplicate of this bug. *** SVN commit 1113958 by sitter: Fix stuff randomly disappearing from kickoff's computer tab by making the SystemModel use reloadApplications. Thanks to Felix Geyer for the patch! BUG: 232901 M +1 -0 systemmodel.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1113958 SVN commit 1113960 by sitter: Backport r1113958. Fix stuff randomly disappearing from kickoff's computer tab by making the SystemModel use reloadApplications. Thanks to Felix Geyer for the patch! BUG: 232901 M +1 -0 systemmodel.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1113960 |