Bug 512731

Summary: Download New Global Themes often fails to install dependencies
Product: [Frameworks and Libraries] frameworks-knewstuff Reporter: Die4Ever <die4ever2005>
Component: generalAssignee: Dan Leinir Turthra Jensen <admin>
Status: REPORTED ---    
Severity: normal CC: alexander.lohnau, kdedev, kdelibs-bugs-null
Priority: NOR    
Version First Reported In: 6.17.0   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Die4Ever 2025-11-28 17:32:05 UTC
SUMMARY
I've been working on a look-and-feel theme with many dependencies https://www.pling.com/p/2330858/

In testing I find that it often fails to install or update. Or sometimes the installation succeeds but one or more dependencies are missing, which would be confusing for the user wondering why it looks wrong. Maybe something as simple as a few retries would be an improvement.

STEPS TO REPRODUCE
1. open System Settings
2. go to Global Theme
3. click Get New...
4. search for Reactionary 98 (or any theme with many dependencies) and install
5. hope it succeeds?

OBSERVED RESULT
Sometimes fails or missing dependencies. I think especially kns://plasma-themes.knsrc/api.kde-look.org/1252412 and kns://sddmtheme.knsrc/api.kde-look.org/1376447 are failing often.

EXPECTED RESULT
Should install Win98/Win98dark/Win98dim colors, reactplus Plasma Style, SE98C icons, ModernXP2 cursors, Win98/Win98dark Window Decorations, and Reactionary SDDM

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 25.10
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.2
Kernel Version: 6.17.0-7-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 2600 Six-Core Processor
Memory: 16 GiB of RAM (15.0 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 2080
Comment 1 Die4Ever 2025-11-28 17:32:43 UTC
my metadata.json

{
    "KPackageStructure": "Plasma/LookAndFeel",
    "KPlugin": {
        "Authors": [
            {
                "Email": "die4ever2005@gmail.com",
                "Name": "Die4Ever"
            }
        ],
        "Description": "A fork of Reactionary Plus to try to make it more Windows 98 style. Use with SE98 WM Theme for the GTK theme. Also check out the included dark color theme.",
        "Id": "Reactionary98",
        "Name": "Reactionary 98",
        "Category": "Global Themes (Plasma 6)",
        "License": "GPL 3+",
        "ServiceTypes": [
            "Plasma/LookAndFeel"
        ],
        "Version": "0.8",
        "EnabledByDefault": true,
        "Website": "https://github.com/Die4Ever/KDE-Windows-98-Theme"
    },
    "Keywords": "Desktop;Workspace;Appearance;Look and Feel;Retro;Win98;98",
    "X-Plasma-APIVersion": "2",
    "X-Plasma-MainScript": "defaults",
    "X-KPackage-Dependencies": [
        "kns://aurorae.knsrc/api.kde-look.org/2331034",
        "kns://aurorae.knsrc/api.kde-look.org/2331121",
        "kns://icons.knsrc/api.kde-look.org/2330873",
        "kns://icons.knsrc/api.kde-look.org/1483944",
        "kns://xcursor.knsrc/api.kde-look.org/2330874",
        "kns://colorschemes.knsrc/api.kde-look.org/1484429",
        "kns://colorschemes.knsrc/api.kde-look.org/2331035",
        "kns://colorschemes.knsrc/api.kde-look.org/2331037",
        "kns://colorschemes.knsrc/api.kde-look.org/2331038",
        "kns://plasma-themes.knsrc/api.kde-look.org/1252412",
        "kns://wallpaper.knsrc/api.kde-look.org/1257847",
        "kns://sddmtheme.knsrc/api.kde-look.org/1376447"
    ]
}
Comment 2 Die4Ever 2025-11-28 17:35:45 UTC
and my metadata.desktop file

[Desktop Entry]
Name=Reactionary 98
Comment=A fork of Reactionary to make it more Windows 98 style. Use with SE98 WM Theme for the GTK theme. Also check out the included dark color theme.
X-KDE-PluginInfo-Name=Reactionary98
X-KDE-PluginInfo-Author=Die4Ever
X-KDE-PluginInfo-Email=die4ever2005@gmail.com
X-KDE-PluginInfo-Category=Plasma Look And Feel
X-KDE-PluginInfo-Version=0.8
X-KDE-PluginInfo-Website=https://github.com/Die4Ever/KDE-Windows-98-Theme
X-KDE-PluginInfo-License=GPL3
X-KDE-PluginInfo-EnabledByDefault=true
X-Plasma-MainScript=defaults
X-KDE-ServiceTypes=Plasma/LookAndFeel
X-KPackage-Dependencies=kns://aurorae.knsrc/api.kde-look.org/2331034,kns://aurorae.knsrc/api.kde-look.org/2331121,kns://icons.knsrc/api.kde-look.org/2330873,kns://icons.knsrc/api.kde-look.org/1483944,kns://xcursor.knsrc/api.kde-look.org/2330874,kns://colorschemes.knsrc/api.kde-look.org/1484429,kns://colorschemes.knsrc/api.kde-look.org/2331035,kns://colorschemes.knsrc/api.kde-look.org/2331037,kns://colorschemes.knsrc/api.kde-look.org/2331038,kns://plasma-themes.knsrc/api.kde-look.org/1252412,kns://wallpaper.knsrc/api.kde-look.org/1257847,kns://sddmtheme.knsrc/api.kde-look.org/1376447
Comment 3 TraceyC 2025-12-01 18:57:48 UTC
Moving to the knewstuff component
Comment 4 Die4Ever 2025-12-01 19:05:35 UTC
I also saw the error:

The service is currently undergoing maintenance and is expected to be back in %n day and 19 hours. 

Please try again later.

(it said %n without an actual number of days)