Bug 163377

Summary: Add versioning system for plasmoids
Product: [Plasma] plasma4 Reporter: Iuri Fiedoruk <protomank>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: wishlist CC: asraniel, mail
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Iuri Fiedoruk 2008-06-06 17:42:57 UTC
Version:           KDE 4.1 beta 1 (using Devel)
Installed from:    Compiled sources

OK, this could be marked as a wish, but I also believe it's a bug.

Simply put, Plasma API is not stable and plasmoids made and compiled for KDE 4.0 do not work under 4.1. Worse than that, they crash Plasma.

I know that the idea is to stabilize Plasma API, but I do not see that happening so soon (it was supposed to be on 4.1, but I hardly believe it will be on 4.2).
So the solution is to add some versioning check in plasmoids, simply put, plasmoids whould have to declare the version that they are made (or compiled) to, and if Plasma thinks it's not compatible, do not allow user to add them, or even more, show those as disabled items in the plasmoids list.

Just think of mozilla firefox extensions and you'll soon know what I mean :)
I think this would be a great improvement already for 4.1, and I wished I had posted that before freezes in trunk, but I just got beta1 this week :-(
Comment 1 Alex Merry 2008-07-05 13:40:15 UTC
Might be a good idea for 4.2...  Too late for 4.1, though.
Comment 2 Beat Wolf 2009-09-03 14:19:45 UTC
since plasma is now in kdelibs which means it stays binary compatible, this can be closed.
Comment 3 Iuri Fiedoruk 2009-09-03 15:18:03 UTC
Hum, let me ask one thing:
If I install an plasmoid made for KDE 4.3 in KDE 4.8 (hypotesis), will it work?
Or will it crash?
Or will it present a nice "incompatible plasmoid" message?
Comment 4 Beat Wolf 2009-09-03 15:40:15 UTC
As i said, it's binary compatible, so it should work. It will stop work when the hypothetical kde 5 comes out, thats when binary compatibilty is broken.