Bug 467407

Summary: Packaging formats are completely random, sometimes get not unpacked and stay in subdirectories
Product: [Frameworks and Libraries] frameworks-knewstuff Reporter: Henning <boredsquirrel>
Component: generalAssignee: Dan Leinir Turthra Jensen <admin>
Status: REPORTED ---    
Severity: major CC: alexander.lohnau, kdelibs-bugs-null, nate
Priority: NOR    
Version First Reported In: 5.104.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Henning 2023-03-15 16:38:48 UTC
SUMMARY
The Knewstuff tool downloading addons from store.kde.org often doesnt work.
it works for
- Aurorae decos
- color schemes
- decorations
- scripts
- global designs (apart from ostree)
- background modules
- gtk styles
- background images
- krunner?
- pages
- fonts
- start screens
- symbols
- window switcher layouts
- pointers

it doesnt work for 
- dolphin servicemenus
- sddm (another bug)

It seems the servicemenus are done completely randomly, sometimes need extra unpacking or installation.


STEPS TO REPRODUCE
1. Install a servicemenu
2. Try to use it
3. Look in the directories

OBSERVED RESULT
There is an extra directory called servicemenu-download, which doesnt work but only catches the downloaded servicemenus. This has to be some workaround for an unfinished project, and it doesnt work like that.
Also many servicemenus need to be unpacked to work.

EXPECTED RESULT
Servicemenus work no matter in what subdirectory of the servicemenu dir the .desktop files are. All the program needs to do is download them to the right directory, unpack them and if it succeeded delete the archive. This would solve lots of currently occuring issues, where the backend doesnt work at all.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 37
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.15-200.fc37.x86_64 (64-bit)