Re: [sugar] Image Viewer Activity
On Wed, Oct 1, 2008 at 9:22 AM, Gary C Martin [EMAIL PROTECTED] wrote: On 29 Sep 2008, at 17:13, Sayamindu Dasgupta wrote: A screenshot is at http://dev.laptop.org/~sayamindu/Captura%20de%20pantalla_1.png The code lives in Git: http://dev.laptop.org/git?p=users/sayamindu/imageviewer-activity;a=tree Comments, patches and brickbats are welcome :-). No brickbats (or patches), but just wanted to report one (very minor) Image Viewer misbehaviour. I noticed today that if I open an image, and then rename it within Image Viewer, it generates one of those Keep Error warnings about loosing all changes. The new name does actually change correctly. This error seems to crop up on a number of activities so I'm not sure if it's a Sugar bug or some common issue catching out Activity authors. Yeah - I'm waiting for Tomeu's new datastore to land in sugar-jhbuild, so that I can fix that. Regards, --Gary P.S. No one seems to have raised any issues yet with the icon sample I posted, so if you're happy with it, and I get no other feedback, I'll turn it into a SVG at end of tomorrow (though I may also try a version with a looking-glass partially over the image frame). The one you sent looked quite nice enough. I think that should be enough for now :-D Thanks a lot, Sayamindu -- Sayamindu Dasgupta [http://sayamindu.randomink.org/ramblings] ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar
Re: [sugar] Image Viewer Activity
Sayamindu Dasgupta [EMAIL PROTECTED] writes: I was a little annoyed with having to start up Browse to view images, and since I had done a small toy PyGTK based image viewer widget sometime back, I decided to put that in an activity over the weekend. You can download it from Nice! Here is a fr.po file for it. ImageViewer.fr.po Description: Binary data -- Bastien ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar
Re: [sugar] Image Viewer Activity
On 29 Sep 2008, at 19:49, Bert Freudenberg wrote: Am 29.09.2008 um 11:46 schrieb Sayamindu Dasgupta: On Mon, Sep 29, 2008 at 11:57 PM, Gary C Martin [EMAIL PROTECTED] wrote: On 29 Sep 2008, at 17:13, Sayamindu Dasgupta wrote: A screenshot is at http://dev.laptop.org/~sayamindu/Captura%20de%20pantalla_1.png The code lives in Git: http://dev.laptop.org/git?p=users/sayamindu/imageviewer-activity;a=tree Comments, patches and brickbats are welcome :-). Thanks, Sayamindu Hey, fantastic, thanks! :-) --Gary P.S. Any hints on changing the default activity that takes charge of a mime type? No clue on how to set the default activity associated with a mimetype :-(. If anyone has any ideas, please let me know :-). /usr/share/sugar/data/mime.defaults Thanks Bert, that trick works a treat. I guess this needs to be exposed at some future point in the Control Panel UI, or at least something that can be over-ridden by a local deployment with a customisation key. Imave viewing workflow with the Journal just got a whole bunch smoother! --Gary P.S. Sayamindu, want an SVG icon to go with it? Or do you have something planned? I was thinking just a rectangular picture frame with a very simple mountain/sun/cloud type thing. ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar
Re: [sugar] Image Viewer Activity
On Tue, Sep 30, 2008 at 12:19 AM, Bert Freudenberg [EMAIL PROTECTED] wrote: Am 29.09.2008 um 11:46 schrieb Sayamindu Dasgupta: On Mon, Sep 29, 2008 at 11:57 PM, Gary C Martin [EMAIL PROTECTED] wrote: On 29 Sep 2008, at 17:13, Sayamindu Dasgupta wrote: Hello, I was a little annoyed with having to start up Browse to view images, and since I had done a small toy PyGTK based image viewer widget sometime back, I decided to put that in an activity over the weekend. You can download it from http://dev.laptop.org/~sayamindu/bundles/imageviewer/ ImageViewer-1.xo It can zoom and rotate images. However, it cannot put anything in the journal, since a workaround for #8155 would mean eating up a lot of storage space (as I would have to create copies of the images for each journal entry). A screenshot is at http://dev.laptop.org/~sayamindu/Captura%20de%20pantalla_1.png The code lives in Git: http://dev.laptop.org/git?p=users/sayamindu/imageviewer-activity;a=tree Comments, patches and brickbats are welcome :-). Thanks, Sayamindu Hey, fantastic, thanks! :-) --Gary P.S. Any hints on changing the default activity that takes charge of a mime type? No clue on how to set the default activity associated with a mimetype :-(. If anyone has any ideas, please let me know :-). /usr/share/sugar/data/mime.defaults - Bert - Ooh - thanks for that :-). I'll try to propose this activity for inclusion into Fructose and if it goes in, I'll try to convince people to change this file ;-). -sdg- -- Sayamindu Dasgupta [http://sayamindu.randomink.org/ramblings] ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar
Re: [sugar] Image Viewer Activity
On 30 Sep 2008, at 15:58, Sayamindu Dasgupta wrote: On Tue, Sep 30, 2008 at 7:57 PM, Gary C Martin [EMAIL PROTECTED] wrote: P.S. Sayamindu, want an SVG icon to go with it? Or do you have something planned? I was thinking just a rectangular picture frame with a very simple mountain/sun/cloud type thing. Yeah - an SVG icon would be awesome. My inkscape skills are horrible, so I did not dare try to modify the icon of the the helloworld activity ;-). -sdg- Just mock-ups for review, these are not svg format yet (I usually hand code the svg to keep cruft to a minimum). Any strong opinions out there regarding the design? One thing I am on the fence about is inclusion of a spy-glass, hanging over the bottom right of frame. That would say more 'viewer activity' and less 'image file', which is where this is closer to just now. However, adding a spy-glass would make the icon more fussy and require I ditch most of the picture detail (ending up more of a rectangle + spy-glass and maybe corner of a mountain/sun/ something). inline: image-viewer-scratch-work-small.gifinline: image-viewer-scratch-work-medium.gifinline: image-viewer-scratch-work-large.gif Feedback welcome (as I don't see much Sugar related visual design discussed going on around here). --Gary ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar
Re: [sugar] Image Viewer Activity
On 29 Sep 2008, at 17:13, Sayamindu Dasgupta wrote: A screenshot is at http://dev.laptop.org/~sayamindu/Captura%20de%20pantalla_1.png The code lives in Git: http://dev.laptop.org/git?p=users/sayamindu/imageviewer- activity;a=tree Comments, patches and brickbats are welcome :-). No brickbats (or patches), but just wanted to report one (very minor) Image Viewer misbehaviour. I noticed today that if I open an image, and then rename it within Image Viewer, it generates one of those Keep Error warnings about loosing all changes. The new name does actually change correctly. This error seems to crop up on a number of activities so I'm not sure if it's a Sugar bug or some common issue catching out Activity authors. Regards, --Gary P.S. No one seems to have raised any issues yet with the icon sample I posted, so if you're happy with it, and I get no other feedback, I'll turn it into a SVG at end of tomorrow (though I may also try a version with a looking-glass partially over the image frame). ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar
Re: [sugar] Image Viewer Activity
On Mon, Sep 29, 2008 at 6:13 PM, Sayamindu Dasgupta [EMAIL PROTECTED] wrote: Hello, I was a little annoyed with having to start up Browse to view images, and since I had done a small toy PyGTK based image viewer widget sometime back, I decided to put that in an activity over the weekend. You can download it from http://dev.laptop.org/~sayamindu/bundles/imageviewer/ImageViewer-1.xo It can zoom and rotate images. However, it cannot put anything in the journal, since a workaround for #8155 would mean eating up a lot of storage space (as I would have to create copies of the images for each journal entry). A screenshot is at http://dev.laptop.org/~sayamindu/Captura%20de%20pantalla_1.png The code lives in Git: http://dev.laptop.org/git?p=users/sayamindu/imageviewer-activity;a=tree Comments, patches and brickbats are welcome :-). Looks very nice to me, congrats ;) About #8155 and custom metadata properties (peeked at the code), the new DS should fix them. Hope we can land it this week and then you'll be able to play with it in jhbuild. Thanks, Tomeu ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar
Re: [sugar] Image Viewer Activity
On 29 Sep 2008, at 17:13, Sayamindu Dasgupta wrote: Hello, I was a little annoyed with having to start up Browse to view images, and since I had done a small toy PyGTK based image viewer widget sometime back, I decided to put that in an activity over the weekend. You can download it from http://dev.laptop.org/~sayamindu/bundles/imageviewer/ImageViewer-1.xo It can zoom and rotate images. However, it cannot put anything in the journal, since a workaround for #8155 would mean eating up a lot of storage space (as I would have to create copies of the images for each journal entry). A screenshot is at http://dev.laptop.org/~sayamindu/Captura%20de%20pantalla_1.png The code lives in Git: http://dev.laptop.org/git?p=users/sayamindu/imageviewer- activity;a=tree Comments, patches and brickbats are welcome :-). Thanks, Sayamindu Hey, fantastic, thanks! :-) --Gary P.S. Any hints on changing the default activity that takes charge of a mime type? ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar
Re: [sugar] Image Viewer Activity
On Mon, Sep 29, 2008 at 11:57 PM, Gary C Martin [EMAIL PROTECTED] wrote: On 29 Sep 2008, at 17:13, Sayamindu Dasgupta wrote: Hello, I was a little annoyed with having to start up Browse to view images, and since I had done a small toy PyGTK based image viewer widget sometime back, I decided to put that in an activity over the weekend. You can download it from http://dev.laptop.org/~sayamindu/bundles/imageviewer/ImageViewer-1.xo It can zoom and rotate images. However, it cannot put anything in the journal, since a workaround for #8155 would mean eating up a lot of storage space (as I would have to create copies of the images for each journal entry). A screenshot is at http://dev.laptop.org/~sayamindu/Captura%20de%20pantalla_1.png The code lives in Git: http://dev.laptop.org/git?p=users/sayamindu/imageviewer-activity;a=tree Comments, patches and brickbats are welcome :-). Thanks, Sayamindu Hey, fantastic, thanks! :-) --Gary P.S. Any hints on changing the default activity that takes charge of a mime type? No clue on how to set the default activity associated with a mimetype :-(. If anyone has any ideas, please let me know :-). Cheers, Sayamindu -- Sayamindu Dasgupta [http://sayamindu.randomink.org/ramblings] ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar
Re: [sugar] Image Viewer Activity
Am 29.09.2008 um 11:46 schrieb Sayamindu Dasgupta: On Mon, Sep 29, 2008 at 11:57 PM, Gary C Martin [EMAIL PROTECTED] wrote: On 29 Sep 2008, at 17:13, Sayamindu Dasgupta wrote: Hello, I was a little annoyed with having to start up Browse to view images, and since I had done a small toy PyGTK based image viewer widget sometime back, I decided to put that in an activity over the weekend. You can download it from http://dev.laptop.org/~sayamindu/bundles/imageviewer/ ImageViewer-1.xo It can zoom and rotate images. However, it cannot put anything in the journal, since a workaround for #8155 would mean eating up a lot of storage space (as I would have to create copies of the images for each journal entry). A screenshot is at http://dev.laptop.org/~sayamindu/Captura%20de%20pantalla_1.png The code lives in Git: http://dev.laptop.org/git?p=users/sayamindu/imageviewer-activity;a=tree Comments, patches and brickbats are welcome :-). Thanks, Sayamindu Hey, fantastic, thanks! :-) --Gary P.S. Any hints on changing the default activity that takes charge of a mime type? No clue on how to set the default activity associated with a mimetype :-(. If anyone has any ideas, please let me know :-). /usr/share/sugar/data/mime.defaults - Bert - ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar