This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Testing new plasmoid problems

Tags: None
(comma "," separated)
mostuff
Registered Member
Posts
2
Karma
0

Testing new plasmoid problems

Tue Jun 29, 2010 1:55 am
I'm trying to write my first plasmoid and am having varying levels of success. It's a popupapplet to display my internet usage using data from my ISP. At the moment I've cut the code right down so all I'm doing is setPopupIcon("krdc") in the constructor and I have an empty init method.

The problem is is that previous times I've been playing around with returning a QPushButton from the widget() method (which successfully displayed a button when I added to the panel) but now that I've changed it to just display an icon, it still displays the button when I add it to the panel (yes I've deleted the .so file manually, cleaned, recompiled and reinstalled many times just to make sure I was doing it right). I managed to get it to display the icon using some combination of rebooting, deleting and re-installing the plasmoid, killing plasma and running plasma-desktop and running kbuildsycoca4. Now if I change the icon to kmix, when I add the plasmoid to the panel it still displays the krdc icon.

Is there some kind of caching going on and if so how do I clear it?

Running Kubuntu 10.04 and KDE 4.4.2

TIA
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Testing new plasmoid problems

Tue Jun 29, 2010 4:35 am
You need to restart Plasma each time you compile and install your plasmoid due to the way files are loaded.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
mostuff
Registered Member
Posts
2
Karma
0

Re: Testing new plasmoid problems

Tue Jun 29, 2010 5:17 am
Do you mean something like kquitapp plasma-desktop && plasma-desktop?
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: Testing new plasmoid problems

Tue Jun 29, 2010 10:18 am
mostuff wrote:Do you mean something like kquitapp plasma-desktop && plasma-desktop?


that would do it


OpenSuse Leap 42.1 x64, Plasma 5.x



Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]