Re: [Sugar-devel] How to copy something from the Journal to a pendrive? FotoToon export?
Excerpts from tom.staub...@fhtw-berlin.de's message of Sun Oct 17 16:44:40 +0200 2010: So what would be the right medium to interchange data between Sugar systems? That's a good question I'm afraid. Even file transfer (sending entries from the Journal to a friend) doesn't preserve most of the metadata, though it does at least transmit the MIME type. I've filed an RFE (Request for enhancement) [1] so we remember to fix this. [registering MIME types for activities] Does this mean that in the FotoToon example I could manually add a mimetypes.xml to the .zip file, remove the zip extension and FotoToon should be able to recognize this again? No. The mimetypes.xml needs to be part of the activity bundle, i.e. the program code. Putting it inside a random data store entry won't have an effect. There is a way to transfer a data store entry including all of its metadata: Journal Entry Bundles [3]. Unfortunately the only way (that I know of) to _create_ such a bundle is my Backup activity [4] and it stores the entire data store instead of a single entry. Would the copy-from-journal / copy-to-journal scripts do the trick? Even copy-to-journal can only set the MIME type, but not the ID of the activity, I'm afraid. Filed another RFE [2] about that. It also uses a different MIME type and file extension (to make sure that these bundles are handled by the Restore activity [5] which can cope with JEBs containing multiple entries, unlike the Journal) but that would be easy enough to work around (by renaming the file). But it would mean that if I'm doing a Backup on User1's XO and doing a Restore on User2's XO, User2's data is lost and she's got all the stuff from User1 in her journal, right? Only if you're using the Dextrose Journal Backup Feature [3]. The Backup [4] and Restore [5] activities however have been carefully designed not to destroy user data. Entries are never deleted and only overwritten if the backup bundle contains an (apparently) more recent version than the Journal. Sascha [1] https://bugs.sugarlabs.org/ticket/2473 [2] https://bugs.sugarlabs.org/ticket/2472 [3] https://wiki.sugarlabs.org/go/Dextrose/Resources/Journal-backup [4] http://activities.sugarlabs.org/en-US/sugar/addon/4326 [5] http://activities.sugarlabs.org/en-US/sugar/addon/4327 -- http://sascha.silbe.org/ http://www.infra-silbe.de/ signature.asc Description: PGP signature ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] How to copy something from the Journal to a pendrive? FotoToon export?
Hi Gonzalo, I installed the new version on the XO-1 and the XO-1.5 Copying to usb and reopening from there works pretty good, but it needs to be version 5 on both sides, version 4 is not able to open the version 5 files. I guess that is as it is, just wanted to tell you for the record. Image exporting on the XO-1 does not work too good yet, as you said. On the XO-1.5 it looks a little better. See screenshots on my blog. Here are some thoughts I had: I would prefer if the images could be exported separately as a sequence of images. Maybe zipped, if it needs to be a single file. So they could be imported to e.g. ViewSlides, or Etoys, to be part of a larger project. Might also be easier to implement? Grabbing the globe's handles is pretty tricky. I almost gave up the first time I tried. They should be more responsive(bigger?). In my opinion the default font size could be a little bigger. I'd also prefer a vertical cursor in the globes. It would be great if the pics could be reordered. Especially as pics taken with Record all have the same name. I would expect that a globe gets deselected when I'm clicking on an image, currently it only gets deselected when I'm clicking on a different image. See my blogpost for screenshots: http://www.flatlandfarm.de/blog/?p=42 Thanks for your efforts, Tom On Oct 21, 2010, at 6:31 AM, Gonzalo Odiard wrote: Tom: I am trying fix the Fototoon behavior with respect to copy in usb and using in other machines. If you want try can download http://people.sugarlabs.org/~godiard/Fototoon-5.xo You can test save like image (in a palette in the keep button) but is not working well yet. Gonzalo On Sun, Oct 17, 2010 at 4:02 AM, tom.staub...@fhtw-berlin.de tom.staub...@fhtw-berlin.de wrote: Hi, I've been trying for while now to copy journal entries to a usb stick. This works fine as long as files are concerned, e.g. Pics or Audio recordings taken with Record. It does not work if I try to copy an activity from the journal to the usb stick. No matter if I'm using the menu in the details view or drag and drop. The behavior is always the same: it appears to work, the little copy icon appears etc. but in the end the copied file is not on the stick. I've tried two different sticks, both have been recently formatted. Why would I want to copy an activity to a usb stick? Imagine two or more children. Half of them are in country1, the others are in country2. They would like to collaborate on an activity, e.g. FotoToon. One of the groups starts and adds a picture and some bubbles. Now they want to send their work to the other group so that they can add a picture and a couple of bubbles. This goes back and forth a couple of times. I actually managed somehow to store the FotoToon activity as a zip file. This zip contains the images and a .json file describing the bubbles. Unfortunately FotoToon does not seem to be able to open this zip file. More or less the same happens when I attach the activity to an email. If I rename the file to xxx.zip I can open it and there are the images and the json file. I cannot open it with FotoToon. If I do not rename the activity and try to start it it will open Etoys. Another problem is how to save the final story into a format that e.g. can be published on a website? FotoToon is just one example that the results that have been achieved while working with one activity cannot be used to be edited in another activity. I have the same problem with, amongst others, TamTamJam or Paint. Is it really not possible or am I missing something? Thanks a lot for your help, Tom On Aug 3, 2010, at 1:55 PM, Bernie Innocenti wrote: On Tue, 2010-08-03 at 09:11 +0200, Tomeu Vizoso wrote: How much effort would it be to add such an copy-to-USB option to the Journal hover palette? Is this something I could do with the help of my knowledgable flatmate Mr. Innocenti? Yep, shouldn't be hard nor a lot of code. As we're there, we might want to add a progress display for long copy operations. Currently, if you drop a large file on the journal icon, the UI freezes for a long time with no indication of progress, tempting the user to perform a hard reboot (and thus corrupting the datastore :-). If nobody has time to implement a nice progress bar, at least we could put on the busy cursor (which is animated in our cursor theme, iirc). The copy could probably be made fully asynchronous, but with no progress indication, there's a potential for users to extract USB sticks before the operation is finished. -- // Bernie Innocenti - http://codewiz.org/ \X/ Sugar Labs - http://sugarlabs.org/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list
Re: [Sugar-devel] How to copy something from the Journal to a pendrive? FotoToon export?
Hi, I've been trying for while now to copy journal entries to a usb stick. This works fine as long as files are concerned, e.g. Pics or Audio recordings taken with Record. It does not work if I try to copy an activity from the journal to the usb stick. No matter if I'm using the menu in the details view or drag and drop. The behavior is always the same: it appears to work, the little copy icon appears etc. but in the end the copied file is not on the stick. I've tried two different sticks, both have been recently formatted. Why would I want to copy an activity to a usb stick? Imagine two or more children. Half of them are in country1, the others are in country2. They would like to collaborate on an activity, e.g. FotoToon. One of the groups starts and adds a picture and some bubbles. Now they want to send their work to the other group so that they can add a picture and a couple of bubbles. This goes back and forth a couple of times. I actually managed somehow to store the FotoToon activity as a zip file. This zip contains the images and a .json file describing the bubbles. Unfortunately FotoToon does not seem to be able to open this zip file. More or less the same happens when I attach the activity to an email. If I rename the file to xxx.zip I can open it and there are the images and the json file. I cannot open it with FotoToon. If I do not rename the activity and try to start it it will open Etoys. Another problem is how to save the final story into a format that e.g. can be published on a website? FotoToon is just one example that the results that have been achieved while working with one activity cannot be used to be edited in another activity. I have the same problem with, amongst others, TamTamJam or Paint. Is it really not possible or am I missing something? Thanks a lot for your help, Tom On Aug 3, 2010, at 1:55 PM, Bernie Innocenti wrote: On Tue, 2010-08-03 at 09:11 +0200, Tomeu Vizoso wrote: How much effort would it be to add such an copy-to-USB option to the Journal hover palette? Is this something I could do with the help of my knowledgable flatmate Mr. Innocenti? Yep, shouldn't be hard nor a lot of code. As we're there, we might want to add a progress display for long copy operations. Currently, if you drop a large file on the journal icon, the UI freezes for a long time with no indication of progress, tempting the user to perform a hard reboot (and thus corrupting the datastore :-). If nobody has time to implement a nice progress bar, at least we could put on the busy cursor (which is animated in our cursor theme, iirc). The copy could probably be made fully asynchronous, but with no progress indication, there's a potential for users to extract USB sticks before the operation is finished. -- // Bernie Innocenti - http://codewiz.org/ \X/ Sugar Labs - http://sugarlabs.org/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] How to copy something from the Journal to a pendrive? FotoToon export?
Excerpts from tom.staub...@fhtw-berlin.de's message of Sun Oct 17 09:02:42 +0200 2010: I've been trying for while now to copy journal entries to a usb stick. This works fine as long as files are concerned, e.g. Pics or Audio recordings taken with Record. It does not work if I try to copy an activity from the journal to the usb stick. I was able to reproduce [1] and fix this issue. Patch is on the way. Sascha [1] https://bugs.sugarlabs.org/ticket/2456 -- http://sascha.silbe.org/ http://www.infra-silbe.de/ signature.asc Description: PGP signature ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] How to copy something from the Journal to a pendrive? FotoToon export?
Excerpts from tom.staub...@fhtw-berlin.de's message of Sun Oct 17 09:02:42 +0200 2010: Imagine two or more children. Half of them are in country1, the others are in country2. They would like to collaborate on an activity, e.g. FotoToon. One of the groups starts and adds a picture and some bubbles. Now they want to send their work to the other group so that they can add a picture and a couple of bubbles. This goes back and forth a couple of times. Re-reading your post again, it seems what you actually wanted to do was to save an activity _session_ (the content you worked on), not the activity itself (the program). This is still a bit of a sour spot. In order for the system to know what activity it needs to know either the activity it has been previously opened with or the MIME type (so it can select activities that are able to handle this type - that's what the Start with submenu shows). The Sugar data store can store metadata as arbitrary key=value pairs. Activities use this to set the activity id and the MIME type of the entry, so the Journal can resume an entry fine as long as it's in the data store and the metadata is preserved. External storage media (USB sticks, SD cards) are intended as a means to interchange data with non-Sugar systems, so we store entries as plain files instead of putting a data store on them (that no non-Sugar system would be able to read). And here we enter the messy world of traditional desktop systems: there is no place (*) to store metadata, especially not non-standard properties like the activity that wrote the entry. Not even the MIME type can be preserved properly; we need to rely on mappings between file extensions and MIME type. There's no single, central mapping (except for a few standard types) but rather each application ships a small part of the database with the MIME types and file extensions it cares about. If you don't have an application installed that recognises the file extension, you won't know the MIME type. The same technology is used in Sugar for reading files on external media. So if an activity wants to handle files of a certain MIME type, it needs to tell Sugar how to recognise the files (by shipping a suitable mimetypes.xml [1]). This is what some of the activities use to make the data store - USB stick - data store roundtrip work: They choose a custom MIME type and file extension. When copying files to the USB stick, the Journal will set the file extension based on the MIME type. When copying the entry back from the USB stick, the Journal will map the file extension back to the MIME type (if the activity is installed, i.e. if the mimetypes.xml is present). If the activity tells Sugar it can handle entries of this type (by setting mime_types in activity.info [2]), it will be used for opening (resuming) the entries. There is a way to transfer a data store entry including all of its metadata: Journal Entry Bundles [3]. Unfortunately the only way (that I know of) to _create_ such a bundle is my Backup activity [4] and it stores the entire data store instead of a single entry. It also uses a different MIME type and file extension (to make sure that these bundles are handled by the Restore activity [5] which can cope with JEBs containing multiple entries, unlike the Journal) but that would be easy enough to work around (by renaming the file). Thanks for following me through to the end. ;) Sascha (*) There are extended attributes [6], but they are only supported on some file systems (in particular not on VFAT, which is what all the USB sticks and SD cards come pre-formatted as) and need to be enabled explicitly (in /etc/fstab; no idea if it's possible to tell the Gnome auto mount magic to do it). Except for OS/2, Mac OS and a few special applications I don't know of anything that actually uses them for metadata (i.e. MIME type co). [1] https://wiki.sugarlabs.org/go/Development_Team/Almanac/Activity_Bundles#Bundle_structure [2] https://wiki.sugarlabs.org/go/Development_Team/Almanac/Activity_Bundles#.info_file_format [3] http://wiki.laptop.org/go/Journal_entry_bundles [4] http://activities.sugarlabs.org/en-US/sugar/addon/4326 [5] http://activities.sugarlabs.org/en-US/sugar/addon/4327 [6] http://en.wikipedia.org/wiki/Extended_attributes -- http://sascha.silbe.org/ http://www.infra-silbe.de/ signature.asc Description: PGP signature ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] How to copy something from the Journal to a pendrive? FotoToon export?
On Oct 17, 2010, at 1:54 PM, Sascha Silbe wrote: Excerpts from tom.staub...@fhtw-berlin.de's message of Sun Oct 17 09:02:42 +0200 2010: Imagine two or more children. Half of them are in country1, the others are in country2. They would like to collaborate on an activity, e.g. FotoToon. One of the groups starts and adds a picture and some bubbles. Now they want to send their work to the other group so that they can add a picture and a couple of bubbles. This goes back and forth a couple of times. Re-reading your post again, it seems what you actually wanted to do was to save an activity _session_ (the content you worked on), not the activity itself (the program). Exactly. This is still a bit of a sour spot. In order for the system to know what activity it needs to know either the activity it has been previously opened with or the MIME type (so it can select activities that are able to handle this type - that's what the Start with submenu shows). The Sugar data store can store metadata as arbitrary key=value pairs. Activities use this to set the activity id and the MIME type of the entry, so the Journal can resume an entry fine as long as it's in the data store and the metadata is preserved. External storage media (USB sticks, SD cards) are intended as a means to interchange data with non-Sugar systems, so we store entries as plain files instead of putting a data store on them (that no non-Sugar system would be able to read). And here we enter the messy world of traditional desktop systems: there is no place (*) to store metadata, especially not non-standard properties like the activity that wrote the entry. Not even the MIME type can be preserved properly; we need to rely on mappings between file extensions and MIME type. There's no single, central mapping (except for a few standard types) but rather each application ships a small part of the database with the MIME types and file extensions it cares about. If you don't have an application installed that recognises the file extension, you won't know the MIME type. So what would be the right medium to interchange data between Sugar systems? The same technology is used in Sugar for reading files on external media. So if an activity wants to handle files of a certain MIME type, it needs to tell Sugar how to recognise the files (by shipping a suitable mimetypes.xml [1]). This is what some of the activities use to make the data store - USB stick - data store roundtrip work: They choose a custom MIME type and file extension. When copying files to the USB stick, the Journal will set the file extension based on the MIME type. When copying the entry back from the USB stick, the Journal will map the file extension back to the MIME type (if the activity is installed, i.e. if the mimetypes.xml is present). If the activity tells Sugar it can handle entries of this type (by setting mime_types in activity.info [2]), it will be used for opening (resuming) the entries. Does this mean that in the FotoToon example I could manually add a mimetypes.xml to the .zip file, remove the zip extension and FotoToon should be able to recognize this again? There is a way to transfer a data store entry including all of its metadata: Journal Entry Bundles [3]. Unfortunately the only way (that I know of) to _create_ such a bundle is my Backup activity [4] and it stores the entire data store instead of a single entry. Would the copy-from-journal / copy-to-journal scripts do the trick? It also uses a different MIME type and file extension (to make sure that these bundles are handled by the Restore activity [5] which can cope with JEBs containing multiple entries, unlike the Journal) but that would be easy enough to work around (by renaming the file). But it would mean that if I'm doing a Backup on User1's XO and doing a Restore on User2's XO, User2's data is lost and she's got all the stuff from User1 in her journal, right? Thanks for following me through to the end. ;) Thanks for the detailed information. Sascha (*) There are extended attributes [6], but they are only supported on some file systems (in particular not on VFAT, which is what all the USB sticks and SD cards come pre-formatted as) and need to be enabled explicitly (in /etc/fstab; no idea if it's possible to tell the Gnome auto mount magic to do it). Except for OS/2, Mac OS and a few special applications I don't know of anything that actually uses them for metadata (i.e. MIME type co). [1] https://wiki.sugarlabs.org/go/Development_Team/Almanac/Activity_Bundles#Bundle_structure [2] https://wiki.sugarlabs.org/go/Development_Team/Almanac/Activity_Bundles#.info_file_format [3] http://wiki.laptop.org/go/Journal_entry_bundles [4] http://activities.sugarlabs.org/en-US/sugar/addon/4326 [5] http://activities.sugarlabs.org/en-US/sugar/addon/4327 [6] http://en.wikipedia.org/wiki/Extended_attributes --
Re: [Sugar-devel] How to copy something from the Journal to a pendrive? FotoToon export?
Hi Tom. I am working in a functionality to save the work in the Fototoon activity like a image. I didn't know the information about the custom mime types. (Thanks Sascha!) . I will try to add that info in the next version. Thanks for the detailed report. Gonzalo On Sun, Oct 17, 2010 at 3:02 AM, tom.staub...@fhtw-berlin.de tom.staub...@fhtw-berlin.de wrote: Hi, I've been trying for while now to copy journal entries to a usb stick. This works fine as long as files are concerned, e.g. Pics or Audio recordings taken with Record. It does not work if I try to copy an activity from the journal to the usb stick. No matter if I'm using the menu in the details view or drag and drop. The behavior is always the same: it appears to work, the little copy icon appears etc. but in the end the copied file is not on the stick. I've tried two different sticks, both have been recently formatted. Why would I want to copy an activity to a usb stick? Imagine two or more children. Half of them are in country1, the others are in country2. They would like to collaborate on an activity, e.g. FotoToon. One of the groups starts and adds a picture and some bubbles. Now they want to send their work to the other group so that they can add a picture and a couple of bubbles. This goes back and forth a couple of times. I actually managed somehow to store the FotoToon activity as a zip file. This zip contains the images and a .json file describing the bubbles. Unfortunately FotoToon does not seem to be able to open this zip file. More or less the same happens when I attach the activity to an email. If I rename the file to xxx.zip I can open it and there are the images and the json file. I cannot open it with FotoToon. If I do not rename the activity and try to start it it will open Etoys. Another problem is how to save the final story into a format that e.g. can be published on a website? FotoToon is just one example that the results that have been achieved while working with one activity cannot be used to be edited in another activity. I have the same problem with, amongst others, TamTamJam or Paint. Is it really not possible or am I missing something? Thanks a lot for your help, Tom On Aug 3, 2010, at 1:55 PM, Bernie Innocenti wrote: On Tue, 2010-08-03 at 09:11 +0200, Tomeu Vizoso wrote: How much effort would it be to add such an copy-to-USB option to the Journal hover palette? Is this something I could do with the help of my knowledgable flatmate Mr. Innocenti? Yep, shouldn't be hard nor a lot of code. As we're there, we might want to add a progress display for long copy operations. Currently, if you drop a large file on the journal icon, the UI freezes for a long time with no indication of progress, tempting the user to perform a hard reboot (and thus corrupting the datastore :-). If nobody has time to implement a nice progress bar, at least we could put on the busy cursor (which is animated in our cursor theme, iirc). The copy could probably be made fully asynchronous, but with no progress indication, there's a potential for users to extract USB sticks before the operation is finished. -- // Bernie Innocenti - http://codewiz.org/ \X/ Sugar Labs - http://sugarlabs.org/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] How to copy something from the Journal to a pendrive?
On Mon, Aug 2, 2010 at 22:06, Christoph Derndorfer christoph.derndor...@gmail.com wrote: On Mon, Aug 2, 2010 at 12:01 PM, Tomeu Vizoso to...@sugarlabs.org wrote: On Mon, Aug 2, 2010 at 17:54, Christoph Derndorfer christoph.derndor...@gmail.com wrote: On Mon, Aug 2, 2010 at 2:27 AM, Gary Martin garycmar...@googlemail.com wrote: On 2 Aug 2010, at 06:07, Christoph Derndorfer christoph.derndor...@gmail.com wrote: On Sun, Aug 1, 2010 at 9:23 AM, Tomeu Vizoso to...@sugarlabs.org wrote: On Tue, Jul 27, 2010 at 21:06, Christoph Derndorfer christoph.derndor...@gmail.com wrote: Okay, we just discovered that it's apparently just my pendrive (8GB Cruzer) that's not showing up on the details view's copy-button palette. One way or another I think it would make sense to also offer such a copy option on the Journal list view itself as else copying multiple files from the Journal to a pendrive would be royal pain. I actually thought we had such an entry in that palette. Yeah, that's what I had thought as well but since it's neither on my XO-1 (using 321py) nor on my XO-1.5 (build 206) I'm assuming that such a palette indeed doesn't exist. Yea just looked at build 767 (Sugar 0.82.1) vs. build 300py (Sugar 0.88.1). Both have a Copy menu item in the Journal hover palette, but it is only for copying to the clipboard, unlike the details view Copy icon that has a secondary menu function (when a USB device is inserted) for copying to the USB. How much effort would it be to add such an copy-to-USB option to the Journal hover palette? Is this something I could do with the help of my knowledgable flatmate Mr. Innocenti? Yep, shouldn't be hard nor a lot of code. Regards, Tomeu Interestingly 0.88.1 is not showing the nice USB icon in the details Copy menu that you get in 0.82.1 (there's just a blank space where the little USB icon would be). Yeah, I've also noticed that this icon seems to have gone MIA at some point. This should also be easy to fix I assume, right? I must admit the details view Copy to USB feature always seemed rather well hidden/unexpected to me. I've always just gone for the drag'n'drop from the main Journal view, though likely due to my long term Mac exposure. Interesting, to me it's the other way 'round because in Sugar I generally expect more options to be hidden in the palettes whereas drag'n'drop is something that I had never used in Sugar before. (Out of curiosity: Where else in Sugar is drag'n'drop available?) I've personally taken care of making content draggable in Browse, Write and the Journal, though it may have regressed since. Also, most/all text fields should be dnd-enabled and I think Etoys uses it extensively as well. Ah, thanks for the heads-up. I guess I'll keep my eyes open for dnd stuff over the coming days:-) Christoph -- Christoph Derndorfer co-editor, olpcnews url: www.olpcnews.com e-mail: christ...@olpcnews.com ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] How to copy something from the Journal to a pendrive?
On Tue, 2010-08-03 at 09:11 +0200, Tomeu Vizoso wrote: How much effort would it be to add such an copy-to-USB option to the Journal hover palette? Is this something I could do with the help of my knowledgable flatmate Mr. Innocenti? Yep, shouldn't be hard nor a lot of code. As we're there, we might want to add a progress display for long copy operations. Currently, if you drop a large file on the journal icon, the UI freezes for a long time with no indication of progress, tempting the user to perform a hard reboot (and thus corrupting the datastore :-). If nobody has time to implement a nice progress bar, at least we could put on the busy cursor (which is animated in our cursor theme, iirc). The copy could probably be made fully asynchronous, but with no progress indication, there's a potential for users to extract USB sticks before the operation is finished. -- // Bernie Innocenti - http://codewiz.org/ \X/ Sugar Labs - http://sugarlabs.org/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] How to copy something from the Journal to a pendrive?
On Tue, Aug 3, 2010 at 7:55 AM, Bernie Innocenti ber...@sugarlabs.orgwrote: On Tue, 2010-08-03 at 09:11 +0200, Tomeu Vizoso wrote: How much effort would it be to add such an copy-to-USB option to the Journal hover palette? Is this something I could do with the help of my knowledgable flatmate Mr. Innocenti? Yep, shouldn't be hard nor a lot of code. As we're there, we might want to add a progress display for long copy operations. Currently, if you drop a large file on the journal icon, the UI freezes for a long time with no indication of progress, tempting the user to perform a hard reboot (and thus corrupting the datastore :-). If nobody has time to implement a nice progress bar, at least we could put on the busy cursor (which is animated in our cursor theme, iirc). Is this something we could tackle tonight once we're back in AsunciĆ³n? Christoph -- Christoph Derndorfer co-editor, olpcnews url: www.olpcnews.com e-mail: christ...@olpcnews.com ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] How to copy something from the Journal to a pendrive?
On Tue, Aug 03, 2010 at 05:45:08PM +0200, Tomeu Vizoso wrote: All that makes sense, we may want to consider providing the same UX as with downloads. I hope you don't mean adding a journal entry corresponding to the copying user experience? ;-} -- James Cameron http://quozl.linux.org.au/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] How to copy something from the Journal to a pendrive?
On 2 Aug 2010, at 06:07, Christoph Derndorfer christoph.derndor...@gmail.com wrote: On Sun, Aug 1, 2010 at 9:23 AM, Tomeu Vizoso to...@sugarlabs.org wrote: On Tue, Jul 27, 2010 at 21:06, Christoph Derndorfer christoph.derndor...@gmail.com wrote: Okay, we just discovered that it's apparently just my pendrive (8GB Cruzer) that's not showing up on the details view's copy-button palette. One way or another I think it would make sense to also offer such a copy option on the Journal list view itself as else copying multiple files from the Journal to a pendrive would be royal pain. I actually thought we had such an entry in that palette. Yeah, that's what I had thought as well but since it's neither on my XO-1 (using 321py) nor on my XO-1.5 (build 206) I'm assuming that such a palette indeed doesn't exist. Yea just looked at build 767 (Sugar 0.82.1) vs. build 300py (Sugar 0.88.1). Both have a Copy menu item in the Journal hover palette, but it is only for copying to the clipboard, unlike the details view Copy icon that has a secondary menu function (when a USB device is inserted) for copying to the USB. Interestingly 0.88.1 is not showing the nice USB icon in the details Copy menu that you get in 0.82.1 (there's just a blank space where the little USB icon would be). I must admit the details view Copy to USB feature always seemed rather well hidden/unexpected to me. I've always just gone for the drag'n'drop from the main Journal view, though likely due to my long term Mac exposure. Regards, --Gary Christoph -- Christoph Derndorfer co-editor, olpcnews url: www.olpcnews.com e-mail: christ...@olpcnews.com ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] How to copy something from the Journal to a pendrive?
On Mon, Aug 2, 2010 at 2:27 AM, Gary Martin garycmar...@googlemail.comwrote: On 2 Aug 2010, at 06:07, Christoph Derndorfer christoph.derndor...@gmail.com wrote: On Sun, Aug 1, 2010 at 9:23 AM, Tomeu Vizoso to...@sugarlabs.org to...@sugarlabs.org wrote: On Tue, Jul 27, 2010 at 21:06, Christoph Derndorfer christoph.derndor...@gmail.comchristoph.derndor...@gmail.com wrote: Okay, we just discovered that it's apparently just my pendrive (8GB Cruzer) that's not showing up on the details view's copy-button palette. One way or another I think it would make sense to also offer such a copy option on the Journal list view itself as else copying multiple files from the Journal to a pendrive would be royal pain. I actually thought we had such an entry in that palette. Yeah, that's what I had thought as well but since it's neither on my XO-1 (using 321py) nor on my XO-1.5 (build 206) I'm assuming that such a palette indeed doesn't exist. Yea just looked at build 767 (Sugar 0.82.1) vs. build 300py (Sugar 0.88.1). Both have a Copy menu item in the Journal hover palette, but it is only for copying to the clipboard, unlike the details view Copy icon that has a secondary menu function (when a USB device is inserted) for copying to the USB. Interestingly 0.88.1 is not showing the nice USB icon in the details Copy menu that you get in 0.82.1 (there's just a blank space where the little USB icon would be). Yeah, I've also noticed that this icon seems to have gone MIA at some point. I must admit the details view Copy to USB feature always seemed rather well hidden/unexpected to me. I've always just gone for the drag'n'drop from the main Journal view, though likely due to my long term Mac exposure. Interesting, to me it's the other way 'round because in Sugar I generally expect more options to be hidden in the palettes whereas drag'n'drop is something that I had never used in Sugar before. (Out of curiosity: Where else in Sugar is drag'n'drop available?) Cheers, Christoph -- Christoph Derndorfer co-editor, olpcnews url: www.olpcnews.com e-mail: christ...@olpcnews.com ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] How to copy something from the Journal to a pendrive?
On Mon, Aug 2, 2010 at 17:54, Christoph Derndorfer christoph.derndor...@gmail.com wrote: On Mon, Aug 2, 2010 at 2:27 AM, Gary Martin garycmar...@googlemail.com wrote: On 2 Aug 2010, at 06:07, Christoph Derndorfer christoph.derndor...@gmail.com wrote: On Sun, Aug 1, 2010 at 9:23 AM, Tomeu Vizoso to...@sugarlabs.org wrote: On Tue, Jul 27, 2010 at 21:06, Christoph Derndorfer christoph.derndor...@gmail.com wrote: Okay, we just discovered that it's apparently just my pendrive (8GB Cruzer) that's not showing up on the details view's copy-button palette. One way or another I think it would make sense to also offer such a copy option on the Journal list view itself as else copying multiple files from the Journal to a pendrive would be royal pain. I actually thought we had such an entry in that palette. Yeah, that's what I had thought as well but since it's neither on my XO-1 (using 321py) nor on my XO-1.5 (build 206) I'm assuming that such a palette indeed doesn't exist. Yea just looked at build 767 (Sugar 0.82.1) vs. build 300py (Sugar 0.88.1). Both have a Copy menu item in the Journal hover palette, but it is only for copying to the clipboard, unlike the details view Copy icon that has a secondary menu function (when a USB device is inserted) for copying to the USB. Interestingly 0.88.1 is not showing the nice USB icon in the details Copy menu that you get in 0.82.1 (there's just a blank space where the little USB icon would be). Yeah, I've also noticed that this icon seems to have gone MIA at some point. I must admit the details view Copy to USB feature always seemed rather well hidden/unexpected to me. I've always just gone for the drag'n'drop from the main Journal view, though likely due to my long term Mac exposure. Interesting, to me it's the other way 'round because in Sugar I generally expect more options to be hidden in the palettes whereas drag'n'drop is something that I had never used in Sugar before. (Out of curiosity: Where else in Sugar is drag'n'drop available?) I've personally taken care of making content draggable in Browse, Write and the Journal, though it may have regressed since. Also, most/all text fields should be dnd-enabled and I think Etoys uses it extensively as well. Regards, Tomeu Cheers, Christoph -- Christoph Derndorfer co-editor, olpcnews url: www.olpcnews.com e-mail: christ...@olpcnews.com ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] How to copy something from the Journal to a pendrive?
On Mon, Aug 2, 2010 at 12:01 PM, Tomeu Vizoso to...@sugarlabs.org wrote: On Mon, Aug 2, 2010 at 17:54, Christoph Derndorfer christoph.derndor...@gmail.com wrote: On Mon, Aug 2, 2010 at 2:27 AM, Gary Martin garycmar...@googlemail.com wrote: On 2 Aug 2010, at 06:07, Christoph Derndorfer christoph.derndor...@gmail.com wrote: On Sun, Aug 1, 2010 at 9:23 AM, Tomeu Vizoso to...@sugarlabs.org wrote: On Tue, Jul 27, 2010 at 21:06, Christoph Derndorfer christoph.derndor...@gmail.com wrote: Okay, we just discovered that it's apparently just my pendrive (8GB Cruzer) that's not showing up on the details view's copy-button palette. One way or another I think it would make sense to also offer such a copy option on the Journal list view itself as else copying multiple files from the Journal to a pendrive would be royal pain. I actually thought we had such an entry in that palette. Yeah, that's what I had thought as well but since it's neither on my XO-1 (using 321py) nor on my XO-1.5 (build 206) I'm assuming that such a palette indeed doesn't exist. Yea just looked at build 767 (Sugar 0.82.1) vs. build 300py (Sugar 0.88.1). Both have a Copy menu item in the Journal hover palette, but it is only for copying to the clipboard, unlike the details view Copy icon that has a secondary menu function (when a USB device is inserted) for copying to the USB. How much effort would it be to add such an copy-to-USB option to the Journal hover palette? Is this something I could do with the help of my knowledgable flatmate Mr. Innocenti? Interestingly 0.88.1 is not showing the nice USB icon in the details Copy menu that you get in 0.82.1 (there's just a blank space where the little USB icon would be). Yeah, I've also noticed that this icon seems to have gone MIA at some point. This should also be easy to fix I assume, right? I must admit the details view Copy to USB feature always seemed rather well hidden/unexpected to me. I've always just gone for the drag'n'drop from the main Journal view, though likely due to my long term Mac exposure. Interesting, to me it's the other way 'round because in Sugar I generally expect more options to be hidden in the palettes whereas drag'n'drop is something that I had never used in Sugar before. (Out of curiosity: Where else in Sugar is drag'n'drop available?) I've personally taken care of making content draggable in Browse, Write and the Journal, though it may have regressed since. Also, most/all text fields should be dnd-enabled and I think Etoys uses it extensively as well. Ah, thanks for the heads-up. I guess I'll keep my eyes open for dnd stuff over the coming days:-) Christoph -- Christoph Derndorfer co-editor, olpcnews url: www.olpcnews.com e-mail: christ...@olpcnews.com ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] How to copy something from the Journal to a pendrive?
Christoph Derndorfer wrote: On Mon, Aug 2, 2010 at 12:01 PM, Tomeu Vizoso to...@sugarlabs.org wrote: On Mon, Aug 2, 2010 at 17:54, Christoph Derndorfer christoph.derndor...@gmail.com wrote: On Mon, Aug 2, 2010 at 2:27 AM, Gary Martin garycmar...@googlemail.com wrote: On 2 Aug 2010, at 06:07, Christoph Derndorfer christoph.derndor...@gmail.com wrote: On Sun, Aug 1, 2010 at 9:23 AM, Tomeu Vizoso to...@sugarlabs.org wrote: On Tue, Jul 27, 2010 at 21:06, Christoph Derndorfer christoph.derndor...@gmail.com wrote: Okay, we just discovered that it's apparently just my pendrive (8GB Cruzer) that's not showing up on the details view's copy-button palette. One way or another I think it would make sense to also offer such a copy option on the Journal list view itself as else copying multiple files from the Journal to a pendrive would be royal pain. I actually thought we had such an entry in that palette. Yeah, that's what I had thought as well but since it's neither on my XO-1 (using 321py) nor on my XO-1.5 (build 206) I'm assuming that such a palette indeed doesn't exist. Yea just looked at build 767 (Sugar 0.82.1) vs. build 300py (Sugar 0.88.1). Both have a Copy menu item in the Journal hover palette, but it is only for copying to the clipboard, unlike the details view Copy icon that has a secondary menu function (when a USB device is inserted) for copying to the USB. How much effort would it be to add such an copy-to-USB option to the Journal hover palette? Is this something I could do with the help of my knowledgable flatmate Mr. Innocenti? Interestingly 0.88.1 is not showing the nice USB icon in the details Copy menu that you get in 0.82.1 (there's just a blank space where the little USB icon would be). Yeah, I've also noticed that this icon seems to have gone MIA at some point. This should also be easy to fix I assume, right? I must admit the details view Copy to USB feature always seemed rather well hidden/unexpected to me. I've always just gone for the drag'n'drop from the main Journal view, though likely due to my long term Mac exposure. Interesting, to me it's the other way 'round because in Sugar I generally expect more options to be hidden in the palettes whereas drag'n'drop is something that I had never used in Sugar before. (Out of curiosity: Where else in Sugar is drag'n'drop available?) I've personally taken care of making content draggable in Browse, Write and the Journal, though it may have regressed since. Also, most/all text fields should be dnd-enabled and I think Etoys uses it extensively as well. Ah, thanks for the heads-up. I guess I'll keep my eyes open for dnd stuff over the coming days:-) I use drag and drop for installs of .xo applications on 2nd stick to journal all of the time. Works great. http://wiki.sugarlabs.org/go/Features/Soas_V4/ASLOxo_Activity_Test_Table#Test Tom Gilliard satellit Christoph ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] How to copy something from the Journal to a pendrive?
On Tue, Jul 27, 2010 at 21:06, Christoph Derndorfer christoph.derndor...@gmail.com wrote: Okay, we just discovered that it's apparently just my pendrive (8GB Cruzer) that's not showing up on the details view's copy-button palette. One way or another I think it would make sense to also offer such a copy option on the Journal list view itself as else copying multiple files from the Journal to a pendrive would be royal pain. I actually thought we had such an entry in that palette. Regards, Tomeu Christoph On Tue, Jul 27, 2010 at 2:52 PM, Christoph Derndorfer christoph.derndor...@gmail.com wrote: Hi, Bernie just brought my XO-1 back from the dark ages (I was using 802) by passing me a pen-drive with build 300py (F11 + Sugar 0.88 if I'm not mistaken). Now playing around with it I realized that there was no menu option to copy something from the Journal onto a pendrive. Neither the popup menu over a Journal entry itself nor the copy-button on the details view offers such an option. Am I mistaken or did such an option exist in earlier builds? Thanks to the Uruguayan Sugar-devs in the room I learned that I could drag'n'drop a Journal entry right onto the pendrive icon. This surprised me quite a bit since I believe it's the first time I've seen drag'n'drop used in Sugar. Anyway, I'm thinking that adding a copy-to-pendrive option in the normal Journal menus (both the details view as well as the normal popup menu) would make sense since it's consistant with the rest of Sugar whereas drag'n'drop isn't really IMHO. Please let me know what you think. Thanks, Christoph -- Christoph Derndorfer co-editor, olpcnews url: www.olpcnews.com e-mail: christ...@olpcnews.com -- Christoph Derndorfer co-editor, olpcnews url: www.olpcnews.com e-mail: christ...@olpcnews.com ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] How to copy something from the Journal to a pendrive?
On Sun, Aug 1, 2010 at 9:23 AM, Tomeu Vizoso to...@sugarlabs.org wrote: On Tue, Jul 27, 2010 at 21:06, Christoph Derndorfer christoph.derndor...@gmail.com wrote: Okay, we just discovered that it's apparently just my pendrive (8GB Cruzer) that's not showing up on the details view's copy-button palette. One way or another I think it would make sense to also offer such a copy option on the Journal list view itself as else copying multiple files from the Journal to a pendrive would be royal pain. I actually thought we had such an entry in that palette. Yeah, that's what I had thought as well but since it's neither on my XO-1 (using 321py) nor on my XO-1.5 (build 206) I'm assuming that such a palette indeed doesn't exist. Christoph -- Christoph Derndorfer co-editor, olpcnews url: www.olpcnews.com e-mail: christ...@olpcnews.com ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] How to copy something from the Journal to a pendrive?
Hi, Bernie just brought my XO-1 back from the dark ages (I was using 802) by passing me a pen-drive with build 300py (F11 + Sugar 0.88 if I'm not mistaken). Now playing around with it I realized that there was no menu option to copy something from the Journal onto a pendrive. Neither the popup menu over a Journal entry itself nor the copy-button on the details view offers such an option. Am I mistaken or did such an option exist in earlier builds? Thanks to the Uruguayan Sugar-devs in the room I learned that I could drag'n'drop a Journal entry right onto the pendrive icon. This surprised me quite a bit since I believe it's the first time I've seen drag'n'drop used in Sugar. Anyway, I'm thinking that adding a copy-to-pendrive option in the normal Journal menus (both the details view as well as the normal popup menu) would make sense since it's consistant with the rest of Sugar whereas drag'n'drop isn't really IMHO. Please let me know what you think. Thanks, Christoph -- Christoph Derndorfer co-editor, olpcnews url: www.olpcnews.com e-mail: christ...@olpcnews.com ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] How to copy something from the Journal to a pendrive?
Okay, we just discovered that it's apparently just my pendrive (8GB Cruzer) that's not showing up on the details view's copy-button palette. One way or another I think it would make sense to also offer such a copy option on the Journal list view itself as else copying multiple files from the Journal to a pendrive would be royal pain. Christoph On Tue, Jul 27, 2010 at 2:52 PM, Christoph Derndorfer christoph.derndor...@gmail.com wrote: Hi, Bernie just brought my XO-1 back from the dark ages (I was using 802) by passing me a pen-drive with build 300py (F11 + Sugar 0.88 if I'm not mistaken). Now playing around with it I realized that there was no menu option to copy something from the Journal onto a pendrive. Neither the popup menu over a Journal entry itself nor the copy-button on the details view offers such an option. Am I mistaken or did such an option exist in earlier builds? Thanks to the Uruguayan Sugar-devs in the room I learned that I could drag'n'drop a Journal entry right onto the pendrive icon. This surprised me quite a bit since I believe it's the first time I've seen drag'n'drop used in Sugar. Anyway, I'm thinking that adding a copy-to-pendrive option in the normal Journal menus (both the details view as well as the normal popup menu) would make sense since it's consistant with the rest of Sugar whereas drag'n'drop isn't really IMHO. Please let me know what you think. Thanks, Christoph -- Christoph Derndorfer co-editor, olpcnews url: www.olpcnews.com e-mail: christ...@olpcnews.com -- Christoph Derndorfer co-editor, olpcnews url: www.olpcnews.com e-mail: christ...@olpcnews.com ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel