Bug 514020 - Use "X-Plasma-API-Minimum-Version" as blocker for adding new AppletQuickItem.
Summary: Use "X-Plasma-API-Minimum-Version" as blocker for adding new AppletQuickItem.
Status: CONFIRMED
Alias: None
Product: libplasma
Classification: Frameworks and Libraries
Component: libplasma (other bugs)
Version First Reported In: 6.5.4
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-31 20:50 UTC by Mark Capella
Modified: 2026-01-07 01:38 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Capella 2025-12-31 20:50:42 UTC
I'd like my plasmoid to be able to "refuse to load" based on the setting I put
into it's metadata.json field "X-Plasma-API-Minimum-Version" for it's
major / minor / micro version numbers.

This doesn't happen currently. The version isn't checked until some other
general error condition is first detected (1).

I'd rather it trigger an immediate failure. Devs creating plasmoids that
depend on specific features introduced at specific Plasma versions
will be more stable.

(1) https://invent.kde.org/plasma/libplasma/-/blob/master/src/plasmaquick/appletquickitem.cpp?ref_type=heads#L549-565
Comment 1 Nate Graham 2026-01-06 20:14:47 UTC
I think this is a good idea! Are you interested in submitting a patch for it?
Comment 2 Mark Capella 2026-01-07 01:38:11 UTC
Sure. Give me a couple days :)