Bug 163377 - Add versioning system for plasmoids
Summary: Add versioning system for plasmoids
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-06 17:42 UTC by Iuri Fiedoruk
Modified: 2009-09-03 15:40 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.