Hi Xiang, At this stage I'm not going to drop shared process code for the desktop, but I do not except it can happen in future. Shared process model makes Crosswalk much more complex, and it was proved that it does not give any performance benefit. (Frankly, I do not think Crosswalk should try to provide things like task scheduler or background sync on desktop).
As for the application persistent data removal, I think it is a valid point. Further we'll need to provide command line interface (or/and UI) to do that. BR, Mikhail ________________________________________ From: Long, Xiang Sent: Friday, September 05, 2014 8:09 AM To: Pozdnyakov, Mikhail; Tomasz Iwanek; crosswalk-dev@lists.crosswalk-project.org Subject: Re: [Crosswalk-dev] [Intent to implement] Better user experience on desktop Hi Mikhail, Does this mean we will drop the service mode on desktop? If true, I'm not sure how will some future APIs(like task scheduler, backgroun sync, notification) be implemented without a system daemon manages these apps. Also I think installation/uninstallation can make app ownership clearer. For example, when we uninstall an app, its working data(like cookies, local storage, scheduled tasks, sync) will be deleted too. Without uninstallation if we removed a package file, we still need work out new policy to retire its working data. Regards, Xiang On 2014年09月04日 18:32, Pozdnyakov, Mikhail wrote: > I do not see any benefit in having more than one package manager on the > system. > > There will be no installation on desktop, as for the permanent data it should > be stored somewhere in crosswalk config, > (~/.config/xwalk/the_app_specific_path). > > BR, > Mikhail > > ________________________________________ > From: Tomasz Iwanek [t.iwa...@samsung.com] > Sent: Thursday, September 04, 2014 11:57 AM > To: Pozdnyakov, Mikhail; crosswalk-dev@lists.crosswalk-project.org > Subject: RE: [Crosswalk-dev] [Intent to implement] Better user experience on > desktop > > Nevertheless, some application/technologies have their own packaging > conventions independently from systems platform packager (e.g. for python, > it is usually better to follow installation by pip/easy_install than trying > to create rpm/dpkg from python egg). > > About implementation. > As I understand, there will be still installation of application / launching > part of code for desktop (directories: > xwalk/applications/common/{.,installer}). > But it will be used for temporary installation and will be referenced inside > xwalk, right? Or do you want to separate installation for desktop/tizen? > What features installation for desktop should not support? > > If applications is never installed (beside temporary installation) for > desktop, will it be able to use w3c file API or any API that stores results > between > several application launches? > > Regards, > Tomasz Iwanek > > -----Original Message----- > From: Pozdnyakov, Mikhail [mailto:mikhail.pozdnya...@intel.com] > Sent: Thursday, September 04, 2014 10:27 AM > To: Tomasz Iwanek; crosswalk-dev@lists.crosswalk-project.org > Subject: RE: [Crosswalk-dev] [Intent to implement] Better user experience on > desktop > > Hello Tomasz, > > thanks for your questions and proposals. > > 1. So far we can distinguish by the given file extension, but it might make > sense to add such options in future. > 2. I think home-brewed application management is useless because the > platform application management (and packaging) should be used. > > what I generally want is > 1) just to simplify Crosswalk UX on desktop so that the User can easily > launch an .xpk (.wgt) files there, no platform specific configuration added > so far (pls note that we do not support officially any of desktop platforms) > 2) to encapsulate tizen-specific business logic > > BR, > Mikhail > > ________________________________________ > From: Tomasz Iwanek [t.iwa...@samsung.com] > Sent: Thursday, September 04, 2014 9:29 AM > To: Pozdnyakov, Mikhail; crosswalk-dev@lists.crosswalk-project.org > Subject: RE: [Crosswalk-dev] [Intent to implement] Better user experience on > desktop > > Hello, > > 1. What do you think about options "--xpk ${xpk}" and "--conf ${json}" (like > option "--jar" in java for packaged applications)? > > 2. Is application management that useless for desktop build? Id is id. Maybe > desktop installation should integrate somehow with desktop environment on > host, like > - creating wrapper script for applications which run xwalk-launcher with > right id (for user: it is some executable, just run it), > - create configuration files for application to be run from icon on > desktop. > > Just ideas. > Regards, > Tomasz Iwanek > > -----Original Message----- > From: Crosswalk-dev > [mailto:crosswalk-dev-boun...@lists.crosswalk-project.org] On Behalf Of > Pozdnyakov, Mikhail > Sent: Wednesday, September 03, 2014 11:30 AM > To: crosswalk-dev@lists.crosswalk-project.org > Subject: [Crosswalk-dev] [Intent to implement] Better user experience on > desktop > > Hi there, > > At the moment the Crosswalk desktop user should do the following steps to > run an xwalk application (.xpk or .wgt) > 1) "install" it using xwalkctl (means recording it application storage) > 2) obtain the generated app_id > 3) finally run the app via id > > Apparently this logic was designed for Tizen where Crosswalk is used as the > platform web-runtime. > This scenario however looks really weird on desktop as it contains > home-brewed application management (which is apart from the platform > application management on desktop) and forces the User to be aware of some > generated app id. > > I propose us to drop this scenario on desktop and support the following > scenarios there: > > 1) Run arbitrary URL (this is already done) -> xwalk http://someurl.com > 2) Run the unpacked application -> xwalk local/path/to/manifest.json At the > moment Crosswalk can run the unpacked app from the path to *the directory > containing manifest.json* I propose to use instead path to the manifest > file. > 3) Run packed application -> xwalk path/to/my_app.xpk This is not supported > now. Crosswalk could unpack the app to a temporary directory and erase it > after the execution. > > Doing this also allows us to move all the application storage & application > management code to 'tizen' folder and remove the unnecessary abstraction > code. > This should significantly simplify our code in 'application' folder. > > BR, > Mikhail > --------------------------------------------------------------------- > Intel Finland Oy > Registered Address: PL 281, 00181 Helsinki Business Identity Code: 0357606 - > 4 Domiciled in Helsinki > > This e-mail and any attachments may contain confidential material for the > sole use of the intended recipient(s). Any review or distribution by others > is strictly prohibited. If you are not the intended recipient, please > contact the sender and delete all copies. > > _______________________________________________ > Crosswalk-dev mailing list > Crosswalk-dev@lists.crosswalk-project.org > https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev > > --------------------------------------------------------------------- > Intel Finland Oy > Registered Address: PL 281, 00181 Helsinki Business Identity Code: 0357606 - > 4 Domiciled in Helsinki > > This e-mail and any attachments may contain confidential material for the > sole use of the intended recipient(s). Any review or distribution by others > is strictly prohibited. If you are not the intended recipient, please > contact the sender and delete all copies. > > --------------------------------------------------------------------- > Intel Finland Oy > Registered Address: PL 281, 00181 Helsinki > Business Identity Code: 0357606 - 4 > Domiciled in Helsinki > > This e-mail and any attachments may contain confidential material for > the sole use of the intended recipient(s). Any review or distribution > by others is strictly prohibited. If you are not the intended > recipient, please contact the sender and delete all copies. > > _______________________________________________ > Crosswalk-dev mailing list > Crosswalk-dev@lists.crosswalk-project.org > https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev --------------------------------------------------------------------- Intel Finland Oy Registered Address: PL 281, 00181 Helsinki Business Identity Code: 0357606 - 4 Domiciled in Helsinki This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. _______________________________________________ Crosswalk-dev mailing list Crosswalk-dev@lists.crosswalk-project.org https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev