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

            Bug ID: 386621
           Summary: Support downloading Wallpaper Plugins from KDE Store
           Product: plasmashell
           Version: master
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
          Assignee: k...@davidedmundson.co.uk
          Reporter: zrenf...@gmail.com
                CC: plasma-b...@kde.org
  Target Milestone: 1.0

We can look at plasma-workspace/wallpapers/image for an example of how to do
this.
https://github.com/KDE/plasma-workspace/tree/master/wallpapers/image

1. Add "get-hot-new-stuff" button to the right of the plugin dropdown in:
  
https://github.com/KDE/plasma-desktop/blob/master/desktoppackage/contents/configuration/ConfigurationContainmentAppearance.qml

import org.kde.kconfig 1.0 // for KAuthorized

QtControls.Button {
    iconName: "get-hot-new-stuff"
    visible: KAuthorized.authorize("ghns")
    onClicked: _____.getNewWallpaperPlugin(this)
}

Note that we'll need to create a new C++ function similar to:
*
https://github.com/KDE/plasma-workspace/blob/master/wallpapers/image/image.cpp#L594
*
https://github.com/KDE/plasma-workspace/blob/master/components/shellprivate/widgetexplorer/widgetexplorer.cpp#L443

The widget explorer might be more relevant.

Once we have the code, we can make a wallpaperplugin.knsrc (probably in
plasma-workspace).

Lastly we need to create a new category on store.kde.org (this could be done
now actually).
We'll also need to move this product (https://store.kde.org/p/1197828/) which
is current incorrectly in the Plasma Widget category.

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

Reply via email to