Bug 309034

Summary: metadata.desktop for KWin Effects installed to wrong location
Product: [Plasma] Plasma SDK Reporter: Martin Flöser <mgraesslin>
Component: publisherAssignee: Plasma Development Mailing List <plasma-devel>
Status: RESOLVED FIXED    
Severity: normal CC: antonis.tsiapaliokas, giorgos.tsiapaliokas
Priority: NOR    
Version: 0.1alpha2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Martin Flöser 2012-10-26 09:37:02 UTC
When installing a KWin Effect from withing Plasmate the service file gets not copied to the right location and is incorrectly named. This results in the effect not being found by KWin.

To illustrate the CMakeLists.txt generates:
install(FILES metadata.desktop DESTINATION ${SERVICES_INSTALL_DIR} RENAME kwin-effect-Maximize.desktop)

but it should be:
install(FILES metadata.desktop
        DESTINATION ${SERVICES_INSTALL_DIR}/kwin
        RENAME kwin4_effect_maximize.desktop)

Reproducible: Always

Steps to Reproduce:
1. Create KWin Effect
2. Install It
Actual Results:  
KWin doesn't find the effect

Expected Results:  
KWin finds the effect
Comment 1 Antonis Tsiapaliokas 2012-12-31 14:44:45 UTC
Hello,

The cmake support has been removed from plasmate.
More information can be found on da91a06aa94f8aca5c5728a2ae6221134cd56d05.