https://bugs.kde.org/show_bug.cgi?id=514020

            Bug ID: 514020
           Summary: Use "X-Plasma-API-Minimum-Version" as blocker for
                    adding new AppletQuickItem.
    Classification: Frameworks and Libraries
           Product: libplasma
      Version First 6.5.4
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: libplasma
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to