Hi all,
To fix the issue https://bugs.tizen.org/jira/browse/TC-1968 related to the destop file content use by tz-launcher, I would like to propose to realign the Exec field to an other symbolic link that permits to launch the applications through application Framework. Here is the detail of the proposed changes : => Original status : For example when we install mancala webapp for alice user we have this desktop file generated cat /home/alice/.applications/desktop/yKrWwxz1KX.mancala.desktop [Desktop Entry] Name=mancala Type=Application Exec=/home/alice/.config/xwalk-service/applications/yKrWwxz1KX.mancala/bin/yKrWwxz1KX.mancala Icon=/home/alice/.applications/icons/xwalk-service.yKrWwxz1KX.mancala.png Version=1.0 NoDisplay=false Hw-Acceleration=use-system-setting X-TIZEN-PackageType=wgt X-TIZEN-PkgID=yKrWwxz1KX The Exec field contains a symbolic link to crosswalk launcher. ls -l /home/alice/.config/xwalk-service/applications/yKrWwxz1KX.mancala/bin/yKrWwxz1KX.mancala lrwxrwxrwx. 1 alice users 23 oct. 24 10:25 /home/alice/.config/xwalk-service/applications/yKrWwxz1KX.mancala/bin/yKrWwxz1KX.mancala -> /usr/bin/xwalk-launcher This means all launcher that use the Exec field of desktop file such as tz-launcher (or enligthment desktop or whatever) to start an application by starting the application itself not by asking to Application Manager Deamon to do this. In consequences, AMD doesn't be aware about application launching that leads to inconsistent state. To allow this kind of file desktop usage; I would like to introduce a "new symbolic link" that permits to launch the app througth the application framework. This permits to make the change easy and to limit the risks of regression => New status after the changes : The new situation can be presented like this cat /home/alice/.applications/desktop/yKrWwxz1KX.mancala.desktop [Desktop Entry] Name=mancala Type=Application Exec=/home/alice/.config/xwalk-service/applications/yKrWwxz1KX.mancala/bin/yKrWwxz1KX.mancala *.launch* Icon=/home/alice/.applications/icons/xwalk-service.yKrWwxz1KX.mancala.png Version=1.0 NoDisplay=false Hw-Acceleration=use-system-setting X-TIZEN-PackageType=wgt X-TIZEN-PkgID=yKrWwxz1KX The Exec field contains a symbolic link to app_launcher. previous symblic link is kept to not break the amd_session_agent logic mainly related to status applicaitons. Package impacted : aul-1 : app_laucher changes to allow a launch without argument ail : Exec field of desktop file should not be used to fill the exec field in app_info.db crosswalk installer / backend : add new symbolic link creation. The application Framework wiki page will be updated once the changes are validated. Any feedback will be appreciate Thanks BR Baptiste -- Baptiste DURAND Eurogiciel Vannes/FR
_______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev
