[Etoys] Build 537
bert at freudenbergs.de
Fri Jul 27 15:49:06 EDT 2007
On Jul 27, 2007, at 20:21 , Yoshiki Ohshima wrote:
> I now think that load button itself is ok. For the normal click, we
> can still show the same dialog but just select "Projects in Journal".
> Since "Keep" is a concept that will be around, there is not much
> reason for it to be confusing. We can show the button-hold menu to
> choose more projects (if it will be possible).
Yes, that's what I thought, too.
> BTW, "Projects in Journal" shows all version of the project. Should
> it show only the latest (by default)?
I thought it only showed the latest version? Although ... thinking
about it, when you load a project from the Load dialog, its #sugarId
parameter does not get set. That means when saving, another entry
will be made in the Journal, rather than updating the existing entry.
This is a bug, but I can't really do much about it I guess.
This comes from SugarDatastoreDirectory which has to fake filenames.
The datastore does not retain filenames, so we make up a filename by
taking the title+uid+'.pr'. When someone tries to open that file, we
extract the uid and load the file from the datastore. It has to be
deleted when done, that's why it returns a SugarDatastoreTempFile
which deletes the actual file on #close.
As you can see this is a major hack. It's extremely ugly to see those
uids in the list ... I hope we will find a better way to integrate
with the journal, while still preserving the ability to handle
projects on a regular machine.
- Bert -
> -- Yoshiki
>> I think we should keep the load button in any mode.
>> I like the activity-stop-resume cycle, I think kids may accept this
>> concept. But sometimes projects aren't build in time series. For
>> we should have a method to load example and tutorial projects without
>> journal. Also we need to access external server such like a
>> It suits for Etoys slogan, 'build and share'.
>> Best regards,
>> Kazuhiro Abe
>> On Fri, 27 Jul 2007 19:10:35 +0200
>> Bert Freudenberg <bert at freudenbergs.de> wrote:
>>> Anyone objecting to removing/disabling the load button if we run in
>>> Sugar (that is, "SugarLauncher isRunningInSugar" is true)?
>>> And for not showing a file dialog but always keeping in Journal
>>> if we
>>> run in Sugar?
>>> If not, could Yoshiki or whoever used to fix the toolbar do this and
>>> push an update?
More information about the Etoys