Summary: | "Add Widgets" dialog doesn't display newly installed widgets | ||
---|---|---|---|
Product: | [Unmaintained] plasma4 | Reporter: | Percy Camilo Triveño Aucahuasi <percy.camilo.ta> |
Component: | widget explorer | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | linux, majewsky |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | The code of the applet |
Description
Percy Camilo Triveño Aucahuasi
2007-11-19 07:08:21 UTC
Created attachment 22114 [details]
The code of the applet
This are the sources of the applet.
> this can't detect the new applet. I have to open it > twice and then the list of applets to update correctly. hm. would be interesting to track the reason for this down. i wonder if it's because kbuildsycoca4 doesn't get run immediately, or if the applet dialog actually does require two reloads. > this modification don't see to be update correctely at > least until restart kde. restarting plasma is all that's needed, not all of kde. and the way c++ libraries work this will never different. i suggest for development that you try using the plasmoidviewer application. >hm. would be interesting to track the reason for this down. i wonder if it's because kbuildsycoca4 >doesn't get run immediately, or if the applet dialog actually does require two reloads. Helo thanks for reply, if the dialog needs two reloads i think that a button "Reefresh List" would be a nice solution... (it's only a idea :P not a wish ) >restarting plasma is all that's needed, not all of kde. and the way c++ libraries work this will >never different. I don't know how restart plasma, i supose killing or refresh the proccess that appears in the ksysguard dialog ... >i suggest for development that you try using the plasmoidviewer application. Thanks for the tip , i'm using (and studying the doc :P) of plasmoidviewer Greetings 19 Nov 2007 06:21:52 -0000, Aaron J. Seigo <aseigo@kde.org>: [bugs.kde.org quoted mail] Re-unconfirm (owner changing confirmed the bug). Have you tried just waiting longer before opening the viewer? I think there's a minimum time delay between checks for new/updated .desktop files. To restart plasma: killall plasma; plasma or kquitapp plasma; plasma Thanks, but i was killing plasma with ksysguard. Greetings. What happens if you run kbuildsycoca4 before opening the "Add Widgets" window? Same here, Ubuntu Gutsy packages > In reply to comment 7:
Install the applet and running kbuildsyscoca4 will make it show up immediately.
Waiting a few minutes will help, too.
*** Bug 156873 has been marked as a duplicate of this bug. *** UNCONFIRMED=>New Same happens btw also with "Install Widget" in trunk,even if kbuildsycoca got run. So, the treason seems to be, that the "Add Widget" list just doesn't got updated or updated at the wrong time. SVN commit 821611 by aseigo: respond when sycoca changes. sorting goes all to hell at this point, but i don't have time right now to figure out why. at least we respond to new entries =) BUG:152530 M +8 -7 kcategorizeditemsview.cpp M +8 -2 plasmaappletitemmodel.cpp M +6 -2 plasmaappletitemmodel_p.h WebSVN link: http://websvn.kde.org/?view=rev&revision=821611 |