Re: Allowing an activity to be launched multiple times in parallel

2008-10-30 Thread Asheesh Laroia
On Thu, 30 Oct 2008, Gary C Martin wrote: I had the same mental hoop to jump through with my Moon activity, it's just a viewer of data, however after a version or so I soon has some useful state worth keeping (which viewing options a kid may have selected), and I do have more states to add in

Re: Allowing an activity to be launched multiple times in parallel

2008-10-30 Thread Mikus Grinbergs
> Please use 8.2.0. This problem has been resolved in 8.2.0, by making each > Activity launch take over the screen immediately. In 8.2.0, users can see > immediately that their click was registered, and cannot easily launch > another instance until the current one finishes loading. Implementatio

Re: Allowing an activity to be launched multiple times in parallel

2008-10-29 Thread Gary C Martin
On 30 Oct 2008, at 00:23, Benjamin M. Schwartz wrote: > 1. Bitfrost requires that each instance be isolated from every other. > Each instance only has access to the Journal items to which the user > has > explicitly granted it access. Allowing multiple "apparent > instances" to > share data b

Re: Allowing an activity to be launched multiple times in parallel

2008-10-29 Thread Gary C Martin
On 30 Oct 2008, at 00:06, Benjamin M. Schwartz wrote: > Carol Hussein Lerche wrote: >> I think this is an example of behavior that should be >> configurable. Young >> children are impatient and try to launch activities multiple times >> when the >> XO exhibits slow response (see the feedback

Re: Allowing an activity to be launched multiple times in parallel

2008-10-29 Thread Gary C Martin
On 30 Oct 2008, at 00:06, [EMAIL PROTECTED] wrote: > On Wed, 29 Oct 2008, Carol Hussein Lerche wrote: > >> I don't disagree with the need to speed up the system. However, >> browsing >> with multiple tabs is a well known solution to the problem of having >> multiple browser instances open, and

Re: Allowing an activity to be launched multiple times in parallel

2008-10-29 Thread Yoshiki Ohshima
Technical arguments aside, I thought that people feel the stop/resume model of Activity important to Sugar. If so, I think the stop/resume model does invite the idea of limiting to one instance of activity at a time. Two parallel Write sessions? Then, we might as well consider to switch to t

Re: Allowing an activity to be launched multiple times in parallel

2008-10-29 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Carol Hussein Lerche wrote: > As usual one man's simplicity is another woman's complexity. Figuring out > which of multiple apparent (if not real) instances of a browser has the page > you are looking for may be the conundrum for some. We should desi

Re: Allowing an activity to be launched multiple times in parallel

2008-10-29 Thread Gary C Martin
Hi Asheesh, On 29 Oct 2008, at 22:31, Asheesh Laroia wrote: > I have a general sugar UI question: My activity, "License", a simple > comic > book reader that has a license > chooser > aspect to it, can be launched multiple times if clicked multiple times >

Re: Allowing an activity to be launched multiple times in parallel

2008-10-29 Thread Marco Pesenti Gritti
On Thu, Oct 30, 2008 at 1:23 AM, Benjamin M. Schwartz <[EMAIL PROTECTED]> wrote: > 2. A key feature of the Sugar Activity system is that writing Activities > is _easy_. The goal is to minimize the amount of work required to write > an Activity. Asking Activity authors to juggle multiple virtual i

Re: Allowing an activity to be launched multiple times in parallel

2008-10-29 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Deepak Saxena wrote: > On the XO, if we try to edit two documents concurrently on Write, we should > in my opinion only have on instance of write running which can switch quickly > between document objects so the user percieves it as two separate inst

Re: Allowing an activity to be launched multiple times in parallel

2008-10-29 Thread Marco Pesenti Gritti
On Thu, Oct 30, 2008 at 1:06 AM, <[EMAIL PROTECTED]> wrote: > On Wed, 29 Oct 2008, Carol Hussein Lerche wrote: > >> I don't disagree with the need to speed up the system. However, browsing >> with multiple tabs is a well known solution to the problem of having >> multiple browser instances open,

Re: Allowing an activity to be launched multiple times in parallel

2008-10-29 Thread Carol Hussein Lerche
As usual one man's simplicity is another woman's complexity. Figuring out which of multiple apparent (if not real) instances of a browser has the page you are looking for may be the conundrum for some. On Wed, Oct 29, 2008 at 5:06 PM, <[EMAIL PROTECTED]> wrote: > On Wed, 29 Oct 2008, Carol Husse

Re: Allowing an activity to be launched multiple times in parallel

2008-10-29 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Carol Hussein Lerche wrote: > I think this is an example of behavior that should be configurable. Young > children are impatient and try to launch activities multiple times when the > XO exhibits slow response (see the feedback from various field work

Re: Allowing an activity to be launched multiple times in parallel

2008-10-29 Thread Deepak Saxena
On Oct 29 2008, at 19:40, Benjamin M. Schwartz was caught saying: > Asheesh Laroia wrote: > > I have a general sugar UI question: My activity, "License", a simple comic > > book reader that has a license chooser > > aspect to it, can be launched multiple times

Re: Allowing an activity to be launched multiple times in parallel

2008-10-29 Thread david
On Wed, 29 Oct 2008, Carol Hussein Lerche wrote: > I don't disagree with the need to speed up the system. However, browsing > with multiple tabs is a well known solution to the problem of having > multiple browser instances open, and we have tossed that out for some > reason. those 'tabs' could

Re: Allowing an activity to be launched multiple times in parallel

2008-10-29 Thread Carol Hussein Lerche
I don't disagree with the need to speed up the system. However, browsing with multiple tabs is a well known solution to the problem of having multiple browser instances open, and we have tossed that out for some reason. 2008/10/29 <[EMAIL PROTECTED]> > On Wed, 29 Oct 2008, Carol Hussein Lerche w

Re: Allowing an activity to be launched multiple times in parallel

2008-10-29 Thread david
On Wed, 29 Oct 2008, Carol Hussein Lerche wrote: I think this is an example of behavior that should be configurable. Young children are impatient and try to launch activities multiple times when the XO exhibits slow response (see the feedback from various field workers, including the letter fr

Re: Allowing an activity to be launched multiple times in parallel

2008-10-29 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marco Pesenti Gritti wrote: > On Thu, Oct 30, 2008 at 12:40 AM, Benjamin M. Schwartz > <[EMAIL PROTECTED]> wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Asheesh Laroia wrote: >>> I have a general sugar UI question: My activity, "Lice

Re: Allowing an activity to be launched multiple times in parallel

2008-10-29 Thread Bert Freudenberg
On 29.10.2008, at 16:51, Marco Pesenti Gritti wrote: > On Thu, Oct 30, 2008 at 12:40 AM, Benjamin M. Schwartz > <[EMAIL PROTECTED]> wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Asheesh Laroia wrote: >>> I have a general sugar UI question: My activity, "License", a >>> simple

Re: Allowing an activity to be launched multiple times in parallel

2008-10-29 Thread Marco Pesenti Gritti
On Thu, Oct 30, 2008 at 12:40 AM, Benjamin M. Schwartz <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Asheesh Laroia wrote: >> I have a general sugar UI question: My activity, "License", a simple comic >> book reader that has a l

Re: Allowing an activity to be launched multiple times in parallel

2008-10-29 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Asheesh Laroia wrote: > I have a general sugar UI question: My activity, "License", a simple comic > book reader that has a license chooser > aspect to it, can be launched multiple times if clicked multiple times

Re: Allowing an activity to be launched multiple times in parallel

2008-10-29 Thread Marco Pesenti Gritti
On Thu, Oct 30, 2008 at 12:31 AM, Asheesh Laroia <[EMAIL PROTECTED]> wrote: > On Thu, 30 Oct 2008, Marco Pesenti Gritti wrote: > >> We have a ticket which proposes to switch to single instance by default, >> while still allowing the user to choose to open a separate one if he wants. > > Cool. As a

Re: Allowing an activity to be launched multiple times in parallel

2008-10-29 Thread Asheesh Laroia
On Thu, 30 Oct 2008, Marco Pesenti Gritti wrote: > We have a ticket which proposes to switch to single instance by default, > while still allowing the user to choose to open a separate one if he > wants. Cool. As an activity developer, can/should I try to do something myself to handle this?

Re: Allowing an activity to be launched multiple times in parallel

2008-10-29 Thread Carol Hussein Lerche
I think this is an example of behavior that should be configurable. Young children are impatient and try to launch activities multiple times when the XO exhibits slow response (see the feedback from various field workers, including the letter from my daughter the kindergarten teacher last April.)

Re: Allowing an activity to be launched multiple times in parallel

2008-10-29 Thread Marco Pesenti Gritti
On Wed, Oct 29, 2008 at 11:31 PM, Asheesh Laroia <[EMAIL PROTECTED]> wrote: > I have a general sugar UI question: My activity, "License", a simple comic > book reader that has a license chooser > aspect to it, can be launched multiple times if clicked multiple ti

Re: Allowing an activity to be launched multiple times in parallel

2008-10-29 Thread Erik Garrison
I think we should not run the activity if it's already running. But there are cases such as when I'm running Browse, in which I have multiple sessions open. Or sessions of paint. It's complicated and probably should be left up to the user. Someone might want to run two of anything. On Wed, Oct