Bug 487122

Summary: Adding support for Windows to KApplicationTrader / KSycoca
Product: [Frameworks and Libraries] frameworks-kservice Reporter: Fabian Arndt <fabian.arndt>
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: kdelibs-bugs-null
Priority: NOR    
Version First Reported In: 6.2.0   
Target Milestone: ---   
Platform: Other   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Fabian Arndt 2024-05-16 21:48:46 UTC
SUMMARY
I know this might be a strange request, it's probably no match and most likely not worth the effort, but applications like kdeconnect could make use of the cache. Example: https://invent.kde.org/network/kdeconnect-kde/-/merge_requests/670

KApplicationTrader::preferredService alway returns an empty result on Windows.
All the file and scheme handler associations are stored in the registry: HKEY_CLASSES_ROOT


STEPS TO REPRODUCE
1. Use KApplicationTrader::preferredService on Windows


OBSERVED RESULT
Empty results.


EXPECTED RESULT
Results that are equal to the registry.


SOFTWARE/OS VERSIONS
Windows: 11