Activity log for bug #1542388

Date Who What changed Old value New value Message
2016-02-05 16:08:03 Kyle Nitzsche bug added bug
2016-02-05 16:08:47 Kyle Nitzsche bug task added savilerow
2016-02-05 16:14:52 Kyle Nitzsche savilerow: status New Confirmed
2016-02-05 16:23:22 Kyle Nitzsche description For a scope click pkg, when using the simplest .application file as recommended on [1] like this: <application> <services> <service id="com.ubuntu.developer.me.MyClick_MyApp"> <description>Post your pictures to Facebook</description> </service> </services> </application> The installed version includes an incorrect desktop-entry field. Incorrect because it includes the pkg version [2], but the actual .desktop file name does not include it. The result is Settings cannot file the .desktop file so it cannot display the icon or the name for the account as defined in the .application file. The workaround is to add a desktop-entry xml element that contains the scope's fully qualified name (PKG_APP) in the source .application file. When present, the click hook apparently uses this when writing the generated version to the device [3]. Since it does not include the VERSION, it points to the actual installed desktop file, thus Settings can display the icon and name correctly as originally defined in the .application file. [1] https://developer.ubuntu.com/en/start/platform/guides/online-accounts-developer-guide/ [2] incorrect generated desktop-entry example: <desktop-entry>dropbox.canonicalpartners_dropbox_0.3.8</desktop-entry> [3] correct entry using workaround: <desktop-entry>dropbox.canonicalpartners_dropbox</desktop-entry> For a scope click pkg, when using the simplest .application file as recommended on [1] like this: <application>   <services>     <service id="com.ubuntu.developer.me.MyClick_MyApp">       <description>Post your pictures to Facebook</description>     </service>   </services> </application> The installed version includes an incorrect desktop-entry field. Incorrect because it includes the pkg version [2], but the actual .desktop file name does not include it. The result is Settings cannot find the .desktop file, so it cannot display the icon or the name for the account as defined in the .application file. The workaround is to add a desktop-entry xml element that contains the scope's fully qualified name (PKG_APP) in the source .application file. When present, the click hook apparently uses this when writing the generated version to the device [3]. Since it does not include the VERSION, it points to the actual installed desktop file, thus Settings can display the icon and name correctly as originally defined in the .application file. [1] https://developer.ubuntu.com/en/start/platform/guides/online-accounts-developer-guide/ [2] incorrect generated desktop-entry example: <desktop-entry>dropbox.canonicalpartners_dropbox_0.3.8</desktop-entry> [3] correct entry using workaround: <desktop-entry>dropbox.canonicalpartners_dropbox</desktop-entry>
2016-02-08 07:14:44 Alberto Mardegan ubuntu-system-settings-online-accounts (Ubuntu): status New Won't Fix